Examples of DmcTypeStringToStringMAP


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

     * @return An Iterator of StringToString objects.
     */
    @SuppressWarnings("unchecked")
    // org.dmd.dms.util.GenUtility.formatMAPPED(GenUtility.java:1430)
    public Iterator<StringToString> getHmString(){
        DmcTypeStringToStringMAP attr = (DmcTypeStringToStringMAP) get(DmtDMSAG.__hmString);
        if (attr == null)
            return( ((List<StringToString>) Collections.EMPTY_LIST).iterator());

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

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

     * @param key The key of the value you want.
     * @return The StringToString associated with the specified key.
     */
    // org.dmd.dms.util.GenUtility.formatMAPPED(GenUtility.java:1462)
    public StringToString getHmString(Object key){
        DmcTypeStringToStringMAP attr = (DmcTypeStringToStringMAP) get(DmtDMSAG.__hmString);
        if (attr == null)
            return(null);

        return(attr.getByKey(key));
    }
View Full Code Here

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

     */
    // org.dmd.dms.util.GenUtility.formatMAPPED(GenUtility.java:1500)
    public DmcAttribute<?> addHmString(Object value) throws DmcValueException {
        DmcAttribute<?> attr = get(DmtDMSAG.__hmString);
        if (attr == null)
            attr = new DmcTypeStringToStringMAP(DmtDMSAG.__hmString);
       
        setLastValue(attr.add(value));
        add(DmtDMSAG.__hmString,attr);
        return(attr);
    }
View Full Code Here

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

     */
    // org.dmd.dms.util.GenUtility.formatMAPPED(GenUtility.java:1537)
    public DmcAttribute<?> addHmString(StringToString value) {
        DmcAttribute<?> attr = get(DmtDMSAG.__hmString);
        if (attr == null)
            attr = new DmcTypeStringToStringMAP(DmtDMSAG.__hmString);
       
        try{
            setLastValue(attr.add(value));
            add(DmtDMSAG.__hmString,attr);
        }
View Full Code Here

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

    // org.dmd.dms.util.GenUtility.formatMAPPED(GenUtility.java:1617)
    public DmcAttribute<?> delHmString(Object key){
        DmcAttribute<?> attr = get(DmtDMSAG.__hmString);
       
        if ( (attr == null) && (getModifier()!= null))
            delFromEmptyAttribute(new DmcTypeStringToStringMAP(DmtDMSAG.__hmString), key);
        if (attr == null)
            return(null);
       
        attr = del(DmtDMSAG.__hmString, key);
       
View Full Code Here

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

    // org.dmd.dms.util.GenUtility.formatMAPPED(GenUtility.java:1635)
    public DmcAttribute<?> delHmString(String key) {
        DmcAttribute<?> attr = get(DmtDMSAG.__hmString);
       
        if ( (attr == null) && (getModifier()!= null))
            delFromEmptyAttribute(new DmcTypeStringToStringMAP(DmtDMSAG.__hmString), key);
        if (attr == null)
            return(null);
       
        attr = del(DmtDMSAG.__hmString, key);
       
View Full Code Here

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

     * @return An Iterator of StringToString objects.
     */
    @SuppressWarnings("unchecked")
    // org.dmd.dms.util.GenUtility.formatMAPPED(GenUtility.java:1430)
    public Iterator<StringToString> getTmString(){
        DmcTypeStringToStringMAP attr = (DmcTypeStringToStringMAP) get(DmtDMSAG.__tmString);
        if (attr == null)
            return( ((List<StringToString>) Collections.EMPTY_LIST).iterator());

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

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

     * @param key The key of the value you want.
     * @return The StringToString associated with the specified key.
     */
    // org.dmd.dms.util.GenUtility.formatMAPPED(GenUtility.java:1462)
    public StringToString getTmString(Object key){
        DmcTypeStringToStringMAP attr = (DmcTypeStringToStringMAP) get(DmtDMSAG.__tmString);
        if (attr == null)
            return(null);

        return(attr.getByKey(key));
    }
View Full Code Here

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

    /**
     * @return The first key of the map.
     */
    // org.dmd.dms.util.GenUtility.formatMAPPED(GenUtility.java:1482)
    public String getTmStringFirstKey(){
        DmcTypeStringToStringMAP attr = (DmcTypeStringToStringMAP) get(DmtDMSAG.__tmString);
        if (attr == null)
            return(null);

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

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

     */
    // org.dmd.dms.util.GenUtility.formatMAPPED(GenUtility.java:1500)
    public DmcAttribute<?> addTmString(Object value) throws DmcValueException {
        DmcAttribute<?> attr = get(DmtDMSAG.__tmString);
        if (attr == null)
            attr = new DmcTypeStringToStringMAP(DmtDMSAG.__tmString);
       
        setLastValue(attr.add(value));
        add(DmtDMSAG.__tmString,attr);
        return(attr);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.