Public Member Functions | |
TypedObject () | |
TypedObject (AcsType type) | |
String | getTypeNamespace () |
String | getTypeDocumentation () |
String | getTypeName () |
String | getValue () |
void | setValue (String value) |
String | toString () |
Protected Attributes | |
AcsType | type |
String | value |
An abstract class that defines an ACS XML object from a AcsType. If an object is a typed object, then a value, a type, a documentation, and a namespace are associated to the object. Also, this class defines the toString() method, so any object will have an easy way to get the value.
cl.utfsm.acs.types.TypedObject.TypedObject | ( | ) |
Constructor with no operations (unuseful?)
cl.utfsm.acs.types.TypedObject.TypedObject | ( | AcsType | type | ) |
Constructor that setup the type.
String cl.utfsm.acs.types.TypedObject.getTypeDocumentation | ( | ) |
Return the documentation string.
References cl.utfsm.acs.types.AcsType.documentation, and cl.utfsm.acs.types.TypedObject.type.
String cl.utfsm.acs.types.TypedObject.getTypeName | ( | ) |
Return the typename of the type.
References cl.utfsm.acs.types.AcsType.name, and cl.utfsm.acs.types.TypedObject.type.
String cl.utfsm.acs.types.TypedObject.getTypeNamespace | ( | ) |
Return the namespace of the type
References cl.utfsm.acs.types.TypedObject.type.
String cl.utfsm.acs.types.TypedObject.getValue | ( | ) |
Return the current value of the object.
References cl.utfsm.acs.types.TypedObject.value.
Referenced by cl.utfsm.acs.types.ComplexObject.getAttributeValue(), cl.utfsm.acs.ebe.EbeDocumentManager.loadDocument(), cl.utfsm.acs.ebe.EbeDocumentManager.newDocument(), cl.utfsm.acs.ebe.Error.putMember(), cl.utfsm.acs.ebe.EbeDocument.putNode(), cl.utfsm.acs.ebe.util.MembersTableModel.setValueAt(), and cl.utfsm.acs.ebe.util.EbeTableModel.setValueAt().
void cl.utfsm.acs.types.TypedObject.setValue | ( | String | value | ) |
Setup the value of the Object
value | the string value of the object |
Referenced by cl.utfsm.acs.types.ComplexObject.ComplexObject(), cl.utfsm.acs.ebe.EbeDocumentManager.newDocument(), cl.utfsm.acs.types.ComplexObject.setAttributeValue(), cl.utfsm.acs.ebe.util.MembersTableModel.setValueAt(), and cl.utfsm.acs.ebe.util.EbeTableModel.setValueAt().
String cl.utfsm.acs.types.TypedObject.toString | ( | ) |
Return the current value of the object.
References cl.utfsm.acs.types.TypedObject.value.
AcsType cl.utfsm.acs.types.TypedObject.type [protected] |
The object type reference
Referenced by cl.utfsm.acs.types.TypedObject.getTypeDocumentation(), cl.utfsm.acs.types.TypedObject.getTypeName(), cl.utfsm.acs.types.TypedObject.getTypeNamespace(), and cl.utfsm.acs.types.ComplexObject.setAttributeValue().
String cl.utfsm.acs.types.TypedObject.value [protected] |
The current value of the object
Referenced by cl.utfsm.acs.types.TypedObject.getValue(), and cl.utfsm.acs.types.TypedObject.toString().