@Experimental public class ParameterType extends ObjectType
Java class for parameter-type complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="parameter-type"> <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> <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType>This represents a key/value pair, name is the key, another string or object is the value
Modifier and Type | Field and Description |
---|---|
protected String |
name |
declarable, string
Constructor and Description |
---|
ParameterType() |
ParameterType(String name) |
ParameterType(String name,
DeclarableType declarableType) |
ParameterType(String name,
String value) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getName()
Gets the value of the name property.
|
int |
hashCode() |
void |
setName(String value)
Sets the value of the name property.
|
String |
toString() |
getDeclarable, getString, setDeclarable, setString
protected String name
public ParameterType()
public ParameterType(String name)
public ParameterType(String name, DeclarableType declarableType)
public void setName(String value)
String
public boolean equals(Object o)
equals
in class ObjectType
public int hashCode()
hashCode
in class ObjectType
public String toString()
toString
in class ObjectType