public class GlobalElement extends Object implements Element
element
.Modifier and Type | Field and Description |
---|---|
static String |
STRING_SIMPLE_TYPE |
Constructor and Description |
---|
GlobalElement() |
GlobalElement(String name,
GlobalComplexType complexType) |
GlobalElement(String name,
String type) |
Modifier and Type | Method and Description |
---|---|
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() |
public static final String STRING_SIMPLE_TYPE
public GlobalElement()
public GlobalElement(String name, GlobalComplexType complexType)
public String getName()
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 referencedCopyright © 2002-2013 Apache Software Foundation. All Rights Reserved.