org.tm4j.panckoucke.model .AMGestaltRegistry
Description
This class provides Applications with an extendable Registry
for AMGestalt-Instances.
An Application may register any number of AMGestalt-Constants, which
indicate internal concepts of this Application.
You may register as many AMGestalt-Instances as you want, as long
as no duplicate iD is encountered.
In order to ensure unique ids a good approach might be,
using a package of your application as the base for the ids.
This is how the constants defined in this class are setup.
For example, the constant TOPIC, which is used as the ID
for AMGestalt GESTALT_TOPIC is defined as
'org.tm4j.panckoucke.abstraction.model.TOPIC'
Inheritance Hierarchy
- java.lang.Object
- AMGestaltRegistry
Field Summary | |
---|---|
ASSOCIATION | Code to be used for an Association. The PSI for a Topic Map Association. |
CLASS | Class Role: The "Class" role in a Class-Instance association. |
GESTALT_ASSOCIATION | serves to indicate a AMMember which should be taken as an Association |
GESTALT_CLASS | serves to indicate a AMMember which should be taken as a Class |
GESTALT_INSTANCE | serves to indicate a AMMember which should be taken as an Instance |
GESTALT_MEMBER | serves to indicate a AMMember which should be taken as a Member |
GESTALT_NAME | serves to indicate a AMMember which should be taken as a Name |
GESTALT_OCCURRENCE | serves to indicate a AMMember which should be taken as an Occurrence |
GESTALT_PLAYER | serves to indicate a AMMember which should be taken as a Player in an Association |
GESTALT_REIFIER | serves to indicate a AMMember that represents a Topic that reifies another element |
GESTALT_ROLE | serves to indicate a AMMember which should be taken as a RoleSpec |
GESTALT_ROLE_PLAYER | serves to indicate a AMMember which should be taken as tuple of two TopicMapObjects. |
GESTALT_SCOPE | serves to indicate a AMMember which should be taken as a Scope |
GESTALT_SUBJECT | serves to indicate a AMMember which should be taken as a constituting Subject |
GESTALT_SUBJECT_INDICATOR | serves to indicate a AMMember which should be taken as a SubjectIndicator |
GESTALT_THEME | serves to indicate a AMMember which should be taken as a Topic contributing to a Scope |
GESTALT_TOPIC | serves to indicate a AMMember which should be taken as a Topic |
GESTALT_TOPICMAP | serves to indicate a AMMember which should be taken as a Topicmap |
INSTANCE | Instance Role: The "Instance" role in a Class-Instance association. |
MEMBER | Code to be used for a Member. |
NAME | |
OCCURRENCE | Code to be used for an Occurrence. The PSI for a Topic Map Occurrence. |
PLAYER | |
REIFIER | |
ROLE | |
ROLE_PLAYER | |
SCOPE | Code to be used for a Scope. |
SUBJECT | |
SUBJECT_INDICATOR | |
THEME | |
TOPIC | Code to be used for a Topic. The PSI for a Topic Map Topic. |
TOPICMAP | Code to be used for a TopicMap. |
Method Summary | |
---|---|
java.lang.String | getID(org.tm4j.panckoucke.model.AMGestalt gestalt) |
AMGestalt | getInstance(java.lang.String id) |
AMGestalt |
registerInstance(java.lang.String id)
creates a new instance of AMGestalt and registers it
under the given id.
|