com.banda.network.domain
Class NetworkWeightSetting<T>

java.lang.Object
  extended by com.banda.core.domain.DomainObject<Long>
      extended by com.banda.core.domain.TechnicalDomainObject
          extended by com.banda.network.domain.NetworkWeightSetting<T>
All Implemented Interfaces:
KeyHolder<Long>, Serializable, Comparable<Topology>
Direct Known Subclasses:
FixedNetworkWeightSetting, LayeredNetworkWeightSetting, TemplateNetworkWeightSetting

public abstract class NetworkWeightSetting<T>
extends TechnicalDomainObject
implements Comparable<Topology>

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
NetworkWeightSetting()
           
 
Method Summary
 int compareTo(Topology anotherTopology)
           
 Integer getIndex()
           
 String getName()
           
 NetworkWeightSetting<T> getParent()
           
 Date getTimeCreated()
           
abstract  boolean hasLayers()
           
abstract  boolean isTemplate()
           
 void setIndex(Integer index)
           
 void setName(String name)
           
protected  void setParent(NetworkWeightSetting<T> parent)
           
 void setTimeCreated(Date timeCreated)
           
 String toString()
           
 
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

NetworkWeightSetting

public NetworkWeightSetting()
Method Detail

getName

public String getName()

setName

public void setName(String name)

getTimeCreated

public Date getTimeCreated()

setTimeCreated

public void setTimeCreated(Date timeCreated)

getIndex

public Integer getIndex()

setIndex

public void setIndex(Integer index)

getParent

public NetworkWeightSetting<T> getParent()

setParent

protected void setParent(NetworkWeightSetting<T> parent)

isTemplate

public abstract boolean isTemplate()

hasLayers

public abstract boolean hasLayers()

compareTo

public int compareTo(Topology anotherTopology)
Specified by:
compareTo in interface Comparable<Topology>

toString

public String toString()
Overrides:
toString in class DomainObject<Long>
See Also:
Object.toString()


Copyright © 2013. All Rights Reserved.