|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface OperationType
The type of operations to be invoked on an attribute.
Invoking an operation on an attribute is used to calculate a derived quantity or update attribute state. OperationType is used to define the required parameters and expected result for an Operation.
| Method Summary | |
|---|---|
List<AttributeType> |
getParameters()
We need the following AttributeTypes as parameters. |
List<Filter> |
getRestrictions()
List of restrictions used to limit the allowable returned value. |
AttributeType |
getResult()
Indicates the expected result type, may be null. |
OperationType |
getSuper()
Access to super type information. |
AttributeType |
getTarget()
AttributeType this operation type can function against. |
boolean |
isAbstract()
Indicate that this OperationType may not be used directly. |
| Methods inherited from interface PropertyType |
|---|
equals, getBinding, getDescription, getName, getUserData, hashCode |
| Method Detail |
|---|
OperationType getSuper()
The super type of an operation provides additional restrictions and description for this operation.
getSuper in interface PropertyTypeboolean isAbstract()
This indicates that a sub type will need to actually define the operation meaning here. As an example a graph system could have an Edge that would have "related" operation returning that was abstract, and a sub type road would define "related" based on touches, or "contains" or "common vertex".
isAbstract in interface PropertyTypetrue if the type is abstract, otherwise false.AttributeType getTarget()
AttributeType getResult()
null.
nullList<AttributeType> getParameters()
Note we do not need AttributeDescriptors here as parameters are ordered, so name is not needed.
List<Filter> getRestrictions()
getRestrictions in interface PropertyType
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||