@Experimental public class DeclarableType extends ClassNameType
Java class for declarable-type complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="declarable-type">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="class-name" type="{http://geode.apache.org/schema/cache}class-name-type"/>
<element name="parameter" type="{http://geode.apache.org/schema/cache}parameter-type" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<ParameterType> |
parameters |
className| Constructor and Description |
|---|
DeclarableType() |
DeclarableType(java.lang.String className) |
DeclarableType(java.lang.String className,
java.util.Properties properties) |
DeclarableType(java.lang.String className,
java.lang.String jsonProperties) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
java.util.List<ParameterType> |
getParameters()
Gets the value of the parameter property.
|
int |
hashCode() |
java.lang.String |
toString() |
getClassName, setClassNameprotected java.util.List<ParameterType> parameters
public DeclarableType()
public DeclarableType(java.lang.String className)
public DeclarableType(java.lang.String className,
java.lang.String jsonProperties)
public DeclarableType(java.lang.String className,
java.util.Properties properties)
public java.util.List<ParameterType> getParameters()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the parameter property.
For example, to add a new item, do as follows:
getParameters().add(newItem);
Objects of the following type(s) are allowed in the list
ParameterType
public boolean equals(java.lang.Object o)
equals in class ClassNameTypepublic int hashCode()
hashCode in class ClassNameTypepublic java.lang.String toString()
toString in class ClassNameType