ApplicationFeature
API
interface ApplicationFeature {
ApplicationFeatureId getFeatureId()
String getFullyQualifiedName()
Optional<ApplicationMemberSort> getMemberSort() (1)
SortedSet<ApplicationFeatureId> getMembersOfSort(ApplicationMemberSort memberSort)
Optional<Class<?>> getActionReturnType() (2)
Optional<SemanticsOf> getActionSemantics() (3)
boolean isPropertyOrCollectionDerived() (4)
OptionalInt getPropertyTypicalLength() (5)
OptionalInt getPropertyMaxLength() (6)
SortedSet<ApplicationFeatureId> getContents()
SortedSet<ApplicationFeatureId> getProperties()
SortedSet<ApplicationFeatureId> getCollections()
SortedSet<ApplicationFeatureId> getActions()
}
1 | getMemberSort()
Returns optionally the member sort, based on whether this feature is of sort ApplicationFeatureSort#MEMBER . |
2 | getActionReturnType()
Returns optionally the action’s return type, based on whether this feature is of sorts ApplicationFeatureSort#MEMBER member and ApplicationMemberSort#ACTION action . |
3 | getActionSemantics()
Returns optionally the action’s semantics, based on whether this feature is of sorts ApplicationFeatureSort#MEMBER member and ApplicationMemberSort#ACTION action . |
4 | isPropertyOrCollectionDerived()
Returns whether the property or collection feature is derived. |
5 | getPropertyTypicalLength()
Returns optionally the property’s semantics, based on whether this feature is of sorts ApplicationFeatureSort#MEMBER member and ApplicationMemberSort#PROPERTY property . |
6 | getPropertyMaxLength()
Returns optionally the property’s max-length constraint, based on whether this feature is of sorts ApplicationFeatureSort#MEMBER member and ApplicationMemberSort#PROPERTY property . |
Members
getMemberSort()
Returns optionally the member sort, based on whether this feature is of sort ApplicationFeatureSort#MEMBER .
getActionReturnType()
Returns optionally the action’s return type, based on whether this feature is of sorts ApplicationFeatureSort#MEMBER member and ApplicationMemberSort#ACTION action .
getActionSemantics()
Returns optionally the action’s semantics, based on whether this feature is of sorts ApplicationFeatureSort#MEMBER member and ApplicationMemberSort#ACTION action .
Implementation
The core framework (MetaModel module) provides a default implementation, ApplicationFeatureDefault