org.geotools.validation.relate
Class RelationIntegrity

java.lang.Object
  extended byorg.geotools.validation.DefaultIntegrityValidation
      extended byorg.geotools.validation.relate.RelationIntegrity
All Implemented Interfaces:
IntegrityValidation, Validation
Direct Known Subclasses:
ContainsIntegrity, CrossesIntegrity, DisjointIntegrity, IntersectsIntegrity, OverlapsIntegrity, RelateIntegrity, TouchesIntegrity, WithinIntegrity

public abstract class RelationIntegrity
extends DefaultIntegrityValidation

Author:
bowens TODO To change the template for this generated type comment go to Window - Preferences - Java - Code Generation - Code and Comments

Field Summary
protected static java.lang.String EMPTY
           
protected  boolean expected
           
 
Fields inherited from interface org.geotools.validation.Validation
ALL, PRIORITY_COMPLEX, PRIORITY_INVOLVED, PRIORITY_SIMPLE, PRIORITY_TRIVIAL
 
Constructor Summary
RelationIntegrity()
          PointCoveredByLineValidation constructor.
 
Method Summary
 java.lang.String getGeomTypeRefA()
          Access polygonTypeRef property.
 java.lang.String getGeomTypeRefB()
          Access restrictedPolygonTypeRef property.
 java.lang.String[] getTypeRefs()
          Implementation of getTypeNames.
 boolean isExpected()
           
 void setExpected(boolean arg)
           
 void setExpected(java.lang.String exp)
           
 void setGeomTypeRefA(java.lang.String typeRefA)
          Set polygonTypeRef to polygonTypeRef.
 void setGeomTypeRefB(java.lang.String typeRefB)
          Set restrictedPolygonTypeRef to restrictedPolygonTypeRef.
 
Methods inherited from class org.geotools.validation.DefaultIntegrityValidation
getDescription, getName, getPriority, setDescription, setName, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EMPTY

protected static final java.lang.String EMPTY
See Also:
Constant Field Values

expected

protected boolean expected
Constructor Detail

RelationIntegrity

public RelationIntegrity()
PointCoveredByLineValidation constructor.

Super

Method Detail

getTypeRefs

public java.lang.String[] getTypeRefs()
Implementation of getTypeNames. Should be called by sub-classes is being overwritten.

Specified by:
getTypeRefs in interface Validation
Overrides:
getTypeRefs in class DefaultIntegrityValidation
Returns:
Array of typeNames, or empty array for all, null for disabled
See Also:
org.geotools.validation.Validation#getTypeNames()

getGeomTypeRefA

public final java.lang.String getGeomTypeRefA()
Access polygonTypeRef property.

Returns:
Returns the polygonTypeRef.

setGeomTypeRefA

public final void setGeomTypeRefA(java.lang.String typeRefA)
Set polygonTypeRef to polygonTypeRef.


getGeomTypeRefB

public final java.lang.String getGeomTypeRefB()
Access restrictedPolygonTypeRef property.

Returns:
Returns the restrictedPolygonTypeRef.

setGeomTypeRefB

public final void setGeomTypeRefB(java.lang.String typeRefB)
Set restrictedPolygonTypeRef to restrictedPolygonTypeRef.


setExpected

public final void setExpected(java.lang.String exp)

setExpected

public final void setExpected(boolean arg)

isExpected

public final boolean isExpected()


Copyright © GeoTools. All Rights Reserved.