Examples of SomeRelation


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

    /**
     * @return The reference to the SomeRelation object at the specified index.
     */
    // org.dmd.dmg.generators.BaseDMWGeneratorNewest.formatMV(BaseDMWGeneratorNewest.java:1873)
    public SomeRelation getNthSomeRelationMVIREF(int index){
        SomeRelation ref = ((TestAbstractExtendedDMO) core).getNthSomeRelationMVIREF(index);
        return(ref);
    }
View Full Code Here

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

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

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

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

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

    /**
     * @return The SomeRelation object at the specified index.
     */
    // org.dmd.dmg.generators.BaseDMWGeneratorNewest.formatMV(BaseDMWGeneratorNewest.java:1827)
    public ObjWithRefs getNthSomeRelationMVI(int index){
        SomeRelation ref = ((ObjWithRefsDMO) core).getNthSomeRelationMVI(index);
        if (ref == null)
            return(null);
       
        if (ref.getObject() == null)
            return(null);
       
        return((ObjWithRefs)ref.getObject().getContainer());
    }
View Full Code Here

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

    /**
     * @return The reference to the SomeRelation object at the specified index.
     */
    // org.dmd.dmg.generators.BaseDMWGeneratorNewest.formatMV(BaseDMWGeneratorNewest.java:1873)
    public SomeRelation getNthSomeRelationMVIREF(int index){
        SomeRelation ref = ((ObjWithRefsDMO) core).getNthSomeRelationMVIREF(index);
        return(ref);
    }
View Full Code Here

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

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

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

            else
                attr = new DmcTypeSomeRelationMV(DmtDMSAG.__someRelationMVI);
        }
       
        try{
            SomeRelation previous = (SomeRelation) attr.getMVnth(index);
            setLastValue(attr.setMVnth(index, value));
            nth(DmtDMSAG.__someRelationMVI,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.SomeRelation

   
    @Override
    // org.dmd.dms.util.GenUtility.dumpSETType(GenUtility.java:2659)
    public SomeRelation add(Object v) throws DmcValueException {
        synchronized(this){
            SomeRelation rc = typeCheck(v);
            if (value == null)
                initValue();
       
            // If false is returned, we didn't modify the set, so return null
            if (!value.add(rc))
View Full Code Here

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

   
    @Override
    // org.dmd.dms.util.GenUtility.dumpSETType(GenUtility.java:2676)
    public SomeRelation del(Object v){
        synchronized(this){
            SomeRelation rc = null;
            if (value == null)
                return(rc);
           
            try {
                rc = typeCheck(v);
View Full Code Here

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

        synchronized(this){
            if (value == null)
                return(false);
           
            try {
                SomeRelation val = typeCheck(v);
                return(value.contains(val));
            } catch (DmcValueException e) {
                return(false);
            }
        }
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.