org.geotools.validation.spatial
Class LineAbstractValidation

Object
  extended by DefaultIntegrityValidation
      extended by LineAbstractValidation
All Implemented Interfaces:
IntegrityValidation, Validation
Direct Known Subclasses:
LineNoDanglesValidation, LineNoPseudoNodeValidation

public abstract class LineAbstractValidation
extends DefaultIntegrityValidation

PointCoveredByLineValidation purpose.

Basic typeref functionality for a line validation.

Author:
dzwiers, Refractions Research, Inc., $Author: dmzwiers $ (last modification)

Field Summary
 
Fields inherited from interface Validation
ALL, PRIORITY_COMPLEX, PRIORITY_INVOLVED, PRIORITY_SIMPLE, PRIORITY_TRIVIAL
 
Constructor Summary
LineAbstractValidation()
          PointCoveredByLineValidation constructor.
 
Method Summary
 String getLineTypeRef()
          Access lineTypeRef property.
 String[] getTypeRefs()
          Implementation of getTypeNames.
 void setLineTypeRef(String lineTypeRef)
          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

LineAbstractValidation

public LineAbstractValidation()
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 lineTypeRef property.

Returns:
Returns the lineTypeRef.

setLineTypeRef

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

Parameters:
lineTypeRef - The lineTypeRef to set.


Copyright © 1996-2014 Geotools. All Rights Reserved.