Difference between revisions of "HowTo:Assign a Classification to a MetaClass"
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | [[Entity_Data_Model#MetaClass_.26_Classification|Classifications]], either [[:Category: | + | [[Entity_Data_Model#MetaClass_.26_Classification|Classifications]], either [[:Category:Classifications|built-in]] or own created, can be assigned to a MetaClass enriching its features and behavior. For example, it is possible to define objects eg. as [[DOCUMENT|documents]], [[SYSCLS_GEO|Points of Interest]], [[SYSCLS_TASK|Tasks]], etc. |
# Navigate to a classification object in the {{CB}} (here: built-in only)<br/>[[File:UI_Classification_01.PNG|220 px|border|alt=Classification|Classification]] | # Navigate to a classification object in the {{CB}} (here: built-in only)<br/>[[File:UI_Classification_01.PNG|220 px|border|alt=Classification|Classification]] | ||
# Assign a classification to a MetaClass either by | # Assign a classification to a MetaClass either by | ||
− | #* using the ''[[Class Details#Classification|Classification View]]'' of the {{ | + | #* using the ''[[Class Details#Classification|Classification View]]'' of the {{Class_Details}} control and drag and drop the classification object onto the MetaClass<br/>[[File:UI Classification_02.PNG|220px|border|alt=Classification|Classification]] |
− | #* using the ''[[Relation_Editor#Drag_.26_Drop|Relation Editor]]'' control | + | #* using the ''[[Relation_Editor#Drag_.26_Drop|Relation Editor]]'' control to relate a classification to the MetaClass via the [[SYSREL_CLASSIFICATION]] relation<br/>[[File:CLASSIFICATION_01.PNG|450px|border|alt=Relation Editor|Relation Editor]] |
+ | # Ensure, that the [[MetaClass]] implements all the [[MetaProperty|MetaProperties]] which are defined by the Classification. Use e.g. the [[Class Details]] Control to [[HowTo:Add_a_MetaProperty_to_a_MetaClass|add the needed properties]].<!-- | ||
+ | -->{{Hint| If a classification presupposes MetaProperties you will have to implement all of them to conform the definiton!}} | ||
+ | # Use the [[Object Explorer]] to check whether the Classification is fully implemented: The related classification must be shown under ''AllClassificationInterfaces'' and once all properties are available, you must see your classification under ''AllImplementedClassificationInterfaces''.<br/>[[File:CLASSIFICATION_02.PNG|700px|border|alt=Object Explorer|Object Explorer]]<!-- | ||
+ | -->{{Hint|You will find the implemented Classification and all the classification it derives from in the ''AllImplementedClassificationInterfaces'' section.}} | ||
+ | # Once you classified the object(s) you need to ensure that the data is transfered to the clients (e.g. mobile clients) via the [[Web Service]]. Therefore you need to create a [[ContextScope]] for your MetaClass and add all the defined properties to it via the Relation Editor. | ||
+ | # Add the Context Scope to the Application / Context. <br/>[[File:UI_HowTo_Prepare_a_Document_for_Redlining_04.png|500 px|border|alt=Create context scopes|Create context scopes]] | ||
+ | #* As an alternative to defining the classification on the MetaClass, you can relate the classification directly to the Context Scope by adding it to the [[SYSREL_SCOPE_CLASSIFICATION]] within the ACM.<!-- | ||
+ | -->{{Attention|Use this way only if it is not possible to define the classificatoin on the MetaClass (e.g. Queries)}} | ||
+ | # Use the ACM Manager to verify the final definitions. You must find the ID of the implemented classification in the list of ''Classifications''. <br/>[[File:CLASSIFICATION_03.PNG|700px|border|alt=Class Details|ACM Manager]] | ||
− | + | ==See also== | |
+ | * [[HowTo:Add_a_MetaProperty_to_a_MetaClass|Add a MetaProperty to a MetaClass]] | ||
+ | * [[ACM Manager]] | ||
+ | * [[Object Explorer]] | ||
+ | * [[Relation Editor]] | ||
− | [[Category:Classifying]] | + | [[Category:Classifying|Assign a Classification to a MetaClass]] |
− | [[Category:How-To]] | + | [[Category:How-To|Assign a Classification to a MetaClass]] |
Latest revision as of 10:51, 21 July 2015
Classifications, either built-in or own created, can be assigned to a MetaClass enriching its features and behavior. For example, it is possible to define objects eg. as documents, Points of Interest, Tasks, etc.
- Navigate to a classification object in the Class Browser (here: built-in only)
- Assign a classification to a MetaClass either by
- using the Classification View of the Class Details control and drag and drop the classification object onto the MetaClass
- using the Relation Editor control to relate a classification to the MetaClass via the SYSREL CLASSIFICATION relation
- using the Classification View of the Class Details control and drag and drop the classification object onto the MetaClass
- Ensure, that the MetaClass implements all the MetaProperties which are defined by the Classification. Use e.g. the Class Details Control to add the needed properties.
- Use the Object Explorer to check whether the Classification is fully implemented: The related classification must be shown under AllClassificationInterfaces and once all properties are available, you must see your classification under AllImplementedClassificationInterfaces.
- Once you classified the object(s) you need to ensure that the data is transfered to the clients (e.g. mobile clients) via the Web Service. Therefore you need to create a ContextScope for your MetaClass and add all the defined properties to it via the Relation Editor.
- Add the Context Scope to the Application / Context.
- As an alternative to defining the classification on the MetaClass, you can relate the classification directly to the Context Scope by adding it to the SYSREL SCOPE CLASSIFICATION within the ACM.
- Use the ACM Manager to verify the final definitions. You must find the ID of the implemented classification in the list of Classifications.