org.geotools.validation.spatial
Class PolygonPointAbstractValidation

Object
  extended by DefaultIntegrityValidation
      extended by PolygonPointAbstractValidation
All Implemented Interfaces:
IntegrityValidation, Validation

public abstract class PolygonPointAbstractValidation
extends DefaultIntegrityValidation

PointCoveredByLineValidation purpose.

Basic typeref functionality for a point-polygon validation.

Author:
dzwiers, Refractions Research, Inc., $Author: dmzwiers $ (last modification)
Module:
modules/extension/validation (gt-validation.jar)

Field Summary
 
Fields inherited from interface Validation
ALL, PRIORITY_COMPLEX, PRIORITY_INVOLVED, PRIORITY_SIMPLE, PRIORITY_TRIVIAL
 
Constructor Summary
PolygonPointAbstractValidation()
          PointCoveredByLineValidation constructor.
 
Method Summary
 String getPolygonTypeRef()
          Access restrictedPointTypeRef property.
 String getRestrictedPointTypeRef()
          Access polygonTypeRef property.
 String[] getTypeRefs()
          Implementation of getTypeNames.
 void setPolygonTypeRef(String lineTypeRef)
          Set restrictedPointTypeRef to restrictedPointTypeRef.
 void setRestrictedPointTypeRef(String polygonTypeRef)
          Set polygonTypeRef to polygonTypeRef.
 
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
 

Constructor Detail

PolygonPointAbstractValidation

public PolygonPointAbstractValidation()
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:
org.geotools.validation.Validation#getTypeNames()

getPolygonTypeRef

public final String getPolygonTypeRef()
Access restrictedPointTypeRef property.

Returns:
Returns the restrictedPointTypeRef.

setPolygonTypeRef

public final void setPolygonTypeRef(String lineTypeRef)
Set restrictedPointTypeRef to restrictedPointTypeRef.

Parameters:
lineTypeRef - The restrictedPointTypeRef to set.

getRestrictedPointTypeRef

public final String getRestrictedPointTypeRef()
Access polygonTypeRef property.

Returns:
Returns the polygonTypeRef.

setRestrictedPointTypeRef

public final void setRestrictedPointTypeRef(String polygonTypeRef)
Set polygonTypeRef to polygonTypeRef.

Parameters:
polygonTypeRef - The polygonTypeRef to set.


Copyright © 1996-2010 Geotools. All Rights Reserved.