|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PropertyType
PropertyType information, captured as AttributeType, AssociationType and OperationType.
The following information from the GFM MetaModel are represented:
We meet the following requirements:
Method Summary | |
---|---|
boolean |
equals(Object other)
PropertyType identity should be based on TypeName. |
InternationalString |
getDescription()
A description for the type is allowed. |
Name |
getName()
Indicates the actual name of this PropertyType. |
Set<Filter> |
getRestrictions()
List of restrictions used to limit the allowable values for objects of this type. |
PropertyType |
getSuper()
Access to super type information. |
Object |
getUserData(Object key)
Used to retrieve application specific data associated with this PropertyType. |
int |
hashCode()
Hashcode should be based on TypeName. |
boolean |
isAbstract()
Indicate that this PropertyType may not be used directly and must be subtyped |
void |
putUserData(Object key,
Object data)
Used to hold application specific data associated with this PropertyType. |
Method Detail |
---|
Name getName()
TypeName is used, and becomes important when working with supertypes and complex content for AttributeTypes.
Follows Java beans naming conventions indicating this is part of our data model.
PropertyType getSuper()
The super type may contain additional restrictions to be considered, or a definition of isNilable.
boolean isAbstract()
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.
In the GFM this is known as constraints.
boolean equals(Object other)
equals
in class Object
int hashCode()
hashCode
in class Object
InternationalString getDescription()
InternationalString is used to allow for translations.
Object getUserData(Object key)
Client application often are forced to keep tract of additional informal
metadata during processing or transformation opperations. By supporting
user data in a limited way offer a way to prevent the creation of
numerous Map
There is no bridge from our Type system to the formal ISO Metadata classes right now, please use this facility as a temporary measure and join us on the developers list as we would request your assistence.
key
- key used to retrive user data
void putUserData(Object key, Object data)
Client application often are forced to keep tract of additional informal
metadata during processing or transformation opperations. By supporting
user data in a limited way offer a way to prevent the creation of
numerous Map
There is no bridge from our Type system to the formal ISO Metadata classes right now, please use this facility as a temporary measure and join us on the developers list as we would request your assistence.
User's please note the following limitations on this facility:
key
- key used to retrive user data
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |