org.geotools.validation.relate
Class RelationIntegrity

Object
  extended by DefaultIntegrityValidation
      extended by 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
Module:
modules/extension/validation (gt-validation.jar)

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

Field Detail

EMPTY

protected static final String EMPTY
See Also:
Constant Field Values

expected

protected boolean expected
Constructor Detail

RelationIntegrity

public RelationIntegrity()
PointCoveredByLineValidation constructor.

Super

Method Detail

getTypeRefs

public 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:
Validation.getTypeRefs()

getGeomTypeRefA

public final String getGeomTypeRefA()
Access polygonTypeRef property.

Returns:
Returns the polygonTypeRef.

setGeomTypeRefA

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

Parameters:
typeRefA - A String with the polygonTypeRef to set.

getGeomTypeRefB

public final String getGeomTypeRefB()
Access restrictedPolygonTypeRef property.

Returns:
Returns the restrictedPolygonTypeRef.

setGeomTypeRefB

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

Parameters:
typeRefB - A String with the restrictedPolygonTypeRef to set.

setExpected

public final void setExpected(String exp)

setExpected

public final void setExpected(boolean arg)

isExpected

public final boolean isExpected()


Copyright © 1996-2009 Geotools. All Rights Reserved.