Examples of DmcTypeSomeRelationMV


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

     * @return An Iterator of SomeRelationDMO objects.
     */
    @SuppressWarnings("unchecked")
    // org.dmd.dms.util.GenUtility.formatMV(GenUtility.java:960)
    public Iterator<SomeRelation> getMvExtendedRef(){
        DmcTypeSomeRelationMV attr = (DmcTypeSomeRelationMV) get(DmtDMSAG.__mvExtendedRef);
        if (attr == null)
            return( ((List<SomeRelation>) Collections.EMPTY_LIST).iterator() );

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

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

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

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

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

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

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

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

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

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

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

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

     * @return An Iterator of SomeRelationDMO objects.
     */
    @SuppressWarnings("unchecked")
    // org.dmd.dms.util.GenUtility.formatMV(GenUtility.java:960)
    public Iterator<SomeRelation> getSomeRelationMV(){
        DmcTypeSomeRelationMV attr = (DmcTypeSomeRelationMV) get(DmtDMSAG.__someRelationMV);
        if (attr == null)
            return( ((List<SomeRelation>) Collections.EMPTY_LIST).iterator() );

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

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

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

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

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

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

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

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

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

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

    // org.dmd.dms.util.GenUtility.formatMV(GenUtility.java:1291)
    public DmcAttribute<?> delSomeRelationMV(Object value){
        DmcAttribute<?> attr = get(DmtDMSAG.__someRelationMV);
       
        if ( (attr == null) && (getModifier()!= null))
            delFromEmptyAttribute(new DmcTypeSomeRelationMV(DmtDMSAG.__someRelationMV), value);
        else
            attr = del(DmtDMSAG.__someRelationMV, value);
       
        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.