oracle.adf.view.faces.bean
Class PropertyKey

java.lang.Object
  |
  +--oracle.adf.view.faces.bean.PropertyKey

public class PropertyKey
extends java.lang.Object

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
PropertyKey(java.lang.String name)
           
PropertyKey(java.lang.String name, int capabilities, int index)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 int getIndex()
           
 java.lang.String getName()
           
 boolean getSupportsBinding()
          Returns true if the property supports being bound.
 FacesBean.Type getType()
           
 int hashCode()
           
 boolean isList()
          Returns true if the property is used to store a list.
 boolean isTransient()
          Returns true if the property is transient.
 java.lang.Object restoreValue(javax.faces.context.FacesContext context, java.lang.Object savedValue)
           
 java.lang.Object saveValue(javax.faces.context.FacesContext context, java.lang.Object value)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

CAP_NOT_BOUND

public static final int CAP_NOT_BOUND
Capability indicating this property does not support bindings.

See Also:
Constant Field Values

CAP_TRANSIENT

public static final int CAP_TRANSIENT
Capability indicating this property is transient.

See Also:
Constant Field Values

CAP_LIST

public static final int CAP_LIST
Capability indicating this property describes a list. List PropertyKeys will automatically be marked as not supporting bindings.

See Also:
Constant Field Values

CAP_STATE_HOLDER

public static final int CAP_STATE_HOLDER
Capability indicating this property can use the StateHolder API.

See Also:
Constant Field Values
Constructor Detail

PropertyKey

public PropertyKey(java.lang.String name)

PropertyKey

public PropertyKey(java.lang.String name,
                   int capabilities,
                   int index)
Method Detail

getType

public FacesBean.Type getType()

getSupportsBinding

public boolean getSupportsBinding()
Returns true if the property supports being bound.


isTransient

public boolean isTransient()
Returns true if the property is transient.


isList

public boolean isList()
Returns true if the property is used to store a list.


getName

public java.lang.String getName()

getIndex

public int getIndex()

saveValue

public java.lang.Object saveValue(javax.faces.context.FacesContext context,
                                  java.lang.Object value)

restoreValue

public java.lang.Object restoreValue(javax.faces.context.FacesContext context,
                                     java.lang.Object savedValue)

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2003-2004 Oracle Corporation. All Rights Reserved.