|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.stratelia.webactiv.util.WAPrimaryKey
com.silverpeas.comment.model.CommentPK
public class CommentPK
This object contains the info about PrimaryKey of document
Field Summary |
---|
Fields inherited from class com.stratelia.webactiv.util.WAPrimaryKey |
---|
componentName, id, space |
Constructor Summary | |
---|---|
CommentPK(String id)
Constructor declaration |
|
CommentPK(String id,
String componentId)
Constructs a new comment primary key from the specified identifier and Silverpeas component identifier. |
|
CommentPK(String id,
String spaceId,
String componentId)
Constructor declaration |
|
CommentPK(String id,
WAPrimaryKey pk)
Constructor declaration |
Method Summary | |
---|---|
boolean |
equals(Object other)
Method declaration |
String |
getRootTableName()
********** |
String |
getTableName()
Method declaration |
int |
hashCode()
Returns a hash code for the key |
String |
toString()
Method declaration |
Methods inherited from class com.stratelia.webactiv.util.WAPrimaryKey |
---|
clone, getComponentName, getId, getInstanceId, getSpace, getSpaceId, getTableName, setComponentName, setId, setSpace |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CommentPK(String id)
id
-
public CommentPK(String id, String componentId)
id
- the identifier of the comment.componentId
- the identifier of the component to which the comment belongs.public CommentPK(String id, String spaceId, String componentId)
id
- spaceId
- componentId
-
public CommentPK(String id, WAPrimaryKey pk)
id
- pk
-
Method Detail |
---|
public String getRootTableName()
getRootTableName
in class WAPrimaryKey
public String getTableName()
getTableName
in class WAPrimaryKey
public boolean equals(Object other)
equals
in class WAPrimaryKey
other
-
public String toString()
toString
in class WAPrimaryKey
public int hashCode()
hashCode
in class WAPrimaryKey
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |