|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.myfaces.extensions.validator.core.property.DefaultPropertyInformation
public class DefaultPropertyInformation
| Field Summary | |
|---|---|
protected Logger |
logger
|
| Constructor Summary | |
|---|---|
DefaultPropertyInformation()
|
|
| Method Summary | ||
|---|---|---|
void |
addMetaDataEntry(MetaDataEntry metaDataEntry)
Adds the given MetaDataEntry |
|
boolean |
containsInformation(String key)
Verifies if we have information for the given key. |
|
boolean |
equals(Object o)
|
|
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. |
|
int |
hashCode()
|
|
void |
resetMetaDataEntries()
removes all MetaDataEntrys. |
|
void |
setInformation(String key,
Object value)
Stores the given value and links it to the given key. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final Logger logger
| Constructor Detail |
|---|
public DefaultPropertyInformation()
| Method Detail |
|---|
public boolean containsInformation(String key)
PropertyInformationPropertyInformationKeys.
containsInformation in interface PropertyInformationkey - key of the information.
public Object getInformation(String key)
PropertyInformation
getInformation in interface PropertyInformationkey - key for the requested information
public <T> T getInformation(String key,
Class<T> targetClass)
PropertyInformation
getInformation in interface PropertyInformationT - Type declaration for generics.key - key for the requested informationtargetClass - target class type
PropertyInformation.getInformation(java.lang.String)
public void setInformation(String key,
Object value)
PropertyInformation
setInformation in interface PropertyInformationkey - key of the information.value - value as information for the key.public MetaDataEntry[] getMetaDataEntries()
PropertyInformationMetaDataEntrys which were created for the property.
getMetaDataEntries in interface PropertyInformationMetaDataEntryspublic void addMetaDataEntry(MetaDataEntry metaDataEntry)
PropertyInformationMetaDataEntry
addMetaDataEntry in interface PropertyInformationmetaDataEntry - MetaDataEntry to store.public void resetMetaDataEntries()
PropertyInformationMetaDataEntrys.
resetMetaDataEntries in interface PropertyInformationpublic boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||