org.geotools.validation.spatial
Class LinePointAbstractValidation

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

public abstract class LinePointAbstractValidation
extends DefaultIntegrityValidation

PointCoveredByLineValidation purpose.

Basic typeref functionality for a point-line 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
LinePointAbstractValidation()
          PointCoveredByLineValidation constructor.
 
Method Summary
 String getLineTypeRef()
          Access restrictedPointTypeRef property.
 String getRestrictedPointTypeRef()
          Access lineTypeRef property.
 String[] getTypeRefs()
          Implementation of getTypeNames.
 void setLineTypeRef(String lineTypeRef)
          Set restrictedPointTypeRef to restrictedPointTypeRef.
 void setRestrictedPointTypeRef(String polygonTypeRef)
          Set lineTypeRef to lineTypeRef.
 
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

LinePointAbstractValidation

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

getLineTypeRef

public final String getLineTypeRef()
Access restrictedPointTypeRef property.

Returns:
Returns the restrictedPointTypeRef.

setLineTypeRef

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

Parameters:
lineTypeRef - The restrictedPointTypeRef to set.

getRestrictedPointTypeRef

public final String getRestrictedPointTypeRef()
Access lineTypeRef property.

Returns:
Returns the lineTypeRef.

setRestrictedPointTypeRef

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

Parameters:
polygonTypeRef - The lineTypeRef to set.


Copyright © 1996-2009 Geotools. All Rights Reserved.