|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PropertyValue
This interface defines the methods that need to be implemented by classes that are able to provide values to properties.
These classes should make all value retrieval as lazy as possible and store only the parameters that are required to obtain the actual data dynamically at runtime.
| Method Summary | |
|---|---|
Object |
getValue()
Retrieves a property value. |
String |
getValueString()
Retrieves a string representation of the property value. |
boolean |
isNeglectable()
Indicates whether the value provided by this instance is neglectable in a textual context. |
boolean |
isStatic()
Indicates whether the value is statically fixed an not dynamically retrieved at runtime. |
| Method Detail |
|---|
Object getValue()
throws PropertyValueException
null if the property value couldn't be found
PropertyValueException - When something went wrong during the
retrieval of the property value.
String getValueString()
throws PropertyValueException
null if the property value couldn't be found
PropertyValueException - When something went wrong during the
retrieval of the property value.boolean isNeglectable()
true if the value is neglectable in a textual
context; or
false otherwise
boolean isStatic()
true if the value is static; or
false if the value is dynamically retrieved at runtime
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||