|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.acsinet_solutions.cetia4.controller.meta.AttributeInfo
public final class AttributeInfo
Holder for attribute information such as name, scope and maintenance policy. It's a serializable, non annotation version of FormAttribute more suitable for information sharing.
| Method Summary | |
|---|---|
static AttributeInfo |
getAttributeInfo(FormAttribute formAttribute,
java.lang.Class attributeType)
Factory method. |
AttributeMaintenancePolicy |
getMaintenancePolicy()
Get the maintenance policy of the current attribute |
java.lang.String |
getName()
Get the name of the current attribute |
Scope |
getScope()
Get the scope at which it is stored the current attribute |
java.lang.Class |
getType()
Get the type of the current attribute. |
java.lang.Object |
getValue(RequestContext context)
Obtain the attribute value of the attribute represented by the current instance from the provided context. |
void |
removeValue(RequestContext context)
Remove the attribute value of the attribute represented by the current instance on the provided context. |
void |
setType(java.lang.Class type)
This method is provided so late Class association is possible. |
void |
setValue(RequestContext context,
java.lang.Object value)
Set the attribute value of the attribute represented by the current instance on the provided context. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static AttributeInfo getAttributeInfo(FormAttribute formAttribute,
java.lang.Class attributeType)
public final AttributeMaintenancePolicy getMaintenancePolicy()
public final java.lang.String getName()
public final Scope getScope()
public final java.lang.Class getType()
public final void setType(java.lang.Class type)
public final java.lang.Object getValue(RequestContext context)
public final void setValue(RequestContext context,
java.lang.Object value)
public final void removeValue(RequestContext context)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||