|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.infoengine.schema.Type
com.infoengine.schema.ComplexType
public class ComplexType
Represents Complex schema. Complex schema contains a list of attributes.
Attribute,
Serialized Form| Constructor Summary | |
|---|---|
ComplexType()
|
|
| Method Summary | |
|---|---|
void |
addAttribute(Attribute a)
Append an attribute to the end of the array of attributes |
Attribute |
getAttribute(java.lang.String name)
Get an attribute by name |
Attribute[] |
getAttributes()
Get the entire array of attributes |
Attribute |
getAttributes(int index)
Get an attribute by index |
void |
removeAttribute(Attribute a)
Remove an attribute from the array of attributes |
void |
setAttributes(Attribute[] attrs)
Set the entire array of attributes |
void |
setAttributes(int index,
Attribute a)
Set the attribute at a specific index. |
| Methods inherited from class com.infoengine.schema.Type |
|---|
addSuperType, getResourceBundle, getSuperType, getSuperTypes, getSuperTypes, getTypeId, setResourceBundle, setSuperTypes, setSuperTypes, setTypeId |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ComplexType()
| Method Detail |
|---|
public void setAttributes(int index,
Attribute a)
index - the index of the attribute to set
a the attribute to setpublic Attribute getAttributes(int index)
index - the index of the attribute to getpublic void setAttributes(Attribute[] attrs)
attrs - the new array of attributespublic Attribute[] getAttributes()
public void addAttribute(Attribute a)
a - the new attributepublic void removeAttribute(Attribute a)
a - the attribute to removepublic Attribute getAttribute(java.lang.String name)
name - the name of the attribute to get
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||