com.starbase.starteam
Class NotificationItem

java.lang.Object
  |
  +--com.starbase.starteam.NotificationItem

public class NotificationItem
extends java.lang.Object

This class bundles together information about new "notification" items of a particular type in a particular view that the user may be interested in knowing about.


Method Summary
 boolean equals(java.lang.Object source)
          returns true if this object instance is equal to the source
 int getItemID()
          Returns the notification item's item ID.
 int getItemObjectID()
          Returns the notification item's object ID.
 int getParentFolderItemID()
          Returns the item ID of the notification item's parent folder.
 Type getType()
          Returns the type of the notification item.
 View getView()
          Returns the view in which the notification item lives.
 int hashCode()
          returns a unique hash for all instances of this type
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

getView

public View getView()
Returns the view in which the notification item lives.

Returns:
the view in which the notification item lives. May not be null.

getType

public Type getType()
Returns the type of the notification item.

Returns:
the type of the notification item. May not be null.

getItemID

public int getItemID()
Returns the notification item's item ID.

Returns:
the notification item's item ID.
See Also:
Item.getItemID()

getParentFolderItemID

public int getParentFolderItemID()
Returns the item ID of the notification item's parent folder.

Returns:
the item ID of the notification item's parent folder.
See Also:
Item.getParentFolder(), Item.getItemID()

getItemObjectID

public int getItemObjectID()
Returns the notification item's object ID.

Returns:
the notification item's object ID.
See Also:
Item.getObjectID()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

equals

public boolean equals(java.lang.Object source)
returns true if this object instance is equal to the source

Overrides:
equals in class java.lang.Object
Parameters:
source - Object the source to comapre with
Returns:
boolean true if this object is equal to the source

hashCode

public int hashCode()
returns a unique hash for all instances of this type

Overrides:
hashCode in class java.lang.Object
Returns:
int a unique hash for all instances of this type


StarTeam SDK 10.4, Build 36
Copyright © 2003-2008 Borland Software Corporation. All rights reserved.