public interface IPropertyRules
| Modifier and Type | Method and Description |
|---|---|
List<String> |
allowableProperties()
Identifies what properties are acceptable for this rules set
|
List<String> |
allowableValues(String propertyName)
Identifies what values are acceptable for a given property
|
boolean |
checkPropertyAllowed(String propertyName)
Identifies whether the given property is usable
|
boolean |
checkPropertyUserReadOnly(String propertyName)
Identifies whether the property should be revealed to users.
|
boolean |
checkValueAllowed(String propertyName,
String potentialValue)
Identifies whether the given value is an acceptable for a property.
|
String |
getHumanReadableDescription(String propertyName)
Returns a human readable string representing the description of a
property.
|
String |
getHumanReadableValue(String propertyName,
String value)
Returns a human readable string representing the value of a specific
property.
|
void |
handlePropertyChanges(String propertyName)
Handles any state changes that would be required upon a specific value
being changed.
|
List<String> allowableValues(String propertyName)
propertyName - The name of the property that is being identifiedboolean checkValueAllowed(String propertyName, String potentialValue)
propertyName - The name of the property that is being identifiedpotentialValue - The value that is being testedList<String> allowableProperties()
boolean checkPropertyAllowed(String propertyName)
propertyName - The name of the property that is being testedboolean checkPropertyUserReadOnly(String propertyName)
propertyName - The name of the property that is being testedString getHumanReadableDescription(String propertyName)
propertyName - The name of the property to be describedString getHumanReadableValue(String propertyName, String value)
propertyName - The name of the property whose value is to be
interpreted.value - The value to be interpreted as a Stringvoid handlePropertyChanges(String propertyName)
propertyName - The name of the property that has changedCopyright © 2021. All rights reserved.