public class ObjectType extends Object implements Serializable
Java class for ObjectType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ObjectType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="helpText" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> </sequence> <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="label" type="{http://www.w3.org/2001/XMLSchema}normalizedString" /> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
static ObjectType |
EMPTY_INSTANCE |
protected String |
helpText |
protected String |
id |
protected String |
label |
Constructor and Description |
---|
ObjectType() |
Modifier and Type | Method and Description |
---|---|
ObjectType |
copy()
Deep copies the fields of the this model into a new instance of this class and returns it.
|
ObjectType |
copy(boolean isDeep)
Copies the fields of the this model (optionally deeply) into a new instance of this class and returns it.
|
protected ObjectType |
copy(ObjectType nobj,
boolean isDeep)
Copies the fields of the this model (optionally deeply) into the given instance and returns it.
|
boolean |
equals(Object o) |
String |
getHelpText()
Optional help text displayed for the object type in the GUI.
|
String |
getId()
The actual name of the object type which will be passed in subsequent operations which for
this object type.
|
String |
getLabel()
Optional text string which will be displayed in the GUI for this object type.
|
int |
hashCode() |
void |
setHelpText(String value)
Sets the value of the helpText property.
|
void |
setId(String value)
Sets the value of the id property.
|
void |
setLabel(String value)
Sets the value of the label property.
|
String |
toString() |
ObjectType |
withHelpText(String newValue)
Sets the helpText property to the given newValue and returns this instance.
|
ObjectType |
withId(String newValue)
Sets the id property to the given newValue and returns this instance.
|
ObjectType |
withLabel(String newValue)
Sets the label property to the given newValue and returns this instance.
|
protected String helpText
protected String id
protected String label
public static final ObjectType EMPTY_INSTANCE
public String getHelpText()
String
public void setHelpText(String value)
value
- allowed object is
String
public String getId()
String
public void setId(String value)
value
- allowed object is
String
public String getLabel()
String
public void setLabel(String value)
value
- allowed object is
String
public ObjectType copy()
public ObjectType copy(boolean isDeep)
protected ObjectType copy(ObjectType nobj, boolean isDeep)
public ObjectType withHelpText(String newValue)
public ObjectType withId(String newValue)
public ObjectType withLabel(String newValue)