public interface OperationType extends PropertyType
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.
| Modifier and Type | Method and Description |
|---|---|
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.
|
equals, getBinding, getDescription, getName, getUserData, hashCodeOperationType 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 PropertyTypeCopyright © 1996–2021 Geotools. All rights reserved.