Examples of PlaceREF


Examples of org.dmd.mvw.tools.mvwgenerator.generated.types.PlaceREF

    /**
     * @return A Place object.
     */
    // org.dmd.dmg.generators.BaseDMWGeneratorNewest.formatSV(BaseDMWGeneratorNewest.java:1252)
    public Place getDefaultPlace(){
        PlaceREF ref = ((WebApplicationDMO) core).getDefaultPlace();
        if (ref == null)
            return(null);
       
        if (ref.getObject() == null)
            return(null);
       
        return((Place)ref.getObject().getContainer());
    }
View Full Code Here

Examples of org.dmd.mvw.tools.mvwgenerator.generated.types.PlaceREF

        super(ai);
    }

    @Override
    protected PlaceREF getNewHelper(){
        return(new PlaceREF());
    }
View Full Code Here

Examples of org.dmd.mvw.tools.mvwgenerator.generated.types.PlaceREF

        return(false);
    }

    @Override
    protected PlaceREF typeCheck(Object value) throws DmcValueException {
        PlaceREF rc = null;

        if (value instanceof PlaceREF)
            rc = (PlaceREF)value;
        else if (value instanceof PlaceDMO)
            rc = new PlaceREF((PlaceDMO)value);
        else if (value instanceof CamelCaseName)
            rc = new PlaceREF((CamelCaseName)value);
        else if (value instanceof String)
            rc = new PlaceREF((String)value);
        else
            throw(new DmcValueException("Object of class: " + value.getClass().getName() + " passed where object compatible with PlaceREF, PlaceDMO or String expected."));

        return(rc);
    }
View Full Code Here

Examples of org.dmd.mvw.tools.mvwgenerator.generated.types.PlaceREF

        value.serializeIt(dos);
    }

    @Override
    public PlaceREF deserializeValue(DmcInputStreamIF dis) throws Exception {
        PlaceREF rc = new PlaceREF();
        rc.deserializeIt(dis);
        return(rc);
    }
View Full Code Here

Examples of org.dmd.mvw.tools.mvwgenerator.generated.types.PlaceREF

        return(rc);
    }

    @Override
    public PlaceREF cloneValue(PlaceREF value){
        return(new PlaceREF(value));
    }
View Full Code Here

Examples of org.dmd.mvw.tools.mvwgenerator.generated.types.PlaceREF

    /**
     * @return A Place object.
     */
    // org.dmd.dmg.generators.BaseDMWGeneratorNewest.formatSV(BaseDMWGeneratorNewest.java:1252)
    public Place getParentPlace(){
        PlaceREF ref = ((SubPlaceDMO) core).getParentPlace();
        if (ref == null)
            return(null);
       
        if (ref.getObject() == null)
            return(null);
       
        return((Place)ref.getObject().getContainer());
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.