Examples of DmcTypeObjWithRefsREFMV


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

    // org.dmd.dms.util.GenUtility.formatMV(GenUtility.java:1291)
    public DmcAttribute<?> delObjRefMV(Object value){
        DmcAttribute<?> attr = get(DmtDMSAG.__objRefMV);
       
        if ( (attr == null) && (getModifier()!= null))
            delFromEmptyAttribute(new DmcTypeObjWithRefsREFMV(DmtDMSAG.__objRefMV), value);
        else
            attr = del(DmtDMSAG.__objRefMV, value);
       
        return(attr);
    }
View Full Code Here

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

    /**
     * @return The nth ObjWithRefs value and attempt lazy resolution if it's on.
     */
    // org.dmd.dms.util.GenUtility.formatMV(GenUtility.java:1028)
    public ObjWithRefsREF getNthIndexedObjRef(int i){
        DmcTypeObjWithRefsREFMV attr = (DmcTypeObjWithRefsREFMV) get(DmtDMSAG.__indexedObjRef);
        if (attr == null)
            return(null);

        if (DmcOmni.instance().lazyResolution()){
            if (attr.doLazyResolution(this)){
                rem(attr.getAttributeInfo());
                return(null);
            }
        }

        return(attr.getMVnth(i));
    }
View Full Code Here

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

    /**
     * @return The nth ObjWithRefs value without attempting lazy resolution.
     */
    // org.dmd.dms.util.GenUtility.formatMV(GenUtility.java:1047)
    public ObjWithRefsREF getNthIndexedObjRefREF(int i){
        DmcTypeObjWithRefsREFMV attr = (DmcTypeObjWithRefsREFMV) get(DmtDMSAG.__indexedObjRef);
        if (attr == null)
            return(null);

        return(attr.getMVnth(i));
    }
View Full Code Here

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

                    nthNullFromEmptyAttribute(DmtDMSAG.__indexedObjRef, index);
                    return(null);
                }
            }
            else
                attr = new DmcTypeObjWithRefsREFMV(DmtDMSAG.__indexedObjRef);
        }
       
        try{
            ObjWithRefsREF previous = (ObjWithRefsREF) attr.getMVnth(index);
            setLastValue(attr.setMVnth(index, value));
View Full Code Here

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

     */
    // org.dmd.dms.util.GenUtility.formatMV(GenUtility.java:1235)
    public DmcAttribute<?> addIndexedObjRef(Object value) throws DmcValueException {
        DmcAttribute<?> attr = get(DmtDMSAG.__indexedObjRef);
        if (attr == null)
            attr = new DmcTypeObjWithRefsREFMV(DmtDMSAG.__indexedObjRef);
       
        setLastValue(attr.add(value));
        add(DmtDMSAG.__indexedObjRef,attr);
        return(attr);
    }
View Full Code Here

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

    // org.dmd.dms.util.GenUtility.formatMV(GenUtility.java:1291)
    public DmcAttribute<?> delIndexedObjRef(Object value){
        DmcAttribute<?> attr = get(DmtDMSAG.__indexedObjRef);
       
        if ( (attr == null) && (getModifier()!= null))
            delFromEmptyAttribute(new DmcTypeObjWithRefsREFMV(DmtDMSAG.__indexedObjRef), value);
        else
            attr = del(DmtDMSAG.__indexedObjRef, value);
       
        return(attr);
    }
View Full Code Here

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

     * @return An Iterator of ObjWithRefsDMO objects.
     */
    @SuppressWarnings("unchecked")
    // org.dmd.dms.util.GenUtility.formatMV(GenUtility.java:960)
    public Iterator<ObjWithRefsREF> getObjRefMV(){
        DmcTypeObjWithRefsREFMV attr = (DmcTypeObjWithRefsREFMV) get(DmtDMSAG.__objRefMV);
        if (attr == null)
            return( ((List<ObjWithRefsREF>) Collections.EMPTY_LIST).iterator() );

        if (DmcOmni.instance().lazyResolution()){
            if (attr.doLazyResolution(this)){
                rem(attr.getAttributeInfo());
                return( ((List<ObjWithRefsREF>) Collections.EMPTY_LIST).iterator() );
            }
        }

        return(attr.getMV());
    }
View Full Code Here

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

     * @return An Iterator of ObjWithRefsREFs without attempting lazy resolution (if it's turned on).
     */
    @SuppressWarnings("unchecked")
    // org.dmd.dms.util.GenUtility.formatMV(GenUtility.java:980)
    public Iterator<ObjWithRefsREF> getObjRefMVREFs(){
        DmcTypeObjWithRefsREFMV attr = (DmcTypeObjWithRefsREFMV) get(DmtDMSAG.__objRefMV);
        if (attr == null)
            return( ((List<ObjWithRefsREF>) Collections.EMPTY_LIST).iterator() );

        return(attr.getMV());
    }
View Full Code Here

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

     */
    // org.dmd.dms.util.GenUtility.formatMV(GenUtility.java:994)
    public DmcAttribute<?> addObjRefMV(ObjWithRefsDMO value) {
        DmcAttribute<?> attr = get(DmtDMSAG.__objRefMV);
        if (attr == null)
            attr = new DmcTypeObjWithRefsREFMV(DmtDMSAG.__objRefMV);
       
        try{
            setLastValue(attr.add(value));
            add(DmtDMSAG.__objRefMV,attr);
        }
View Full Code Here

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

     */
    // org.dmd.dms.util.GenUtility.formatMV(GenUtility.java:1235)
    public DmcAttribute<?> addObjRefMV(Object value) throws DmcValueException {
        DmcAttribute<?> attr = get(DmtDMSAG.__objRefMV);
        if (attr == null)
            attr = new DmcTypeObjWithRefsREFMV(DmtDMSAG.__objRefMV);
       
        setLastValue(attr.add(value));
        add(DmtDMSAG.__objRefMV,attr);
        return(attr);
    }
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.