|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.rhq.core.clientapi.descriptor.configuration.ConfigurationProperty
org.rhq.core.clientapi.descriptor.configuration.SimpleProperty
public class SimpleProperty
Java class for simpleProperty complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="simpleProperty">
<complexContent>
<extension base="{urn:xmlns:rhq-configuration}configurationProperty">
<sequence>
<element name="property-options" type="{urn:xmlns:rhq-configuration}propertyOptions" minOccurs="0"/>
<element name="constraint" type="{urn:xmlns:rhq-configuration}constraintType" maxOccurs="unbounded" minOccurs="0"/>
<element name="defaultValueDescription" minOccurs="0">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="collapse"/>
<minLength value="1"/>
<maxLength value="1000"/>
</restriction>
</simpleType>
</element>
</sequence>
<attribute name="activationPolicy" type="{urn:xmlns:rhq-configuration}activationPolicy" default="immediate" />
<attribute name="default">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<maxLength value="2000"/>
</restriction>
</simpleType>
</attribute>
<attribute name="defaultValue">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<maxLength value="2000"/>
</restriction>
</simpleType>
</attribute>
<attribute name="type" type="{urn:xmlns:rhq-configuration}propertyType" default="string" />
<attribute name="units" type="{urn:xmlns:rhq-configuration}measurementUnitsDescriptor" />
</extension>
</complexContent>
</complexType>
| Field Summary | |
|---|---|
protected ActivationPolicy |
activationPolicy
|
protected java.util.List<ConstraintType> |
constraint
|
protected java.lang.String |
defaultValue
|
protected java.lang.String |
defaultValueDescription
|
protected java.lang.String |
initialValue
|
protected PropertyOptions |
propertyOptions
|
protected PropertyType |
type
|
protected MeasurementUnitsDescriptor |
units
|
| Fields inherited from class org.rhq.core.clientapi.descriptor.configuration.ConfigurationProperty |
|---|
description, displayName, longDescription, name, readOnly, required, summary |
| Constructor Summary | |
|---|---|
SimpleProperty()
|
|
| Method Summary | |
|---|---|
ActivationPolicy |
getActivationPolicy()
Gets the value of the activationPolicy property. |
java.util.List<ConstraintType> |
getConstraint()
Gets the value of the constraint property. |
java.lang.String |
getDefaultValue()
Gets the value of the defaultValue property. |
java.lang.String |
getDefaultValueDescription()
Gets the value of the defaultValueDescription property. |
java.lang.String |
getInitialValue()
Gets the value of the initialValue property. |
PropertyOptions |
getPropertyOptions()
Gets the value of the propertyOptions property. |
PropertyType |
getType()
Gets the value of the type property. |
MeasurementUnitsDescriptor |
getUnits()
Gets the value of the units property. |
void |
setActivationPolicy(ActivationPolicy value)
Sets the value of the activationPolicy property. |
void |
setDefaultValue(java.lang.String value)
Sets the value of the defaultValue property. |
void |
setDefaultValueDescription(java.lang.String value)
Sets the value of the defaultValueDescription property. |
void |
setInitialValue(java.lang.String value)
Sets the value of the initialValue property. |
void |
setPropertyOptions(PropertyOptions value)
Sets the value of the propertyOptions property. |
void |
setType(PropertyType value)
Sets the value of the type property. |
void |
setUnits(MeasurementUnitsDescriptor value)
Sets the value of the units property. |
| Methods inherited from class org.rhq.core.clientapi.descriptor.configuration.ConfigurationProperty |
|---|
getDescription, getDisplayName, getLongDescription, getName, isReadOnly, isRequired, isSummary, setDescription, setDisplayName, setLongDescription, setName, setReadOnly, setRequired, setSummary |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected PropertyOptions propertyOptions
protected java.util.List<ConstraintType> constraint
protected java.lang.String defaultValueDescription
protected ActivationPolicy activationPolicy
protected java.lang.String initialValue
protected java.lang.String defaultValue
protected PropertyType type
protected MeasurementUnitsDescriptor units
| Constructor Detail |
|---|
public SimpleProperty()
| Method Detail |
|---|
public PropertyOptions getPropertyOptions()
PropertyOptionspublic void setPropertyOptions(PropertyOptions value)
value - allowed object is
PropertyOptionspublic java.util.List<ConstraintType> getConstraint()
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 constraint property.
For example, to add a new item, do as follows:
getConstraint().add(newItem);
Objects of the following type(s) are allowed in the list
ConstraintType
public java.lang.String getDefaultValueDescription()
Stringpublic void setDefaultValueDescription(java.lang.String value)
value - allowed object is
Stringpublic ActivationPolicy getActivationPolicy()
ActivationPolicypublic void setActivationPolicy(ActivationPolicy value)
value - allowed object is
ActivationPolicypublic java.lang.String getInitialValue()
Stringpublic void setInitialValue(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getDefaultValue()
Stringpublic void setDefaultValue(java.lang.String value)
value - allowed object is
Stringpublic PropertyType getType()
PropertyTypepublic void setType(PropertyType value)
value - allowed object is
PropertyTypepublic MeasurementUnitsDescriptor getUnits()
MeasurementUnitsDescriptorpublic void setUnits(MeasurementUnitsDescriptor value)
value - allowed object is
MeasurementUnitsDescriptor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||