com.banda.network.domain
Class Topology
java.lang.Object
com.banda.core.domain.DomainObject<Long>
com.banda.core.domain.TechnicalDomainObject
com.banda.network.domain.Topology
- All Implemented Interfaces:
- com.banda.core.domain.KeyHolder<Long>, Serializable, Comparable<Topology>
- Direct Known Subclasses:
- FlatTopology, LayeredTopology, SpatialTopology, TemplateTopology
public abstract class Topology
- extends com.banda.core.domain.TechnicalDomainObject
- implements Comparable<Topology>
- 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 |
Topology
public Topology()
getIndex
public Integer getIndex()
setIndex
public void setIndex(Integer index)
getName
public String getName()
setName
public void setName(String name)
getTimeCreated
public Date getTimeCreated()
setTimeCreated
public void setTimeCreated(Date timeCreated)
getNetworks
public Collection<Network<?>> getNetworks()
setNetworks
protected void setNetworks(Collection<Network<?>> networks)
addNetwork
public void addNetwork(Network<?> network)
removeNetwork
public void removeNetwork(Network<?> network)
getParentTopology
public Topology getParentTopology()
setParentTopology
public void setParentTopology(Topology parentTopology)
supportLayers
public abstract boolean supportLayers()
hasLayers
public boolean hasLayers()
getLayers
public abstract Collection<Topology> getLayers()
hasNodes
public boolean hasNodes()
getAllNodes
public abstract List<TopologicalNode> getAllNodes()
getNonBiasNodes
public List<TopologicalNode> getNonBiasNodes()
getBiasNodes
public List<TopologicalNode> getBiasNodes()
isTemplate
public abstract boolean isTemplate()
isSpatial
public abstract boolean isSpatial()
compareTo
public int compareTo(Topology anotherTopology)
- Specified by:
compareTo in interface Comparable<Topology>
copyFrom
public void copyFrom(Topology anotherTopology)
toString
public String toString()
- Overrides:
toString in class com.banda.core.domain.DomainObject<Long>
- See Also:
Object.toString()
Copyright © 2013. All Rights Reserved.