com.silverpeas.projectManager.model
Class TaskPK

java.lang.Object
  extended by com.stratelia.webactiv.util.WAPrimaryKey
      extended by com.silverpeas.projectManager.model.TaskPK
All Implemented Interfaces:
Serializable, Cloneable

public class TaskPK
extends com.stratelia.webactiv.util.WAPrimaryKey

Author:
neysseri
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.stratelia.webactiv.util.WAPrimaryKey
componentName, id, space
 
Constructor Summary
TaskPK(int id, String componentId)
           
TaskPK(String id, String componentId)
          TaskPK constructor
 
Method Summary
 boolean equals(Object other)
          Implementation of equals method for TaskPK object
 int hashCode()
           
 
Methods inherited from class com.stratelia.webactiv.util.WAPrimaryKey
clone, getComponentName, getId, getInstanceId, getRootTableName, getSpace, getSpaceId, getTableName, getTableName, setComponentName, setId, setSpace, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TaskPK

public TaskPK(String id,
              String componentId)
TaskPK constructor

Parameters:
id - the task identifier
componentId - the component identifier

TaskPK

public TaskPK(int id,
              String componentId)
Method Detail

equals

public boolean equals(Object other)
Implementation of equals method for TaskPK object

Specified by:
equals in class com.stratelia.webactiv.util.WAPrimaryKey

hashCode

public int hashCode()
Overrides:
hashCode in class com.stratelia.webactiv.util.WAPrimaryKey
Returns:
A hash code for this object


Copyright © 2016 Silverpeas. All Rights Reserved.