public class Interface extends NetworkElement
NetworkElement.LayerComparatorLayerConstant.Action, LayerConstant.AdaptationProperty, LayerConstant.AvailableLabelSet, LayerConstant.ConnectionType, LayerConstant.Direction, LayerConstant.ElementObjectProperty, LayerConstant.LabelP, LayerConstant.Layer, LayerConstant.Prefix, LayerConstant.UsedLabelSetatLayer, castType, clientInterface, GUID, hostName, isModify, logger, managementIP, model, modifyVersion, name, numInterface, resourcesMap, resourceType, sn, uricolor| Constructor and Description |
|---|
Interface() |
Interface(com.hp.hpl.jena.ontology.OntModel m,
com.hp.hpl.jena.ontology.OntResource rs) |
Interface(com.hp.hpl.jena.ontology.OntModel m,
com.hp.hpl.jena.ontology.OntResource rs,
boolean client) |
Interface(com.hp.hpl.jena.ontology.OntModel m,
java.lang.String u,
java.lang.String n) |
| Modifier and Type | Method and Description |
|---|---|
void |
addClientInterface(com.hp.hpl.jena.ontology.OntModel ontModel,
Interface client,
java.lang.String adaptation) |
void |
addServerInterface(Interface intf) |
void |
findClientInterface(Interface parent) |
void |
findUNIInterface(com.hp.hpl.jena.rdf.model.Resource rs,
Interface intf) |
Interface |
getInput() |
Label |
getLabel() |
java.lang.String |
getLowLayer() |
int |
getMark() |
Interface |
getOutput() |
java.util.LinkedList<Interface> |
getServerInterface() |
java.lang.String |
getUpLayer() |
com.hp.hpl.jena.rdf.model.Resource |
getUsedLabelSet(com.hp.hpl.jena.rdf.model.Model m) |
void |
setInput(Interface input) |
void |
setLabel(Label label) |
void |
setLabel(java.lang.String ip,
java.lang.String mask) |
void |
setLowLayer(java.lang.String lowLayer) |
void |
setMark(int mark) |
void |
setOutput(Interface output) |
void |
setServerInterface(java.util.LinkedList<Interface> serverInterface) |
void |
setUpLayer(java.lang.String upLayer) |
void |
setUsedLabelSet(com.hp.hpl.jena.rdf.model.Resource usedLabelSet) |
java.lang.String |
toString() |
addClientInterface, addResource, compareTo, equals, getAtLayer, getCastType, getClientInterface, getClientInterfaceByURI, getDefaultClientInterface, getGUID, getHostName, getInDomain, getModel, getModifyVersion, getName, getNumInterface, getNumUnits, getRank, getResource, getResource, getResources, getResourcesMap, getResourceType, getSn, getType, getURI, isModify, print, print, setAtLayer, setCastType, setClientInterface, setGUID, setHostName, setInDomain, setManagementIP, setModel, setModify, setModifyVersion, setName, setNumInterface, setNumUnits, setRank, setResource, setResourcesMap, setResourceType, setSn, setType, setURIpublic Interface(com.hp.hpl.jena.ontology.OntModel m,
java.lang.String u,
java.lang.String n)
public Interface()
public Interface(com.hp.hpl.jena.ontology.OntModel m,
com.hp.hpl.jena.ontology.OntResource rs)
public Interface(com.hp.hpl.jena.ontology.OntModel m,
com.hp.hpl.jena.ontology.OntResource rs,
boolean client)
public void setLabel(java.lang.String ip,
java.lang.String mask)
throws java.net.UnknownHostException,
net.jwhoisserver.utils.InetNetworkException
java.net.UnknownHostExceptionnet.jwhoisserver.utils.InetNetworkExceptionpublic void findClientInterface(Interface parent)
public void findUNIInterface(com.hp.hpl.jena.rdf.model.Resource rs,
Interface intf)
public void addClientInterface(com.hp.hpl.jena.ontology.OntModel ontModel,
Interface client,
java.lang.String adaptation)
public void addServerInterface(Interface intf)
public java.lang.String toString()
toString in class NetworkElementpublic java.lang.String getLowLayer()
public void setLowLayer(java.lang.String lowLayer)
public java.lang.String getUpLayer()
public void setUpLayer(java.lang.String upLayer)
public Label getLabel()
public void setLabel(Label label)
public int getMark()
public void setMark(int mark)
public java.util.LinkedList<Interface> getServerInterface()
public void setServerInterface(java.util.LinkedList<Interface> serverInterface)
public Interface getInput()
public void setInput(Interface input)
public Interface getOutput()
public void setOutput(Interface output)
public com.hp.hpl.jena.rdf.model.Resource getUsedLabelSet(com.hp.hpl.jena.rdf.model.Model m)
public void setUsedLabelSet(com.hp.hpl.jena.rdf.model.Resource usedLabelSet)
Copyright © 2018 RENCI. All Rights Reserved.