|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PropertyInformation
Contains all the information of a property
(e.g. PropertyDetails)
MetaDataEntry's are considered as a special kind of information and separate methods are created for them.
| Method Summary | ||
|---|---|---|
void |
addMetaDataEntry(MetaDataEntry metaDataEntry)
Adds the given MetaDataEntry |
|
boolean |
containsInformation(String key)
Verifies if we have information for the given key. |
|
Object |
getInformation(String key)
Returns the information for the given key. |
|
|
getInformation(String key,
Class<T> targetClass)
In addition to PropertyInformation#getInformation(java.lang.String) it casts to the given type. |
|
MetaDataEntry[] |
getMetaDataEntries()
Returns an immutable array which contains the MetaDataEntrys which were created for the property. |
|
void |
resetMetaDataEntries()
removes all MetaDataEntrys. |
|
void |
setInformation(String key,
Object value)
Stores the given value and links it to the given key. |
|
| Method Detail |
|---|
boolean containsInformation(String key)
PropertyInformationKeys.
key - key of the information.
Object getInformation(String key)
key - key for the requested information
<T> T getInformation(String key,
Class<T> targetClass)
T - Type declaration for generics.key - key for the requested informationtargetClass - target class type
getInformation(java.lang.String)
void setInformation(String key,
Object value)
key - key of the information.value - value as information for the key.MetaDataEntry[] getMetaDataEntries()
MetaDataEntrys which were created for the property.
MetaDataEntrysvoid addMetaDataEntry(MetaDataEntry metaDataEntry)
MetaDataEntry
metaDataEntry - MetaDataEntry to store.void resetMetaDataEntries()
MetaDataEntrys.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||