|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Node
Represents a Node in a Domain.
Creation date : 19-Jan-2005 15:46:33
Field Summary | |
---|---|
static int |
STATUS_DOWN
|
static int |
STATUS_UP
|
static int |
TYPE_CORE
|
static int |
TYPE_EDGE
|
Method Summary | |
---|---|
void |
addNodeInterface(NodeInterface nodeInterface)
|
boolean |
equals(java.lang.Object o)
|
java.util.List<Link> |
getAllInLink()
Return the list of the links that ends at this node. |
java.util.List<java.lang.String> |
getallIPs()
|
java.util.List<Link> |
getAllOutLink()
Return the list of the links that begins at this node. |
BgpRouter |
getBgpRouter()
|
java.lang.String |
getDescription()
|
java.util.List<Link> |
getInLink()
Return the list of the links that ends at this node and for which status is UP. |
float |
getLatitude()
|
float |
getLongitude()
|
NodeInterface |
getNodeInterface(java.lang.String nodeInterfaceId)
|
NodeInterface |
getNodeInterfaceByIP(java.lang.String nodeInterfaceIP)
|
java.util.List<NodeInterface> |
getNodeInterfaces()
|
int |
getNodeStatus()
|
int |
getNodeType()
|
java.util.List<Link> |
getOutLink()
Return the list of the links that begins at this node and for which status is UP. |
java.lang.String |
getRid()
|
int |
hashCode()
|
void |
setDescription(java.lang.String description)
|
void |
setLatitude(float latitude)
|
void |
setLongitude(float longitude)
|
void |
setNodeStatus(int status)
|
void |
setNodeType(int type)
|
void |
setRid(java.lang.String rid)
|
Methods inherited from interface be.ac.ulg.montefiore.run.totem.domain.model.DomainElement |
---|
getId |
Field Detail |
---|
static final int STATUS_UP
static final int STATUS_DOWN
static final int TYPE_EDGE
static final int TYPE_CORE
Method Detail |
---|
java.lang.String getRid()
void setRid(java.lang.String rid)
java.util.List<java.lang.String> getallIPs()
int getNodeStatus()
void setNodeStatus(int status) throws StatusTypeException
StatusTypeException
java.util.List<Link> getAllOutLink() throws NodeNotFoundException
NodeNotFoundException
java.util.List<Link> getAllInLink() throws NodeNotFoundException
NodeNotFoundException
java.util.List<Link> getOutLink() throws NodeNotFoundException
NodeNotFoundException
java.util.List<Link> getInLink() throws NodeNotFoundException
NodeNotFoundException
float getLongitude()
float getLatitude()
void setLongitude(float longitude)
void setLatitude(float latitude)
boolean equals(java.lang.Object o)
equals
in class java.lang.Object
int hashCode()
hashCode
in class java.lang.Object
int getNodeType() throws NodeTypeException
NodeTypeException
void setNodeType(int type) throws NodeTypeException
NodeTypeException
java.lang.String getDescription()
void setDescription(java.lang.String description)
BgpRouter getBgpRouter()
NodeInterface getNodeInterface(java.lang.String nodeInterfaceId) throws NodeInterfaceNotFoundException
NodeInterfaceNotFoundException
NodeInterface getNodeInterfaceByIP(java.lang.String nodeInterfaceIP) throws NodeInterfaceNotFoundException
NodeInterfaceNotFoundException
java.util.List<NodeInterface> getNodeInterfaces()
void addNodeInterface(NodeInterface nodeInterface) throws NodeInterfaceAlreadyExistException
NodeInterfaceAlreadyExistException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |