be.ac.ulg.montefiore.run.totem.domain.model.impl
Class NodeInterfaceImpl
java.lang.Object
be.ac.ulg.montefiore.run.totem.domain.model.jaxb.impl.NodeInterfaceImpl
be.ac.ulg.montefiore.run.totem.domain.model.impl.NodeInterfaceImpl
- All Implemented Interfaces:
- DomainElement, NodeInterface, UnmarshallableObject, ValidatableObject, XMLSerializable, com.sun.xml.bind.JAXBObject
public class NodeInterfaceImpl
- extends NodeInterfaceImpl
- implements NodeInterface
Represents an interface of a node.
Creation date: 07-f�vr.-2006
- Author:
- Jean Lepropre (lepropre@run.montefiore.ulg.ac.be)
Methods inherited from class be.ac.ulg.montefiore.run.totem.domain.model.jaxb.impl.NodeInterfaceImpl |
createRawValidator, createUnmarshaller, getId, getIp, getPrimaryInterface, getStatus, isSetId, isSetIp, isSetStatus, serializeAttributes, serializeBody, serializeURIs, setId, setIp, setStatus, unsetId, unsetIp, unsetStatus |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface be.ac.ulg.montefiore.run.totem.domain.model.DomainElement |
getId |
NodeInterfaceImpl
public NodeInterfaceImpl()
NodeInterfaceImpl
public NodeInterfaceImpl(Domain domain,
Node node,
java.lang.String nodeInterfaceId)
setDomain
public void setDomain(Domain domain)
setNode
public void setNode(Node node)
getNodeInterfaceStatus
public int getNodeInterfaceStatus()
setNodeInterfaceStatus
public void setNodeInterfaceStatus(int status)
throws StatusTypeException
- Throws:
StatusTypeException
getIP
public java.lang.String getIP()
throws NotInitialisedException
- Throws:
NotInitialisedException
getIPMask
public java.lang.String getIPMask()
throws NotInitialisedException
- Throws:
NotInitialisedException
setIP
public void setIP(java.lang.String address)
throws IPAddressFormatException
- Throws:
IPAddressFormatException
setIPMask
public void setIPMask(java.lang.String address,
int maskLength)
throws IPAddressFormatException
- Throws:
IPAddressFormatException
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
setElementId
public void setElementId(java.lang.String id)
throws IdException
- Description copied from interface:
DomainElement
- Sets the id of the element.
- Specified by:
setElementId
in interface DomainElement
- Throws:
IdException
getDomain
public Domain getDomain()
- Description copied from interface:
DomainElement
- returns the associated domain
- Specified by:
getDomain
in interface DomainElement
- Returns:
Copyright © 2004-2007 Research Unit in Networking, All Rights Reserved.