Examples of ObjWithRefsREF


Examples of org.dmd.dmt.shared.generated.types.ObjWithRefsREF

        return(false);
    }

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

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

        return(rc);
    }
View Full Code Here

Examples of org.dmd.dmt.shared.generated.types.ObjWithRefsREF

        value.serializeIt(dos);
    }

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

Examples of org.dmd.dmt.shared.generated.types.ObjWithRefsREF

        return(rc);
    }

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

Examples of org.dmd.dmt.shared.generated.types.ObjWithRefsREF

            else
                attr = new DmcTypeObjWithRefsREFMV(DmtDMSAG.__mvIdxNamedObj);
        }
       
        try{
            ObjWithRefsREF previous = (ObjWithRefsREF) attr.getMVnth(index);
            setLastValue(attr.setMVnth(index, value));
            nth(DmtDMSAG.__mvIdxNamedObj,index ,attr,previous);
        }
        catch(DmcValueException ex){
            throw(new IllegalStateException("The type specific setNth() method shouldn't throw exceptions!",ex));
View Full Code Here

Examples of org.dmd.dmt.shared.generated.types.ObjWithRefsREF

            else
                attr = new DmcTypeObjWithRefsREFMV(DmtDMSAG.__mvIdxNamedObj);
        }
       
        try{
            ObjWithRefsREF previous = (ObjWithRefsREF) attr.getMVnth(index);
            setLastValue(attr.setMVnth(index, value));
            nth(DmtDMSAG.__mvIdxNamedObj,index ,attr,previous);
        }
        catch(DmcValueException ex){
            throw(new IllegalStateException("The type specific setNth() method shouldn't throw exceptions!",ex));
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.