Package org.dmd.dms.generated.types

Examples of org.dmd.dms.generated.types.DmcTypeLongMV


     * @return An Iterator of Long objects.
     */
    @SuppressWarnings("unchecked")
    // org.dmd.dms.util.GenUtility.formatMV(GenUtility.java:1102)
    public Iterator<Long> getMvLong(){
        DmcTypeLongMV attr = (DmcTypeLongMV) get(DmtDMSAG.__mvLong);
        if (attr == null)
            return( ((List<Long>) Collections.EMPTY_LIST).iterator());

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


    /**
     * @return The nth Long value.
     */
    // org.dmd.dms.util.GenUtility.formatMV(GenUtility.java:1114)
    public Long getNthMvLong(int i){
        DmcTypeLongMV attr = (DmcTypeLongMV) get(DmtDMSAG.__mvLong);
        if (attr == null)
            return(null);

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

     */
    // org.dmd.dms.util.GenUtility.formatMV(GenUtility.java:1128)
    public DmcAttribute<?> addMvLong(Long value) {
        DmcAttribute<?> attr = get(DmtDMSAG.__mvLong);
        if (attr == null)
            attr = new DmcTypeLongMV(DmtDMSAG.__mvLong);
       
        try{
            setLastValue(attr.add(value));
            add(DmtDMSAG.__mvLong,attr);
        }
View Full Code Here

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

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

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

TOP

Related Classes of org.dmd.dms.generated.types.DmcTypeLongMV

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.