|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 MetaDataEntry s which were created for the property. |
|
int |
hashCode()
|
|
void |
resetMetaDataEntries()
removes all MetaDataEntry s. |
|
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)
PropertyInformation
PropertyInformationKeys
.
containsInformation
in interface PropertyInformation
key
- key of the information.
public Object getInformation(String key)
PropertyInformation
getInformation
in interface PropertyInformation
key
- key for the requested information
public <T> T getInformation(String key, Class<T> targetClass)
PropertyInformation
getInformation
in interface PropertyInformation
T
- 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 PropertyInformation
key
- key of the information.value
- value as information for the key.public MetaDataEntry[] getMetaDataEntries()
PropertyInformation
MetaDataEntry
s which were created for the property.
getMetaDataEntries
in interface PropertyInformation
MetaDataEntry
spublic void addMetaDataEntry(MetaDataEntry metaDataEntry)
PropertyInformation
MetaDataEntry
addMetaDataEntry
in interface PropertyInformation
metaDataEntry
- MetaDataEntry
to store.public void resetMetaDataEntries()
PropertyInformation
MetaDataEntry
s.
resetMetaDataEntries
in interface PropertyInformation
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |