Primavera Integration API 6.1

com.primavera.integration.collab
Class CollabId

java.lang.Object
  extended by com.primavera.integration.collab.CollabId
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
DocumentId, FolderId, VersionId

public abstract class CollabId
extends Object
implements Serializable

Abstract base class for collaboration primary key wrappers

See Also:
Serialized Form

Method Summary
 boolean equals(Object o)
          Compares the specified object with this id for equality.
 String getKey()
          Gets the unique primary key of the collaboration object
 int hashCode()
          Returns the hash code value for this id
 String toString()
          Returns a string representation of the object.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

getKey

public String getKey()
Gets the unique primary key of the collaboration object

Returns:
String the primary key

equals

public boolean equals(Object o)
Compares the specified object with this id for equality. Returns true if the given object is also an id and the two keys are identical

Overrides:
equals in class Object
Parameters:
o - object to be compared for equality with this map
Returns:
boolean true if the specified object is equal to this map

hashCode

public int hashCode()
Returns the hash code value for this id

Overrides:
hashCode in class Object
Returns:
int the hash code value for this id

toString

public String toString()
Returns a string representation of the object.

Overrides:
toString in class Object
Returns:
String a string representation of the object.

Primavera Integration API 6.1

Copyright © Primavera 1999-2007. All rights reserved.