|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.starbase.starteam.LinkEndpoint
Represents a link reference to an item.
Link,
Server.findLinks(com.starbase.starteam.Item),
View.resolveLinkEndpoint(com.starbase.starteam.LinkEndpoint)| Method Summary | |
LinkEndpoint |
copy()
Copies this link endpoint, creating a new one with the same content. |
boolean |
equals(java.lang.Object source)
returns true if this object instance is equal to the source |
java.lang.String |
getDotNotation()
Returns the dot notation for the revision being referenced by this link. |
int |
getFolderObjectID()
Returns the object ID for the parent folder of the linked item. |
Item |
getItem()
Resolves this link endpoint. |
int |
getItemID()
Returns the itemID of the item being referenced. |
int |
getObjectID()
Returns the object ID of the underlying object referenced by the item. |
int |
getRevisionNumber()
Returns the revision number for the specific revision this link enpoint references. |
Type |
getType()
Returns the Type of the item for this link endpoint. |
int |
getViewID()
Returns the view ID in which the referenced item exists. |
int |
hashCode()
returns a unique hash for all instances of this type |
boolean |
isEqualTo(LinkEndpoint other)
Determines whether or not the contents of two link endpoints are the same. |
boolean |
isPinned()
Returns true if the item referenced is fixed at a specific
revision such that the association does not propogate to newer versions
of the item. |
java.lang.String |
toDebugString()
Returns a debug string representation of this link endpoint. |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public Type getType()
Type of the item for this link endpoint.
TypedResource.getType()public int getItemID()
Item.getItemID()public int getObjectID()
isPinned method to determine if a link is pinned.
LinkEndpoint.isPinned(),
PropertyNames.OBJECT_IDpublic int getRevisionNumber()
LinkEndpoint.isPinned(),
PropertyNames.REVISION_NUMBERpublic java.lang.String getDotNotation()
LinkEndpoint.isPinned(),
PropertyNames.DOTNOTATIONpublic int getViewID()
View.getViewID()public int getFolderObjectID()
PropertyNames.OBJECT_IDpublic boolean isPinned()
true if the item referenced is fixed at a specific
revision such that the association does not propogate to newer versions
of the item.
public Item getItem()
Item,
Item.isDisembodied(),
View.getDisembodiedItem(int, com.starbase.starteam.Type)public java.lang.String toDebugString()
public boolean isEqualTo(LinkEndpoint other)
other - The link endpoint to be compared to this one.
public LinkEndpoint copy()
public boolean equals(java.lang.Object source)
equals in class java.lang.Objectsource - Object the source to comapre with
public int hashCode()
hashCode in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||