com.banda.network.domain
Class SpatialNeighbor

java.lang.Object
  extended by com.banda.core.domain.DomainObject<Long>
      extended by com.banda.core.domain.TechnicalDomainObject
          extended by com.banda.network.domain.SpatialNeighbor
All Implemented Interfaces:
com.banda.core.domain.KeyHolder<Long>, Serializable, Comparable<SpatialNeighbor>

public class SpatialNeighbor
extends com.banda.core.domain.TechnicalDomainObject
implements Comparable<SpatialNeighbor>

Since:
2013
Author:
© Peter Banda
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.banda.core.domain.DomainObject
com.banda.core.domain.DomainObject.DomainObjectKeyComparator<K extends Serializable & Comparable<K>>
 
Constructor Summary
SpatialNeighbor()
           
 
Method Summary
 void addCoordinateDiff(Integer coordinateDiff)
           
 int compareTo(SpatialNeighbor spatialNeighbor)
           
 List<Integer> getCoordinateDiffs()
           
 Integer getIndex()
           
 SpatialNeighborhood getParent()
           
 void setCoordinateDiffs(List<Integer> coordinateDiffs)
           
 void setIndex(Integer index)
           
protected  void setParent(SpatialNeighborhood parent)
           
 
Methods inherited from class com.banda.core.domain.TechnicalDomainObject
getId, getKey, getVersion, setId, setKey, setVersion
 
Methods inherited from class com.banda.core.domain.DomainObject
copyFrom, equals, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SpatialNeighbor

public SpatialNeighbor()
Method Detail

getIndex

public Integer getIndex()

setIndex

public void setIndex(Integer index)

getCoordinateDiffs

public List<Integer> getCoordinateDiffs()

setCoordinateDiffs

public void setCoordinateDiffs(List<Integer> coordinateDiffs)

addCoordinateDiff

public void addCoordinateDiff(Integer coordinateDiff)

getParent

public SpatialNeighborhood getParent()

setParent

protected void setParent(SpatialNeighborhood parent)

compareTo

public int compareTo(SpatialNeighbor spatialNeighbor)
Specified by:
compareTo in interface Comparable<SpatialNeighbor>


Copyright © 2013. All Rights Reserved.