Public Member Functions | |
| ComplexObject (AcsComplexType type) | |
| void | setAttributeValue (String name, String value) |
| String | getAttributeValue (String name) |
| SimpleObject | getAttribute (String name) |
| TreeMap< String, SimpleObject > | getAttributes () |
Protected Attributes | |
| AcsComplexType | cType |
| TreeMap< String, SimpleObject > | attributes |
A complex object is a TypedObject that implements AcsComplexType definitions. This means, that has attributes defined in the AcsComplexType implemented here as TreeMaps. Why TreeMaps?, that is a good question, maybe an Arraylist is enought, but currently ErrorBrowserEditor application use TreeMaps for "historical" reasons.
| cl.utfsm.acs.types.ComplexObject.ComplexObject | ( | AcsComplexType | type | ) |
Setup the type, and with it creates the TreeMap entries.
| type | A complex type |
References cl.utfsm.acs.types.ComplexObject.attributes, cl.utfsm.acs.types.ComplexObject.cType, cl.utfsm.acs.types.AcsComplexType.getAttrNames(), cl.utfsm.acs.types.AcsComplexType.getAttrType(), and cl.utfsm.acs.types.TypedObject.setValue().
| SimpleObject cl.utfsm.acs.types.ComplexObject.getAttribute | ( | String | name | ) |
Get an attribute object by name.
| name | the attribute name |
References cl.utfsm.acs.types.ComplexObject.attributes.
| TreeMap<String,SimpleObject> cl.utfsm.acs.types.ComplexObject.getAttributes | ( | ) |
Return the attributes TreeMap.
References cl.utfsm.acs.types.ComplexObject.attributes.
Referenced by cl.utfsm.acs.ebe.util.EbeTableModel.EbeTableModel().
| String cl.utfsm.acs.types.ComplexObject.getAttributeValue | ( | String | name | ) |
Get directly the value of a given attribute.
| name | the attribute name |
References cl.utfsm.acs.types.ComplexObject.attributes, and cl.utfsm.acs.types.TypedObject.getValue().
| void cl.utfsm.acs.types.ComplexObject.setAttributeValue | ( | String | name, | |
| String | value | |||
| ) |
Set an attribute value, by name.
| name | the name of the attribute to setup. | |
| value | the string value to setup. |
References cl.utfsm.acs.types.ComplexObject.attributes, cl.utfsm.acs.types.AcsType.name, cl.utfsm.acs.types.TypedObject.setValue(), and cl.utfsm.acs.types.TypedObject.type.
Referenced by cl.utfsm.acs.ebe.EbeDocument.setDocumentInfo(), and cl.utfsm.acs.ebe.util.MembersTableModel.setValueAt().
TreeMap<String,SimpleObject> cl.utfsm.acs.types.ComplexObject.attributes [protected] |
The attribute TreeMap, that containes SimpleObjects
Referenced by cl.utfsm.acs.types.ComplexObject.ComplexObject(), cl.utfsm.acs.types.ComplexObject.getAttribute(), cl.utfsm.acs.types.ComplexObject.getAttributes(), cl.utfsm.acs.types.ComplexObject.getAttributeValue(), and cl.utfsm.acs.types.ComplexObject.setAttributeValue().
AcsComplexType cl.utfsm.acs.types.ComplexObject.cType [protected] |
The complex type.
Referenced by cl.utfsm.acs.types.ComplexObject.ComplexObject().
1.7.0