Package org.dmd.dmg.generated.types

Examples of org.dmd.dmg.generated.types.GenerationContextREF


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


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

        super(ai);
    }

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

        return(false);
    }

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

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

        return(rc);
    }
View Full Code Here

        value.serializeIt(dos);
    }

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

        return(rc);
    }

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

TOP

Related Classes of org.dmd.dmg.generated.types.GenerationContextREF

Copyright © 2018 www.massapicom. 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.