Public Member Functions | |
AcsComplexType (String namespace, String name, String documentation) | |
void | addAttr (AcsAttribute attr) |
ArrayList< String > | getAttrNames () |
AcsSimpleType | getAttrType (String myName) |
String | getAttrUse (String myName) |
Public Attributes | |
ArrayList< AcsAttribute > | attrs |
This is a complex type, because contains an Arraylist with attributes. The main idea of this class is to setup a ComplexType for a complex object with not only a value, but with attributes.
cl.utfsm.acs.types.AcsComplexType.AcsComplexType | ( | String | namespace, | |
String | name, | |||
String | documentation | |||
) |
Fill the common AcsType values. Also initialize the ArrayList.
namespace | Every type has a namespace | |
name | The name of the type definition | |
documentation | Some information of the type |
References cl.utfsm.acs.types.AcsComplexType.attrs.
void cl.utfsm.acs.types.AcsComplexType.addAttr | ( | AcsAttribute | attr | ) |
Add an Attribute to the Arraylist.
attr | The attribute to add |
References cl.utfsm.acs.types.AcsComplexType.attrs.
Referenced by cl.utfsm.acs.ebe.ErrorSchema.fillSchema(), and cl.utfsm.acs.xml.CommonSchema.searchComplexTypes().
ArrayList<String> cl.utfsm.acs.types.AcsComplexType.getAttrNames | ( | ) |
Get an Arraylist of the attributes names.
References cl.utfsm.acs.types.AcsComplexType.attrs.
Referenced by cl.utfsm.acs.types.ComplexObject.ComplexObject().
AcsSimpleType cl.utfsm.acs.types.AcsComplexType.getAttrType | ( | String | myName | ) |
Return an attribute type by name.
myName | the name of the attribute |
References cl.utfsm.acs.types.AcsComplexType.attrs.
Referenced by cl.utfsm.acs.types.ComplexObject.ComplexObject().
String cl.utfsm.acs.types.AcsComplexType.getAttrUse | ( | String | myName | ) |
Return the usage information of an attribute
myName | the name of the attribute |
References cl.utfsm.acs.types.AcsComplexType.attrs.
An Arraylist with the attributes.
Referenced by cl.utfsm.acs.types.AcsComplexType.AcsComplexType(), cl.utfsm.acs.types.AcsComplexType.addAttr(), cl.utfsm.acs.types.AcsComplexType.getAttrNames(), cl.utfsm.acs.types.AcsComplexType.getAttrType(), and cl.utfsm.acs.types.AcsComplexType.getAttrUse().