public class ObjectType extends Object implements Serializable
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <choice> <element name="string" type="{http://geode.apache.org/schema/cache}string-type"/> <element name="declarable" type="{http://geode.apache.org/schema/cache}declarable-type"/> </choice> </restriction> </complexContent> </complexType>ObjectType represents either a string or an object represented by the DeclarableType
Modifier and Type | Field and Description |
---|---|
protected DeclarableType |
declarable |
protected String |
string |
Constructor and Description |
---|
ObjectType() |
ObjectType(DeclarableType declarable) |
ObjectType(String string) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
DeclarableType |
getDeclarable()
Gets the value of the declarable property.
|
String |
getString()
Gets the value of the string property.
|
int |
hashCode() |
void |
setDeclarable(DeclarableType value)
Sets the value of the declarable property.
|
void |
setString(String string)
Sets the value of the string property.
|
String |
toString() |
protected String string
protected DeclarableType declarable
public ObjectType()
public ObjectType(String string)
public ObjectType(DeclarableType declarable)
public String getString()
public void setString(String string)
string
- the string.public DeclarableType getDeclarable()
DeclarableType
public void setDeclarable(DeclarableType value)
DeclarableType
value
- the declarable type.