org.rhq.core.clientapi.descriptor.configuration
Class ConstraintType
java.lang.Object
org.rhq.core.clientapi.descriptor.configuration.ConstraintType
public class ConstraintType
- extends java.lang.Object
A constraint on a property value. Allows you to define what a value's
type should be as well as additional constraints such as matching
a regular expression or a number falling within a range.
Java class for constraintType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="constraintType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<choice maxOccurs="unbounded">
<element name="integer-constraint" type="{urn:xmlns:rhq-configuration}integerConstraintType"/>
<element name="float-constraint" type="{urn:xmlns:rhq-configuration}floatConstraintType"/>
<element name="regex-constraint" type="{urn:xmlns:rhq-configuration}regexConstraintType"/>
</choice>
</restriction>
</complexContent>
</complexType>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
integerConstraintOrFloatConstraintOrRegexConstraint
protected java.util.List<java.lang.Object> integerConstraintOrFloatConstraintOrRegexConstraint
ConstraintType
public ConstraintType()
getIntegerConstraintOrFloatConstraintOrRegexConstraint
public java.util.List<java.lang.Object> getIntegerConstraintOrFloatConstraintOrRegexConstraint()
- Gets the value of the integerConstraintOrFloatConstraintOrRegexConstraint property.
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 integerConstraintOrFloatConstraintOrRegexConstraint property.
For example, to add a new item, do as follows:
getIntegerConstraintOrFloatConstraintOrRegexConstraint().add(newItem);
Objects of the following type(s) are allowed in the list
FloatConstraintType
RegexConstraintType
IntegerConstraintType
Copyright © 2008-2009 Red Hat, Inc.. All Rights Reserved.