public interface ObjectFeature extends Specification
object, that
therefore has an underlying type (the type of the property, collection)
For a property or action parameter, is the type. For a collection is the element type. For an action it is always null.
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Returns a description of how the member is used - this complements the
help text.
|
String |
getId()
Returns the identifier of the member, which must not change.
|
String |
getName()
Return the name for this member - the field or action.
|
ObjectSpecification |
getSpecification()
The specification of the underlying type.
|
getFeatureType, getInstancegetIdentifieraddFacet, addFacet, containsDoOpFacet, containsFacet, getFacet, getFacets, getFacetTypes, removeFacet, removeFacetString getId()
String getName()
IdentifiedHolder.getIdentifier()String getDescription()
getDescription in interface Specification#getHelp()ObjectSpecification getSpecification()
For example:
property, will return the
ObjectSpecification of the type that the accessor returns.
collection it will be the type of
element the collection holds (not the type of collection).
action, will always return null.
See instead ObjectAction.getReturnType() and
ObjectAction.getParameterTypes().
action, will return the type of
the parameter}.
Copyright © 2010–2014 The Apache Software Foundation. All rights reserved.