Package com.adobe.xmp.schema.model.rules
Class IntegerRule
java.lang.Object
com.adobe.xmp.schema.model.rules.IntegerRule
- All Implemented Interfaces:
TypeRule,Serializable
This rule models a comparison of an Integer property with a constant argument.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.adobe.xmp.schema.model.TypeRule
TypeRule.ComparisonOperator, TypeRule.LogicalOperator -
Constructor Summary
ConstructorsConstructorDescriptionIntegerRule(TypeRule.ComparisonOperator operator, long value) Constructs a new IntegerRule. -
Method Summary
-
Constructor Details
-
IntegerRule
Constructs a new IntegerRule.- Parameters:
operator- the comparison operatorvalue- the integer to compare with
-
-
Method Details
-
getOperator
- Returns:
- Returns the operator.
-
getOperand
public long getOperand()- Returns:
- Returns the operand.
-
accept
- Specified by:
acceptin interfaceTypeRule- Parameters:
schemaVisitor- a visitor that implements theSchemaVisitor-interface- Throws:
XMPSchemaException- See Also:
-