Package org.dmd.dms.generated.types

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


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

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


    /**
     * @return The nth Integer value.
     */
    // org.dmd.dms.util.GenUtility.formatMV(GenUtility.java:1114)
    public Integer getNthHsInteger(int i){
        DmcTypeIntegerSET attr = (DmcTypeIntegerSET) get(DmtDMSAG.__hsInteger);
        if (attr == null)
            return(null);

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

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

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

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

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

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

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

    /**
     * @return The nth Integer value.
     */
    // org.dmd.dms.util.GenUtility.formatMV(GenUtility.java:1114)
    public Integer getNthTsInteger(int i){
        DmcTypeIntegerSET attr = (DmcTypeIntegerSET) get(DmtDMSAG.__tsInteger);
        if (attr == null)
            return(null);

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

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

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

TOP

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

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.