org.geotools.validation.spatial
Class PolygonLineAbstractValidation

Object
  extended by DefaultIntegrityValidation
      extended by PolygonLineAbstractValidation
All Implemented Interfaces:
IntegrityValidation, Validation
Direct Known Subclasses:
PolygonNotOverlappingLineValidation

public abstract class PolygonLineAbstractValidation
extends DefaultIntegrityValidation

PointCoveredByLineValidation purpose.

Basic typeref functionality for a line-polygon 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
PolygonLineAbstractValidation()
          PointCoveredByLineValidation constructor.
 
Method Summary
 String getPolygonTypeRef()
          Access restrictedLineTypeRef property.
 String getRestrictedLineTypeRef()
          Access polygonTypeRef property.
 String[] getTypeRefs()
          Implementation of getTypeNames.
 void setPolygonTypeRef(String polygonTypeRef)
          Set restrictedLineTypeRef to restrictedLineTypeRef.
 void setRestrictedLineTypeRef(String lineTypeRef)
          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

PolygonLineAbstractValidation

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

getRestrictedLineTypeRef

public final String getRestrictedLineTypeRef()
Access polygonTypeRef property.

Returns:
Returns the polygonTypeRef.

setRestrictedLineTypeRef

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

Parameters:
lineTypeRef - The polygonTypeRef to set.

getPolygonTypeRef

public final String getPolygonTypeRef()
Access restrictedLineTypeRef property.

Returns:
Returns the restrictedLineTypeRef.

setPolygonTypeRef

public final void setPolygonTypeRef(String polygonTypeRef)
Set restrictedLineTypeRef to restrictedLineTypeRef.

Parameters:
polygonTypeRef - The restrictedLineTypeRef to set.


Copyright © 1996-2014 Geotools. All Rights Reserved.