Class ParameterType
java.lang.Object
org.apache.geode.cache.configuration.ObjectType
org.apache.geode.cache.configuration.ParameterType
- All Implemented Interfaces:
Serializable
A "parameter" element describes a parameter used to initialize a Declarable object.
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- See Also:
-
Field Summary
FieldsFields inherited from class org.apache.geode.cache.configuration.ObjectType
declarable, string -
Constructor Summary
ConstructorsConstructorDescriptionParameterType(String name) ParameterType(String name, String value) ParameterType(String name, DeclarableType declarableType) -
Method Summary
Methods inherited from class org.apache.geode.cache.configuration.ObjectType
getDeclarable, getString, setDeclarable, setString
-
Field Details
-
name
-
-
Constructor Details
-
ParameterType
public ParameterType() -
ParameterType
-
ParameterType
-
ParameterType
-
-
Method Details
-
getName
Gets the value of the name property. possible object isString- Returns:
- the name.
-
setName
Sets the value of the name property. allowed object isString- Parameters:
value- the name.
-
equals
- Overrides:
equalsin classObjectType
-
hashCode
public int hashCode()- Overrides:
hashCodein classObjectType
-
toString
- Overrides:
toStringin classObjectType
-