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