com.banda.network.domain
Class WeightedEdge<TYPE>

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

public class WeightedEdge<TYPE>
extends Edge

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

Nested Class Summary
 
Nested classes/interfaces inherited from class com.banda.core.domain.DomainObject
DomainObject.DomainObjectKeyComparator<K extends Serializable & Comparable<K>>
 
Constructor Summary
WeightedEdge()
           
WeightedEdge(TopologicalNode start, TopologicalNode end, TYPE weight)
           
 
Method Summary
 TYPE getWeight()
           
 Class<TYPE> getWeightClazz()
           
protected  String getWeightClazzName()
           
 void setWeight(TYPE weight)
           
protected  void setWeightClazz(Class<TYPE> weightClazz)
           
protected  void setWeightClazzName(String weightClazzName)
           
 String toString()
           
 
Methods inherited from class com.banda.network.domain.Edge
getEnd, getStart, setEnd, setStart
 
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
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WeightedEdge

public WeightedEdge()

WeightedEdge

public WeightedEdge(TopologicalNode start,
                    TopologicalNode end,
                    TYPE weight)
Method Detail

getWeight

public TYPE getWeight()

setWeight

public void setWeight(TYPE weight)

getWeightClazz

public Class<TYPE> getWeightClazz()

setWeightClazz

protected void setWeightClazz(Class<TYPE> weightClazz)

getWeightClazzName

protected String getWeightClazzName()

setWeightClazzName

protected void setWeightClazzName(String weightClazzName)

toString

public String toString()
Overrides:
toString in class Edge
See Also:
Object.toString()


Copyright © 2012. All Rights Reserved.