|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.rational.rpe.common.data.DomainValue
public class DomainValue
Models the accepted domains for the various Rational Publishing Engine (RPE) properties.
Constructor Summary | |
---|---|
DomainValue()
|
Method Summary | |
---|---|
void |
addDomainValue(java.lang.String value,
java.lang.String label)
Adds a new value to the collection of accepted values |
boolean |
getAcceptAny()
If set, any value is accepted for the properties with this domain value. |
java.util.Collection<java.lang.String> |
getAcceptedValues()
Returns the collection of accepted values |
java.lang.String |
getDefaultValue()
Returns the default value to be used for properties with this domain. |
com.ibm.rational.rpe.common.data.Description |
getDescription()
Returns the description of this domain value. |
java.lang.String |
getMax()
Returns the maximum acceptable value for this domain. |
java.lang.String |
getMin()
Returns the minimum acceptable value for this domain. |
java.lang.String |
getType()
Returns the data type that is accepted for the values. |
void |
setAcceptAny(boolean acceptAny)
If set, any value is accepted for the properties with this domain value. |
void |
setAcceptedValues(java.util.Collection<java.lang.String> acceptedValues)
Sets the collection of accepted values |
void |
setDefaultValue(java.lang.String defaultValue)
Sets the default value to be used for properties with this domain. |
void |
setDescription(com.ibm.rational.rpe.common.data.Description description)
Sets the description of this domain value. |
void |
setMax(java.lang.String max)
Sets the maximum acceptable value for this domain. |
void |
setMin(java.lang.String min)
Sets the minimum acceptable value for this domain. |
void |
setType(java.lang.String type)
Sets the data type that is accepted for the values. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DomainValue()
Method Detail |
---|
public com.ibm.rational.rpe.common.data.Description getDescription()
public void setDescription(com.ibm.rational.rpe.common.data.Description description)
description
- public java.lang.String getType()
public void setType(java.lang.String type)
public boolean getAcceptAny()
public void setAcceptAny(boolean acceptAny)
public java.util.Collection<java.lang.String> getAcceptedValues()
public void setAcceptedValues(java.util.Collection<java.lang.String> acceptedValues)
public void addDomainValue(java.lang.String value, java.lang.String label)
value
- label
- public java.lang.String getMin()
public void setMin(java.lang.String min)
public java.lang.String getMax()
public void setMax(java.lang.String max)
public java.lang.String getDefaultValue()
public void setDefaultValue(java.lang.String defaultValue)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |