|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.softwareag.centrasite.appl.framework.validation.impl.ValidatableSelectedValueProperty
public class ValidatableSelectedValueProperty
An implementation of ValidatableProperty
, which allows to select
values from a collection of acceptable values.
Constructor Summary | |
---|---|
ValidatableSelectedValueProperty(ValidatableProperty pProperty)
Creates a new instance, which is reading from, or writing to, the given ValidatableProperty . |
Method Summary | |
---|---|
void |
addConstraint(Constraint pConstraint)
Adds a new element to the validatables constraints. |
void |
change(java.lang.Object pValue)
Sets the property value. |
java.util.Collection<Constraint> |
getConstraints()
Returns the objects set of constraints. |
java.lang.String |
getName()
Returns the objects name. |
java.lang.String |
getProperty()
Returns the property name. |
java.util.Collection<SelectableValue> |
getSelectableValues()
Returns the array of selectable values. |
java.lang.Class<?> |
getType()
Returns the property type. |
void |
setSelectableValues(java.util.Collection<SelectableValue> pSelectableValues)
Sets the array of selectable values. |
java.lang.Object |
value()
Returns the property value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ValidatableSelectedValueProperty(ValidatableProperty pProperty)
ValidatableProperty
.
Method Detail |
---|
public java.util.Collection<SelectableValue> getSelectableValues()
public void setSelectableValues(java.util.Collection<SelectableValue> pSelectableValues)
public void change(java.lang.Object pValue) throws com.softwareag.centrasite.appl.framework.CSAppFrameworkException
ValidatableProperty
change
in interface ValidatableProperty
com.softwareag.centrasite.appl.framework.CSAppFrameworkException
public java.lang.String getProperty()
ValidatableProperty
getProperty
in interface ValidatableProperty
public java.lang.Class<?> getType()
ValidatableProperty
getType
in interface ValidatableProperty
public java.lang.Object value() throws com.softwareag.centrasite.appl.framework.CSAppFrameworkException
ValidatableProperty
value
in interface ValidatableProperty
com.softwareag.centrasite.appl.framework.CSAppFrameworkException
public java.lang.String getName()
NamedObject
getName
in interface NamedObject
public void addConstraint(Constraint pConstraint)
Validatable
addConstraint
in interface Validatable
public java.util.Collection<Constraint> getConstraints()
Validatable
getConstraints
in interface Validatable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |