|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AttributeType
Declaration of attribute type.
Please note that this is a formal "dynamic type system", we have not indicated at this level *which* class this attribute type is bound to. As an implementation option getBinding may be restricted to a specific class for compile time checks, this will only be of benefit when implementing wrappers around existing staticly defined Java domain models.
Method Summary | |
---|---|
Class<?> |
getBinding()
Java class bound to this content type. |
Collection<OperationDescriptor> |
getOperations()
Operations that may be invoked against this type. |
Set<Filter> |
getRestrictions()
List of restrictions used to limit the allowable values for objects of this type. |
AttributeType |
getSuper()
Access to super type information. |
boolean |
isAbstract()
Indicate that this AttributeType may not be used directly |
boolean |
isIdentified()
True if this type is usable as a target of a reference. |
Methods inherited from interface PropertyType |
---|
equals, getDescription, getName, getUserData, hashCode, putUserData |
Method Detail |
---|
boolean isIdentified()
AttributeType getSuper()
The super type may contain additional restrictions to be considered, or a definition of isNilable.
getSuper
in interface PropertyType
boolean isAbstract()
isAbstract
in interface PropertyType
Class<?> getBinding()
Set<Filter> getRestrictions()
These restrictions should be considered in light of those available through getSuper, in the case where Restrictions conflict these should be considered complete overrides of the restrictions available via the getSuper.
getRestrictions
in interface PropertyType
Collection<OperationDescriptor> getOperations()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |