Package org.dmd.dms.generated.types

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


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


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

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

     * @return An Iterator of Long objects.
     */
    @SuppressWarnings("unchecked")
    // org.dmd.dms.util.GenUtility.formatMV(GenUtility.java:1102)
    public Iterator<Long> getTsLong(){
        DmcTypeLongSET attr = (DmcTypeLongSET) get(DmtDMSAG.__tsLong);
        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 getNthTsLong(int i){
        DmcTypeLongSET attr = (DmcTypeLongSET) get(DmtDMSAG.__tsLong);
        if (attr == null)
            return(null);

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

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

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

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

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

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

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

TOP

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

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.