Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

cl::utfsm::acs::types::AcsComplexType Class Reference

Inheritance diagram for cl::utfsm::acs::types::AcsComplexType:

Inheritance graph
[legend]
Collaboration diagram for cl::utfsm::acs::types::AcsComplexType:

Collaboration graph
[legend]
List of all members.

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< AcsAttributeattrs

Detailed Description

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.
Author:
Mauricio Araya (maray[at]inf.utfsm.cl)


Constructor & Destructor Documentation

cl::utfsm::acs::types::AcsComplexType::AcsComplexType String  namespace,
String  name,
String  documentation
[inline]
 

Fill the common AcsType values. Also initialize the ArrayList.

Parameters:
namespace Every type has a namespace
name The name of the type definition
documentation Some information of the type


Member Function Documentation

void cl::utfsm::acs::types::AcsComplexType::addAttr AcsAttribute  attr  )  [inline]
 

Add an Attribute to the Arraylist.

Parameters:
attr The attribute to add

ArrayList<String> cl::utfsm::acs::types::AcsComplexType::getAttrNames  )  [inline]
 

Get an Arraylist of the attributes names.

Returns:
An Arraylist of attributes names

AcsSimpleType cl::utfsm::acs::types::AcsComplexType::getAttrType String  myName  )  [inline]
 

Return an attribute type by name.

Parameters:
myName the name of the attribute
Returns:
An attribute type, and null if myName was not found.

String cl::utfsm::acs::types::AcsComplexType::getAttrUse String  myName  )  [inline]
 

Return the usage information of an attribute

Parameters:
myName the name of the attribute
Returns:
the string with the usage information, and null if myName was not found.


Member Data Documentation

ArrayList<AcsAttribute> cl::utfsm::acs::types::AcsComplexType::attrs
 

An Arraylist with the attributes.


The documentation for this class was generated from the following file:
Generated on Thu Apr 30 03:09:55 2009 for ACS Java API by doxygen 1.3.8