Package com.adobe.xmp.schema.model.rules
Class DateRule
- java.lang.Object
 - 
- com.adobe.xmp.schema.model.rules.DateRule
 
 
- 
- All Implemented Interfaces:
 TypeRule,java.io.Serializable
public class DateRule extends java.lang.Object implements TypeRule
This rule applies for the type "Date".- See Also:
 - Serialized Form
 
 
- 
- 
Nested Class Summary
- 
Nested classes/interfaces inherited from interface com.adobe.xmp.schema.model.TypeRule
TypeRule.ComparisonOperator, TypeRule.LogicalOperator 
 - 
 
- 
Constructor Summary
Constructors Constructor Description DateRule(TypeRule.ComparisonOperator operator, java.lang.String operand)Constructs a new DateRule. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(SchemaVisitor schemaVisitor)java.lang.StringgetOperand()TypeRule.ComparisonOperatorgetOperator() 
 - 
 
- 
- 
Constructor Detail
- 
DateRule
public DateRule(TypeRule.ComparisonOperator operator, java.lang.String operand)
Constructs a new DateRule.- Parameters:
 operator- the comparison operatoroperand- the date to compare with
 
 - 
 
- 
Method Detail
- 
getOperator
public TypeRule.ComparisonOperator getOperator()
- Returns:
 - Returns the operator.
 
 
- 
getOperand
public java.lang.String getOperand()
- Returns:
 - the argument.
 
 
- 
accept
public void accept(SchemaVisitor schemaVisitor) throws XMPSchemaException
- Specified by:
 acceptin interfaceTypeRule- Parameters:
 schemaVisitor- a visitor that implements theSchemaVisitor-interface- Throws:
 XMPSchemaException- See Also:
 TypeRule.accept(com.adobe.xmp.schema.model.SchemaVisitor)
 
 - 
 
 -