Package org.dmd.mvw.tools.mvwgenerator.generated.types

Examples of org.dmd.mvw.tools.mvwgenerator.generated.types.DmcTypeDisplayDataSpecMV


     * @return An Iterator of DisplayDataSpec objects.
     */
    @SuppressWarnings("unchecked")
    // org.dmd.dms.util.GenUtility.formatMV(GenUtility.java:1102)
    public Iterator<DisplayDataSpec> getDisplayDMO(){
        DmcTypeDisplayDataSpecMV attr = (DmcTypeDisplayDataSpecMV) get(MvwDMSAG.__displayDMO);
        if (attr == null)
            return( ((List<DisplayDataSpec>) Collections.EMPTY_LIST).iterator());

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


    /**
     * @return The nth DisplayDataSpec value.
     */
    // org.dmd.dms.util.GenUtility.formatMV(GenUtility.java:1114)
    public DisplayDataSpec getNthDisplayDMO(int i){
        DmcTypeDisplayDataSpecMV attr = (DmcTypeDisplayDataSpecMV) get(MvwDMSAG.__displayDMO);
        if (attr == null)
            return(null);

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

     */
    // org.dmd.dms.util.GenUtility.formatMV(GenUtility.java:1128)
    public DmcAttribute<?> addDisplayDMO(DisplayDataSpec value) {
        DmcAttribute<?> attr = get(MvwDMSAG.__displayDMO);
        if (attr == null)
            attr = new DmcTypeDisplayDataSpecMV(MvwDMSAG.__displayDMO);
       
        try{
            setLastValue(attr.add(value));
            add(MvwDMSAG.__displayDMO,attr);
        }
View Full Code Here

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

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

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

TOP

Related Classes of org.dmd.mvw.tools.mvwgenerator.generated.types.DmcTypeDisplayDataSpecMV

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.