|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.myfaces.trinidad.bean.PropertyKey
public class PropertyKey
Key for an entry in a FacesBean.
Field Summary | |
---|---|
static int |
CAP_LIST
Capability indicating this property describes a list. |
static int |
CAP_NOT_BOUND
Capability indicating this property does not support bindings. |
static int |
CAP_STATE_HOLDER
Capability indicating this property can use the StateHolder API. |
static int |
CAP_TRANSIENT
Capability indicating this property is transient. |
Constructor Summary | |
---|---|
protected |
PropertyKey(String name,
Class<?> type,
Object defaultValue,
int capabilities,
int index)
|
Method Summary | |
---|---|
static PropertyKey |
createPropertyKey(String name)
Create a named PropertyKey, not attached to any type. |
boolean |
equals(Object o)
|
Object |
getDefault()
Returns the default value of this property. |
int |
getIndex()
Returns the index of this property. |
String |
getName()
Returns the name of this property. |
FacesBean.Type |
getOwner()
Returns the owning type for this property key. |
boolean |
getSupportsBinding()
Returns true if the property supports being bound. |
Class<?> |
getType()
Returns the type of this property. |
int |
hashCode()
|
boolean |
isList()
Returns true if the property is used to store a list. |
boolean |
isTransient()
Returns true if the property is transient. |
Object |
restoreValue(FacesContext context,
Object savedValue)
|
Object |
saveValue(FacesContext context,
Object value)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int CAP_NOT_BOUND
public static final int CAP_TRANSIENT
public static final int CAP_LIST
public static final int CAP_STATE_HOLDER
Constructor Detail |
---|
protected PropertyKey(String name, Class<?> type, Object defaultValue, int capabilities, int index)
Method Detail |
---|
public static PropertyKey createPropertyKey(String name)
public Class<?> getType()
public Object getDefault()
public FacesBean.Type getOwner()
public boolean getSupportsBinding()
public boolean isTransient()
public boolean isList()
public String getName()
public int getIndex()
public Object saveValue(FacesContext context, Object value)
public Object restoreValue(FacesContext context, Object savedValue)
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |