|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--edu.UCL.xmiddle.host.LinkTableItem
LinkTableItem.java Multi-purpose class used to hold data stored in a LinkTable. Note that because the type of item in the table changes, not all of the fields will be used for each item. To ensure compatibility with each type, some methods return the same value, but under a different name.
Field Summary | |
static short |
EXPORT
This LinkTableItem is in an Export linktable (2 data items) |
static short |
LINKED_BY
This LinkTableItem is in a LinkedBy linktable (3 data items) |
static short |
LINKED_FROM
This LinkTableItem is in a LinkedFrom linktable (5 data items) |
Constructor Summary | |
LinkTableItem(java.lang.Object primaryID,
java.lang.String path,
java.lang.Integer localAppID)
Create a new LinkTableItem instance. |
|
LinkTableItem(java.lang.Object primaryID,
java.lang.String src,
java.lang.String dest,
java.lang.Integer remoteAppID,
java.lang.Integer localAppID)
Create a new LinkTableItem instance. |
|
LinkTableItem(java.lang.String path,
java.lang.Integer appID)
Create a new LinkTableItem instance. |
Method Summary | |
java.lang.Integer |
getAppID()
Return the application ID stored by this LinkTableItem. |
java.lang.String |
getDestinationPath()
Return the destination path stored by this LinkTableItem. |
java.lang.Integer |
getLocalAppID()
Return the local application ID stored by this LinkTableItem. |
java.lang.String |
getPath()
Return the path stored by this LinkTableItem. |
java.lang.Object |
getPrimaryID()
Return the primaryID stored by this LinkTableItem. |
java.lang.Integer |
getRemoteAppID()
Return the remote application ID stored by this LinkTableItem. |
java.lang.String |
getSourcePath()
Return the source path stored by this LinkTableItem. |
short |
getType()
Return the type of this LinkTableItem |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final short EXPORT
public static final short LINKED_FROM
public static final short LINKED_BY
Constructor Detail |
public LinkTableItem(java.lang.String path, java.lang.Integer appID)
appID
- The ID of the application under the tree of which
the element resides.public LinkTableItem(java.lang.Object primaryID, java.lang.String src, java.lang.String dest, java.lang.Integer remoteAppID, java.lang.Integer localAppID)
primaryID
- The primary ID of the remote host.src
- The remote element from which the local host linked.dest
- The local element under which the linked element was placed.remoteAppID
- The id of the remote application that exported the element.localAppID
- The id of the local application on the data.
structure of which the remote element was linked.public LinkTableItem(java.lang.Object primaryID, java.lang.String path, java.lang.Integer localAppID)
primaryID
- The primaryID of the remote hostpath
- The element that was linked by the remote hostlocalAppID
- The ID of the application under the tree of
which the element that was linked by residesMethod Detail |
public short getType()
public java.lang.Object getPrimaryID()
null
otherwise
null
public java.lang.String getSourcePath()
public java.lang.String getPath()
public java.lang.String getDestinationPath()
null
otherwise
null
public java.lang.Integer getLocalAppID()
public java.lang.Integer getAppID()
public java.lang.Integer getRemoteAppID()
null
otherwise
null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |