|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--xdoclet.sdk.xgg.binding.SubElement
Represents a sub element in an element declaration.
Constructor Summary | |
SubElement(Element element,
Element container)
Constructor for the SubElement object |
Method Summary | |
boolean |
equals(Object o)
|
Cardinality |
getCardinality()
Gets the cardinality related to the associated element |
Element |
getContainer()
Gets the container element |
Element |
getElement()
Gets the associated element |
String |
getId()
Returns an id based on the class name and the xml name. |
String |
getJavaName()
Gets the Java name of associated element |
String |
getJavaType()
Gets the Java type of the associated element |
String |
getVersion()
Gets the version |
String |
getXmlName()
Gets the XML name of the associated element |
boolean |
isAttribute()
Returns whether or not this sub element is an attribute |
boolean |
isMany()
Returns whether or not this sub element has a many cardinality |
String |
toString()
Implementation of the toString method |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public SubElement(Element element, Element container)
element
- Description of the Parametercontainer
- Description of the ParameterMethod Detail |
public Cardinality getCardinality()
getCardinality
in interface Child
public Element getContainer()
getContainer
in interface Child
public Element getElement()
public String getJavaName()
getJavaName
in interface Child
public String getJavaType()
getJavaType
in interface Child
public String getVersion()
getVersion
in interface Child
public String getXmlName()
getXmlName
in interface Child
public boolean isAttribute()
isAttribute
in interface Child
public boolean isMany()
isMany
in interface Child
public String getId()
Child
getId
in interface Child
public boolean equals(Object o)
equals
in class Object
public String toString()
toString
in class Object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |