com.banda.network.domain
Class WeightedEdge<TYPE>
java.lang.Object
com.banda.core.domain.DomainObject<Long>
com.banda.core.domain.TechnicalDomainObject
com.banda.network.domain.Edge
com.banda.network.domain.WeightedEdge<TYPE>
- All Implemented Interfaces:
- com.banda.core.domain.KeyHolder<Long>, Serializable
public class WeightedEdge<TYPE>
- extends Edge
- Since:
- 2012
- Author:
- © Peter Banda
- See Also:
- Serialized Form
| Nested classes/interfaces inherited from class com.banda.core.domain.DomainObject |
com.banda.core.domain.DomainObject.DomainObjectKeyComparator<K extends Serializable & Comparable<K>> |
| 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 |
WeightedEdge
public WeightedEdge()
WeightedEdge
public WeightedEdge(TopologicalNode start,
TopologicalNode end,
TYPE weight)
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 © 2013. All Rights Reserved.