org.geotools.validation.spatial
Class LineLineAbstractValidation

java.lang.Object
  extended byorg.geotools.validation.DefaultIntegrityValidation
      extended byorg.geotools.validation.spatial.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.

Version:
$Id: LineLineAbstractValidation.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
LineLineAbstractValidation()
          PointCoveredByLineValidation constructor.
 
Method Summary
 java.lang.String getLineTypeRef()
          Access lineTypeRef property.
 java.lang.String getRestrictedLineTypeRef()
          Access restrictedLineTypeRef property.
 java.lang.String[] getTypeRefs()
          Implementation of getTypeNames.
 void setLineTypeRef(java.lang.String lineTypeRef)
          Set lineTypeRef to lineTypeRef.
 void setRestrictedLineTypeRef(java.lang.String pointTypeRef)
          Set restrictedLineTypeRef to restrictedLineTypeRef.
 
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

LineLineAbstractValidation

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

getLineTypeRef

public final java.lang.String getLineTypeRef()
Access lineTypeRef property.

Returns:
Returns the lineTypeRef.

setLineTypeRef

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

Parameters:
lineTypeRef - The lineTypeRef to set.

getRestrictedLineTypeRef

public final java.lang.String getRestrictedLineTypeRef()
Access restrictedLineTypeRef property.

Returns:
Returns the restrictedLineTypeRef.

setRestrictedLineTypeRef

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

Parameters:
pointTypeRef - The restrictedLineTypeRef to set.


Copyright © GeoTools. All Rights Reserved.