com.banda.network.domain
Class FlatTopology

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

public class FlatTopology
extends 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
FlatTopology()
           
 
Method Summary
 void addNode(TopologicalNode node)
           
 List<TopologicalNode> getAllNodes()
           
 Collection<Topology> getLayers()
           
 boolean hasNodes()
           
 boolean isTemplate()
           
 void removeNode(TopologicalNode node)
           
 void setNodes(List<TopologicalNode> nodes)
           
 boolean supportLayers()
           
 
Methods inherited from class com.banda.network.domain.Topology
addNetwork, compareTo, copyFrom, getBiasNodes, getIndex, getName, getNetworks, getNonBiasNodes, getParentTopology, getTimeCreated, hasLayers, removeNetwork, setIndex, setName, setNetworks, setParentTopology, setTimeCreated, 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

FlatTopology

public FlatTopology()
Method Detail

getAllNodes

public List<TopologicalNode> getAllNodes()
Specified by:
getAllNodes in class Topology

setNodes

public void setNodes(List<TopologicalNode> nodes)

hasNodes

public boolean hasNodes()
Overrides:
hasNodes in class Topology

addNode

public void addNode(TopologicalNode node)

removeNode

public void removeNode(TopologicalNode node)

getLayers

public Collection<Topology> getLayers()
Specified by:
getLayers in class Topology

isTemplate

public boolean isTemplate()
Specified by:
isTemplate in class Topology

supportLayers

public boolean supportLayers()
Specified by:
supportLayers in class Topology


Copyright © 2013. All Rights Reserved.