Jump to: navigation, search

Difference between revisions of "RULE"


 
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Rules are implemented by the administrator to guarantee specific user behaviour.
+
{{MetaClassInfoBox
 +
| title = Rule
 +
| name = RULE
 +
| internalname = SystemObjects.RULE
 +
| namespace = System.Rule
 +
| image = [[File:SY_RULE.png|220px]]
 +
| imagecaption = Rule
 +
| purpose = Configure rules
 +
| version = 2+
 +
| typestring = UBIK.Kernel.MetaClass
 +
| runtimetype = UBIK.Kernel.NameCreatorRule
 +
}}
 +
A rule object is a content object that can be applied to a [[MetaProperty|MetaProperty]] on a [[MetaClass|MetaClass]], in order to restrict the possible values of user input at a derived [[BaseProperty|BaseProperty]] of a [[ContentClass|ContentClass]].
  
e.g. there may be a rule, which fixes, that there´s no sign "/" in a property ''NAME''
+
[[Category:Metaclasses]]
 
+
[[File:Rule.png|300px|thumb|right|Rule and Rule Item]]
+
==How to create a rule==
+
#At first, a Rule has to be generated.
+
#The second step is to create at least one ruleitem, where the column ''Propertyname'' stays for the property, the rule should be created for and the condition is the information it self.The column ''Operator'' comprises the operator. e.g ''equals'' or ''is not''
+
 
+
[[category:How to...]][[category:UBIK]]
+

Latest revision as of 10:13, 4 November 2015

IC METACLASS.gif Rule
Name RULE
Namespace System.Rule
Internal Name SystemObjects.RULE
TypeString UBIK.Kernel.MetaClass
RuntimeType UBIK.Kernel.NameCreatorRule
Purpose Configure rules
Version 2+

A rule object is a content object that can be applied to a MetaProperty on a MetaClass, in order to restrict the possible values of user input at a derived BaseProperty of a ContentClass.