org.geotools.validation.spatial
Class LineLineAbstractValidation

Object
  extended by DefaultIntegrityValidation
      extended by LineLineAbstractValidation
All Implemented Interfaces:
IntegrityValidation, Validation
Direct Known Subclasses:
LineEndPointCoveredByLineValidation, LineIntersectsLineWithNodeValidation, LinesNotIntersectValidation, LinesNotOverlapValidation

public abstract class LineLineAbstractValidation
extends DefaultIntegrityValidation

PointCoveredByLineValidation purpose.

Base typeRef functionality for a 2 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
LineLineAbstractValidation()
          PointCoveredByLineValidation constructor.
 
Method Summary
 String getLineTypeRef()
          Access lineTypeRef property.
 String getRestrictedLineTypeRef()
          Access restrictedLineTypeRef property.
 String[] getTypeRefs()
          Implementation of getTypeNames.
 void setLineTypeRef(String lineTypeRef)
          Set lineTypeRef to lineTypeRef.
 void setRestrictedLineTypeRef(String pointTypeRef)
          Set restrictedLineTypeRef to restrictedLineTypeRef.
 
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

LineLineAbstractValidation

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

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.

getRestrictedLineTypeRef

public final String getRestrictedLineTypeRef()
Access restrictedLineTypeRef property.

Returns:
Returns the restrictedLineTypeRef.

setRestrictedLineTypeRef

public final void setRestrictedLineTypeRef(String pointTypeRef)
Set restrictedLineTypeRef to restrictedLineTypeRef.

Parameters:
pointTypeRef - The restrictedLineTypeRef to set.


Copyright © 1996-2009 Geotools. All Rights Reserved.