|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.commons.betwixt.schema.GlobalElement
public class GlobalElement
Models a global definition of an element
.
Field Summary | |
---|---|
static java.lang.String |
STRING_SIMPLE_TYPE
|
Constructor Summary | |
---|---|
GlobalElement()
|
|
GlobalElement(java.lang.String name,
GlobalComplexType complexType)
|
|
GlobalElement(java.lang.String name,
java.lang.String type)
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
GlobalComplexType |
getComplexType()
Gets the anonymous type definition for this element, if one exists. |
java.lang.String |
getName()
Gets the element name |
java.lang.String |
getType()
Gets the element type |
int |
hashCode()
|
void |
setComplexType(GlobalComplexType type)
Sets the anonymous type definition for this element |
void |
setName(java.lang.String string)
Sets the element name |
void |
setType(java.lang.String string)
Sets the element type |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String STRING_SIMPLE_TYPE
Constructor Detail |
---|
public GlobalElement()
public GlobalElement(java.lang.String name, java.lang.String type)
public GlobalElement(java.lang.String name, GlobalComplexType complexType)
Method Detail |
---|
public java.lang.String getName()
getName
in interface Element
public void setName(java.lang.String string)
string
- not nullpublic java.lang.String getType()
public void setType(java.lang.String string)
string
- public GlobalComplexType getComplexType()
public void setComplexType(GlobalComplexType type)
type
- ComplexType to be set as the anonymous type definition,
null if the type is to be referencedpublic boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |