Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.hale.io.xsd.reader.internal.constraint
Class SkipGeometryValidation

java.lang.Object
  extended by eu.esdihumboldt.hale.common.schema.model.constraint.type.SkipValidation
      extended by 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

Field Summary
 
Fields inherited from class eu.esdihumboldt.hale.common.schema.model.constraint.type.SkipValidation
DISABLED, ENABLED
 
Constructor Summary
protected SkipGeometryValidation()
          Default constructor.
 
Method Summary
static SkipGeometryValidation getInstance()
          Get the shared constraint instance.
 boolean isInheritable()
          Constraint is inherited.
 boolean skipValidation(Object propertyValue)
          Determines if validation should be skipped for a property and its children for the given property value
 
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
 

Constructor Detail

SkipGeometryValidation

protected SkipGeometryValidation()
Default constructor.

Method Detail

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()

Humboldt Alignment Editor 2.5.0

Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d