|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AssociationType
Association information, immutable.
The model must recognise the following specific Association types:
Note: I am treating the domain of the association type similar to that of Attribute Type, the intention is to indicate the relationship that a FeatureCollection has with its contents (specifically a memberOf).
Care should be taken with associations, keep the aggregation, spatial, temporal goal in mind:
You may gather associations into a hierarchy and refine where needed, thus a lake could be associated with "connected" rivers, and thus refined with "up stream" and "down stream".
Method Summary | |
---|---|
AttributeType |
getReferenceType()
AttributeType related by this association. |
Set<Filter> |
getRestrictions()
List of restrictions used to limit the allowable values for objects of this type. |
AssociationType |
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()
AssociationType getSuper()
The super type may contain additional restrictions to be considered, or a definition of isNilable.
getSuper
in interface PropertyType
boolean isAbstract()
An example abstract association would be "spatial" which would need to be sub typed to indicate "touches" or "contained".
isAbstract
in interface PropertyType
AttributeType getReferenceType()
This is the AttributeType you are in effect pointing to by using an association.
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |