|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectuk.ac.ic.doc.automed.wrappers.xsdomobject.XSDOMObject
uk.ac.ic.doc.automed.wrappers.xsdomobject.ComplexType
public class ComplexType
Define the internal representation for an XMLSchema complexType
| Field Summary |
|---|
| Fields inherited from class uk.ac.ic.doc.automed.wrappers.xsdomobject.XSDOMObject |
|---|
icon, keyref, maxOccurs, minOccurs, name, parent, required, so, type |
| Constructor Summary | |
|---|---|
ComplexType(java.lang.String name)
Creates a new instance of ComplexType |
|
| Method Summary | |
|---|---|
void |
addChild(java.util.ArrayList list)
Add a list of child elements |
void |
addChild(Element name)
Add a child element |
void |
addChildAttribute(Attribute name)
Add a child Attribute |
void |
addChildAttributes(java.util.ArrayList atts)
Add a list of child Attributes |
boolean |
getAdded()
Get whether or not this has been added to the AutoMed Schema |
java.lang.String |
getBaseType()
Return whether or not this has been used as a subtype |
Element |
getChild(java.lang.String name)
Get a child element |
java.util.ArrayList |
getChildAttributes()
Return any child attributes |
java.util.ArrayList |
getChildren()
Return any child elements |
XSDOMObject |
getPrimaryKey()
Get the primary key for this complexType |
java.lang.String |
getType()
Return the type |
void |
setAdded()
Set that this has been added to the AutoMed schema |
void |
setBaseType(java.lang.String baseType)
Set whether or this is being used as a subtype |
void |
setPrimaryKey(XSDOMObject primaryKey)
Set the primary key for this complexType |
| Methods inherited from class uk.ac.ic.doc.automed.wrappers.xsdomobject.XSDOMObject |
|---|
getIcon, getKeyRef, getMaxOccurs, getMinOccurs, getName, getParent, getSchemaObject, setIcon, setKeyRef, setMaxOccurs, setMinOccurs, setName, setParent, setSchemaObject, setType, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ComplexType(java.lang.String name)
| Method Detail |
|---|
public void addChild(Element name)
public Element getChild(java.lang.String name)
public void addChild(java.util.ArrayList list)
public void addChildAttribute(Attribute name)
public void addChildAttributes(java.util.ArrayList atts)
public java.lang.String getType()
getType in class XSDOMObjectpublic java.lang.String getBaseType()
public java.util.ArrayList getChildren()
public java.util.ArrayList getChildAttributes()
public XSDOMObject getPrimaryKey()
public void setPrimaryKey(XSDOMObject primaryKey)
public void setBaseType(java.lang.String baseType)
public void setAdded()
public boolean getAdded()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||