|
Cool documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Describes the properties of an aspect action.
| Field Summary | |
static java.lang.String |
ACTION_DELETE
The name of the system action DELETE (Delete). |
static java.lang.String |
ACTION_INSERT
The name of the system action INSERT (Insert). |
static java.lang.String |
ACTION_SELECT
The name of the system action SELECT (Select). |
static java.lang.String |
ACTION_SELECT_BY_RELATION
The name of the system action SELECT_BY_RELATION (SelectByRelation). |
static java.lang.String |
ACTION_UPDATE_FIELDS
The name of the system action UPDATE_FIELDS (UpdateFields). |
static java.lang.String |
ACTION_UPDATE_ROW
The name of the system action UPDATE (UpdateRow). |
static int |
AFFECTS_ALL
Performing an action may have side effects on just about anything. |
static int |
AFFECTS_ASPECT
Performing an action may only have side effects on any other records of an aspect (regardless of the records being included in the outrecords of the action). |
static int |
AFFECTS_NOTHING
No side effects occur when performing an action. |
static int |
AFFECTS_OUTRECORDS
Performing an action may only have side effects on other records which are in the outrecord table of an action. |
static java.lang.String |
ATTRIBUTE_ACTION_RELATION
The backend name of the system attribute Action Relation. |
static java.lang.String |
ATTRIBUTE_AFFECTS
The backend name of the system attribute Affects. |
| Method Summary | |
IAspectDescriptor |
getAspectDescriptor()
Returns the descriptor of the aspect of this aspect action. |
int |
getAttributeAffects()
Returns which side effects are to be excpected when performing the action described by this descriptor. |
int |
getAttributeAffects(java.lang.String rowKey)
Returns which side effects are to be excpected when performing the action described by this descriptor on the given aspect row. |
java.lang.String[] |
getAttributeNames()
Returns an array with the names of all the attributes which are set for this aspect action. |
java.lang.String[] |
getAttributeNames(java.lang.String rowKey)
Returns an array with the names of all the attributes which are set for this aspect action in the specified aspect row. |
java.lang.String |
getAttributeRelation()
Returns the name of the relation whose target aspect the action can affect for this aspect action. |
java.lang.String |
getAttributeStringValue(java.lang.String attributeName)
Returns the value that is stored in the aspect action for the given attribute. |
java.lang.String |
getAttributeStringValue(java.lang.String rowKey,
java.lang.String attributeName)
Returns the value that is stored in this aspect action for the given attribute in the specified aspect row. |
java.lang.String |
getDescription()
Returns the description of this aspect action. |
java.lang.String[] |
getFieldAttributeNames(java.lang.String fieldName)
Returns an array with the names of all the attributes for a specified field of the input parameter structure. |
java.lang.String |
getFieldAttributeStringValue(java.lang.String fieldName,
java.lang.String attributeName)
Returns the value that is stored in this aspect action for the given attribute of the given field (of the input parameter structure). |
IKeyAspectDescriptor |
getInputKeysDescriptor()
Returns the descriptor of the input keys of this aspect action. |
IStructureDescriptor |
getInputParameters()
Returns the input parameters for this aspect action. |
java.lang.String |
getName()
Returns the name of the aspect action. |
boolean |
hasInputParameters()
Returns whether the aspect action has input parameters. |
| Field Detail |
public static final int AFFECTS_NOTHING
public static final int AFFECTS_OUTRECORDS
public static final int AFFECTS_ASPECT
public static final int AFFECTS_ALL
public static final java.lang.String ATTRIBUTE_AFFECTS
public static final java.lang.String ATTRIBUTE_ACTION_RELATION
public static final java.lang.String ACTION_SELECT
public static final java.lang.String ACTION_SELECT_BY_RELATION
public static final java.lang.String ACTION_INSERT
public static final java.lang.String ACTION_UPDATE_ROW
public static final java.lang.String ACTION_UPDATE_FIELDS
public static final java.lang.String ACTION_DELETE
| Method Detail |
public java.lang.String getName()
public java.lang.String getDescription()
public IAspectDescriptor getAspectDescriptor()
public boolean hasInputParameters()
true if the action has input parameters,
otherwise false.public IStructureDescriptor getInputParameters()
public IKeyAspectDescriptor getInputKeysDescriptor()
public java.lang.String getAttributeStringValue(java.lang.String attributeName)
null ist returned.attributeName - The name of the attribute.null.public java.lang.String[] getAttributeNames()
public java.lang.String getAttributeStringValue(java.lang.String rowKey,
java.lang.String attributeName)
null ist returned.
This method will return the value that was dynamically set for the
attribute of this aspect action for the given source aspect row. If no
value was set dynamically, the attribute value which was statically
set for this aspect action is returned.rowKey - The key of the aspect rowattributeName - The name of the attribute.null.public java.lang.String[] getAttributeNames(java.lang.String rowKey)
getAttributeStringValue(String rowKey, String attributeName)rowKey - The key of the aspect rowgetAttributeStringValue(String, String)public java.lang.String getAttributeRelation()
public int getAttributeAffects()
AFFECTS_NOTHING,
AFFECTS_OUTRECORDS,
AFFECTS_ASPECT,
AFFECTS_ANYTHINGpublic int getAttributeAffects(java.lang.String rowKey)
rowKey - The key of the aspect rowAFFECTS_NOTHING,
AFFECTS_OUTRECORDS,
AFFECTS_ASPECT,
AFFECTS_ANYTHING
public java.lang.String getFieldAttributeStringValue(java.lang.String fieldName,
java.lang.String attributeName)
null ist returned.fieldName - The name of the field for which the attribute
is stored.attributeName - The name of the attribute.null.public java.lang.String[] getFieldAttributeNames(java.lang.String fieldName)
getInputParameters().
If no attributes are set for the given field, an empty array is
returned.java.lang.IllegalArgumentException - if the field does not exist
in the structure of the input parameter of this aspect action or if this
aspect action does not have an input parameter.getInputParameters(),
hasInputParameters(),
IStructureDescriptor.getFieldDescriptor(int)
|
Cool documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||