|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DomainConvertor
Define all the methods that a convertor must implements i.e. - convert node id from String to int and inversely - convert link id from String to int and inversely - convert lsp id from String to int and inversely
Creation date: 12-Jan-2005 17:49:13
| Method Summary | |
|---|---|
void |
addLinkId(java.lang.String linkId)
Add a conversion for the linkId link |
void |
addLspId(java.lang.String lspId)
Add a conversion for the lspId LSP |
void |
addNodeId(java.lang.String nodeId)
Add a conversion for the nodeId node |
java.lang.String |
getLinkId(int id)
Convert a int link id in a String link id |
int |
getLinkId(java.lang.String id)
Convert a String link id in a int link id |
java.lang.String |
getLspId(int id)
Convert a int lsp id in a String lsp id |
int |
getLspId(java.lang.String id)
Convert a String LSP id in a int LSP id |
int |
getMaxLinkId()
Get the max link int id |
int |
getMaxLspId()
Get the max LSP int id |
int |
getMaxNodeId()
Get the max node int id |
java.lang.String |
getNodeId(int id)
Convert a int node id in a String node id |
int |
getNodeId(java.lang.String id)
Convert a String node id in a int node id |
void |
removeLinkId(java.lang.String linkId)
Remove the conversion for the link linkId |
void |
removeLspId(java.lang.String lspId)
Remove the conversion for the lspId LSP |
void |
removeNodeId(java.lang.String nodeId)
Remove the conversion for the node nodeId |
void |
renameLinkId(java.lang.String oldId,
java.lang.String newId)
Rename a Link without changing its int id |
void |
renameLspId(java.lang.String oldId,
java.lang.String newId)
Rename an LSP without changing its int id |
void |
renameNodeId(java.lang.String oldId,
java.lang.String newId)
Rename a Node without changing its int id |
| Method Detail |
|---|
int getMaxNodeId()
int getNodeId(java.lang.String id)
throws NodeNotFoundException
id -
NodeNotFoundException
java.lang.String getNodeId(int id)
throws NodeNotFoundException
id -
NodeNotFoundException
void addNodeId(java.lang.String nodeId)
throws NodeAlreadyExistException
nodeId -
NodeAlreadyExistException
void removeNodeId(java.lang.String nodeId)
throws NodeNotFoundException
nodeId -
NodeNotFoundExceptionint getMaxLinkId()
int getLinkId(java.lang.String id)
throws LinkNotFoundException
id -
LinkNotFoundException
java.lang.String getLinkId(int id)
throws LinkNotFoundException
id -
LinkNotFoundException
void addLinkId(java.lang.String linkId)
throws LinkAlreadyExistException
linkId -
LinkAlreadyExistException
void removeLinkId(java.lang.String linkId)
throws LinkNotFoundException
linkId -
LinkNotFoundExceptionint getMaxLspId()
int getLspId(java.lang.String id)
throws LspNotFoundException
id -
LspNotFoundException
java.lang.String getLspId(int id)
throws LspNotFoundException
id -
LspNotFoundException
void addLspId(java.lang.String lspId)
throws LspAlreadyExistException
lspId -
LspAlreadyExistException
void removeLspId(java.lang.String lspId)
throws LspNotFoundException
lspId -
LspNotFoundException
void renameLspId(java.lang.String oldId,
java.lang.String newId)
throws LspNotFoundException,
LspAlreadyExistException
oldId - newId -
LspNotFoundException - if the oldId not in the index
LspAlreadyExistException - If the newId already in the index
void renameNodeId(java.lang.String oldId,
java.lang.String newId)
throws NodeAlreadyExistException,
NodeNotFoundException
oldId - newId -
NodeNotFoundException - if the oldId not in the index
NodeAlreadyExistException - If the newId already in the index
void renameLinkId(java.lang.String oldId,
java.lang.String newId)
throws LinkAlreadyExistException,
LinkNotFoundException
oldId - newId -
LinkNotFoundException - if the oldId not in the index
LinkAlreadyExistException - If the newId already in the index
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||