eu.esdihumboldt.hale.io.xsd.reader.internal.constraint
Class SkipGeometryValidation
java.lang.Object
eu.esdihumboldt.hale.common.schema.model.constraint.type.SkipValidation
eu.esdihumboldt.hale.io.xsd.reader.internal.constraint.SkipGeometryValidation
- All Implemented Interfaces:
- TypeConstraint
@Immutable
public class SkipGeometryValidation
- extends SkipValidation
Controls validation being skipped for geometry properties with an augmented
value set.
- Author:
- Simon Templer
Methods inherited from class eu.esdihumboldt.hale.common.schema.model.constraint.type.SkipValidation |
get |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SkipGeometryValidation
protected SkipGeometryValidation()
- Default constructor.
getInstance
public static SkipGeometryValidation getInstance()
- Get the shared constraint instance.
- Returns:
- the constraint instance
skipValidation
public boolean skipValidation(Object propertyValue)
- Description copied from class:
SkipValidation
- Determines if validation should be skipped for a property and its
children for the given property value
- Overrides:
skipValidation
in class SkipValidation
- Parameters:
propertyValue
- the property value, may be an Instance
- Returns:
- if validation should be skipped for the property and its children
- See Also:
SkipValidation.skipValidation(Object)
isInheritable
public boolean isInheritable()
- Constraint is inherited.
- Specified by:
isInheritable
in interface TypeConstraint
- Overrides:
isInheritable
in class SkipValidation
- Returns:
true
- See Also:
TypeConstraint.isInheritable()
Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d