public final class NetworkConnection extends NetworkElement
NetworkElement.LayerComparatorLayerConstant.Action, LayerConstant.AdaptationProperty, LayerConstant.AvailableLabelSet, LayerConstant.ConnectionType, LayerConstant.Direction, LayerConstant.ElementObjectProperty, LayerConstant.LabelP, LayerConstant.Layer, LayerConstant.Prefix, LayerConstant.UsedLabelSet| Modifier and Type | Field and Description |
|---|---|
protected java.lang.Long |
bandwidth |
protected java.lang.Long |
latency |
atLayer, castType, clientInterface, GUID, hostName, isModify, logger, managementIP, model, modifyVersion, name, numInterface, resourcesMap, resourceType, sn, uricolor| Constructor and Description |
|---|
NetworkConnection() |
NetworkConnection(com.hp.hpl.jena.ontology.OntModel m,
com.hp.hpl.jena.ontology.OntResource rs) |
NetworkConnection(com.hp.hpl.jena.ontology.OntModel m,
com.hp.hpl.jena.rdf.model.Resource rs) |
NetworkConnection(com.hp.hpl.jena.ontology.OntModel model,
java.lang.String url,
java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
addConnection(NetworkElement element) |
int |
compareTo(java.lang.Object o) |
NetworkConnection |
copy(java.lang.String name) |
long |
getBandwidth() |
java.util.LinkedList<NetworkConnection> |
getClientConnections() |
java.util.LinkedList<? extends NetworkElement> |
getConnection() |
java.lang.String |
getConnectionType() |
NetworkElement |
getFirstClientConnectionsElement() |
NetworkElement |
getFirstConnectionElement() |
float |
getLabel_ID() |
long |
getLatency() |
NetworkElement |
getNe1() |
NetworkElement |
getNe2() |
java.lang.String |
getOpenflowCapable() |
boolean |
hasConnection(NetworkElement element) |
void |
print() |
void |
print(org.apache.log4j.Logger logger) |
void |
setBandwidth(long bandwidth) |
void |
setClientConnection(NetworkConnection clientConnection) |
void |
setClientConnections(java.util.LinkedList<NetworkConnection> clientConnections) |
void |
setConnection(java.util.LinkedList<NetworkElement> connection) |
void |
setConnectionType(java.lang.String connectionType) |
void |
setLabel_ID(float label_ID) |
void |
setLatency(long latency) |
void |
setNe1(NetworkElement ne1) |
void |
setNe2(NetworkElement ne2) |
void |
setOpenflowCapable(java.lang.String openflowCapable) |
java.lang.String |
toString() |
addClientInterface, addResource, equals, getAtLayer, getCastType, getClientInterface, getClientInterfaceByURI, getDefaultClientInterface, getGUID, getHostName, getInDomain, getModel, getModifyVersion, getName, getNumInterface, getNumUnits, getRank, getResource, getResource, getResources, getResourcesMap, getResourceType, getSn, getType, getURI, isModify, setAtLayer, setCastType, setClientInterface, setGUID, setHostName, setInDomain, setManagementIP, setModel, setModify, setModifyVersion, setName, setNumInterface, setNumUnits, setRank, setResource, setResourcesMap, setResourceType, setSn, setType, setURIpublic NetworkConnection()
public NetworkConnection(com.hp.hpl.jena.ontology.OntModel m,
com.hp.hpl.jena.ontology.OntResource rs)
public NetworkConnection(com.hp.hpl.jena.ontology.OntModel m,
com.hp.hpl.jena.rdf.model.Resource rs)
public NetworkConnection(com.hp.hpl.jena.ontology.OntModel model,
java.lang.String url,
java.lang.String name)
public NetworkConnection copy(java.lang.String name)
public java.lang.String getOpenflowCapable()
public void setOpenflowCapable(java.lang.String openflowCapable)
public float getLabel_ID()
public void setLabel_ID(float label_ID)
public NetworkElement getNe1()
public void setNe1(NetworkElement ne1)
public NetworkElement getNe2()
public void setNe2(NetworkElement ne2)
public long getBandwidth()
public void setBandwidth(long bandwidth)
public long getLatency()
public void setLatency(long latency)
public int compareTo(java.lang.Object o)
compareTo in interface java.lang.ComparablecompareTo in class NetworkElementpublic void print()
print in class NetworkElementpublic void print(org.apache.log4j.Logger logger)
print in class NetworkElementpublic java.lang.String toString()
toString in class NetworkElementpublic java.util.LinkedList<NetworkConnection> getClientConnections()
public NetworkElement getFirstClientConnectionsElement()
public void setClientConnections(java.util.LinkedList<NetworkConnection> clientConnections)
public void setClientConnection(NetworkConnection clientConnection)
public java.util.LinkedList<? extends NetworkElement> getConnection()
public void setConnection(java.util.LinkedList<NetworkElement> connection)
public NetworkElement getFirstConnectionElement()
public void addConnection(NetworkElement element)
public boolean hasConnection(NetworkElement element)
public java.lang.String getConnectionType()
public void setConnectionType(java.lang.String connectionType)
Copyright © 2018 RENCI. All Rights Reserved.