Package org.dmd.dmc.types

Examples of org.dmd.dmc.types.StringName


        return(new BaseObjREF());
    }

    @Override
    protected StringName getNewName(){
        return(new StringName());
    }
View Full Code Here


   
    @Override
    // org.dmd.dms.util.GenUtility.dumpSETType(GenUtility.java:2659)
    public StringName add(Object v) throws DmcValueException {
        synchronized(this){
            StringName rc = typeCheck(v);
            if (value == null)
                initValue();
       
            // If false is returned, we didn't modify the set, so return null
            if (!value.add(rc))
View Full Code Here

   
    @Override
    // org.dmd.dms.util.GenUtility.dumpSETType(GenUtility.java:2676)
    public StringName del(Object v){
        synchronized(this){
            StringName rc = null;
            if (value == null)
                return(rc);
           
            try {
                rc = typeCheck(v);
View Full Code Here

        synchronized(this){
            if (value == null)
                return(false);
           
            try {
                StringName val = typeCheck(v);
                return(value.contains(val));
            } catch (DmcValueException e) {
                return(false);
            }
        }
View Full Code Here

            rc = new SchemaDefinitionREF();
            rc.setName((DmcObjectName)value);
        }
        else if (value instanceof String){
            rc = new SchemaDefinitionREF();
            rc.setName(new StringName((String)value));
        }
        else
            throw(new DmcValueException("Object of class:" + value.getClass().getName() + " passed where a SchemaDefinitionREF/DMO or DmcObjectName expected."));
        return(rc);
    }
View Full Code Here

        return( new SchemaDefinitionREF());
    }

    @Override
    protected StringName getNewName(){
        return( new StringName());
    }
View Full Code Here

        return(false);
    }

    // org.dmd.dms.util.DmoFormatter.getAccessFunctions(DmoFormatter.java:776)
    public int hashCode(){
        StringName objn = getObjectName();
        if (objn == null)
            return(0);
       
        return(objn.hashCode());
    }
View Full Code Here

        return(new ActifactGeneratorREF());
    }

    @Override
    protected StringName getNewName(){
        return(new StringName());
    }
View Full Code Here

    public ActifactGeneratorREF add(Object v) throws DmcValueException {
        synchronized(this){
            ActifactGeneratorREF newval = typeCheck(v);
            if (value == null)
                initValue();
            StringName key = (StringName)((DmcMappedAttributeIF)newval).getKey();
            ActifactGeneratorREF oldval = value.put(key,newval);
           
            if (oldval != null){
                // We had a value with this key, ensure that the value actually changed
                if (oldval.valuesAreEqual(newval))
View Full Code Here

        return(false);
    }

    // org.dmd.dms.util.DmoFormatter.getAccessFunctions(DmoFormatter.java:776)
    public int hashCode(){
        StringName objn = getObjectName();
        if (objn == null)
            return(0);
       
        return(objn.hashCode());
    }
View Full Code Here

TOP

Related Classes of org.dmd.dmc.types.StringName

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.