|
||||||||||
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
Nested Class Summary | |
---|---|
static class |
Node.Type
|
Field Summary | |
---|---|
static int |
STATUS_DOWN
|
static int |
STATUS_UP
|
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()
|
Node.Type |
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 |
setNodeStatus(java.lang.String status)
|
void |
setNodeType(Node.Type type)
|
void |
setRid(java.lang.String rid)
|
Methods inherited from interface be.ac.ulg.montefiore.run.totem.domain.model.DomainElement |
---|
getDomain, getId, setElementId |
Field Detail |
---|
static final int STATUS_UP
static final int STATUS_DOWN
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
void setNodeStatus(java.lang.String status) throws StatusTypeException
StatusTypeException
java.util.List<Link> getAllOutLink()
java.util.List<Link> getAllInLink()
java.util.List<Link> getOutLink()
java.util.List<Link> getInLink()
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
Node.Type getNodeType()
void setNodeType(Node.Type type)
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 |