Package org.dmd.dms.generated.types

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


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

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


    /**
     * @return The nth Double value.
     */
    // org.dmd.dms.util.GenUtility.formatMV(GenUtility.java:1114)
    public Double getNthHsDouble(int i){
        DmcTypeDoubleSET attr = (DmcTypeDoubleSET) get(DmtDMSAG.__hsDouble);
        if (attr == null)
            return(null);

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

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

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

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

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

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

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

    /**
     * @return The nth Double value.
     */
    // org.dmd.dms.util.GenUtility.formatMV(GenUtility.java:1114)
    public Double getNthTsDouble(int i){
        DmcTypeDoubleSET attr = (DmcTypeDoubleSET) get(DmtDMSAG.__tsDouble);
        if (attr == null)
            return(null);

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

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

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

TOP

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

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.