Package com.adobe.xmp.schema.model.rules
Class OpenChoice
java.lang.Object
com.adobe.xmp.schema.model.rules.ClosedChoice
com.adobe.xmp.schema.model.rules.OpenChoice
- All Implemented Interfaces:
TypeRule,Serializable
The rule covers the XMP types "open choice".
An arbitrary number of vocabulary can be added.
Additionally, this rule allows for arbitrary values,
while the vocabulary is rather a guidance for the UI.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.adobe.xmp.schema.model.TypeRule
TypeRule.ComparisonOperator, TypeRule.LogicalOperator -
Constructor Summary
ConstructorsConstructorDescriptionOpenChoice(Vocable.Type vocablularyType) Constructor gets the type information of the Vocabulary. -
Method Summary
Methods inherited from class com.adobe.xmp.schema.model.rules.ClosedChoice
accept, addVocable, addVocable, getVocabulary
-
Constructor Details
-
OpenChoice
Constructor gets the type information of the Vocabulary.
-
-
Method Details
-
getRule
- Returns:
- Returns the rule which constrains the values for the open values.
-
setRule
- Parameters:
rule- Sets the rule for the open values. This rule has to be type-compatible with the vocabulary of the rule
-