org.geotools.validation.spatial
Class PointPolygonAbstractValidation

java.lang.Object
  extended byorg.geotools.validation.DefaultIntegrityValidation
      extended byorg.geotools.validation.spatial.PointPolygonAbstractValidation
All Implemented Interfaces:
IntegrityValidation, Validation
Direct Known Subclasses:
PointCoveredByPolygonBoundaryValidation, PointCoveredByPolygonValidation, PointInsidePolygonValidation

public abstract class PointPolygonAbstractValidation
extends DefaultIntegrityValidation

PointCoveredByLineValidation purpose.

Basic typeref functionality for a point-polygon validation.

Version:
$Id: PointPolygonAbstractValidation.java 17704 2006-01-23 00:26:16Z desruisseaux $
Author:
dzwiers, Refractions Research, Inc., $Author: dmzwiers $ (last modification)

Field Summary
 
Fields inherited from interface org.geotools.validation.Validation
ALL, PRIORITY_COMPLEX, PRIORITY_INVOLVED, PRIORITY_SIMPLE, PRIORITY_TRIVIAL
 
Constructor Summary
PointPolygonAbstractValidation()
          PointCoveredByLineValidation constructor.
 
Method Summary
 java.lang.String getPointTypeRef()
          Access restrictedPolygonTypeRef property.
 java.lang.String getRestrictedPolygonTypeRef()
          Access pointTypeRef property.
 java.lang.String[] getTypeRefs()
          Implementation of getTypeNames.
 void setPointTypeRef(java.lang.String polygonTypeRef)
          Set restrictedPolygonTypeRef to restrictedPolygonTypeRef.
 void setRestrictedPolygonTypeRef(java.lang.String lineTypeRef)
          Set pointTypeRef to pointTypeRef.
 
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
 

Constructor Detail

PointPolygonAbstractValidation

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

getRestrictedPolygonTypeRef

public final java.lang.String getRestrictedPolygonTypeRef()
Access pointTypeRef property.

Returns:
Returns the pointTypeRef.

setRestrictedPolygonTypeRef

public final void setRestrictedPolygonTypeRef(java.lang.String lineTypeRef)
Set pointTypeRef to pointTypeRef.

Parameters:
lineTypeRef - The pointTypeRef to set.

getPointTypeRef

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

Returns:
Returns the restrictedPolygonTypeRef.

setPointTypeRef

public final void setPointTypeRef(java.lang.String polygonTypeRef)
Set restrictedPolygonTypeRef to restrictedPolygonTypeRef.

Parameters:
polygonTypeRef - The restrictedPolygonTypeRef to set.


Copyright © GeoTools. All Rights Reserved.