|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.stratelia.webactiv.util.WAPrimaryKey
org.silverpeas.importExport.versioning.DocumentPK
public class DocumentPK
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 | |
---|---|
DocumentPK(int id)
Constructor declaration |
|
DocumentPK(int id,
String componentId)
Constructor declaration |
|
DocumentPK(int id,
String spaceId,
String componentId)
Constructor declaration |
|
DocumentPK(int id,
WAPrimaryKey pk)
Constructor declaration |
Method Summary | |
---|---|
boolean |
equals(Object o)
This method must be specialized - Check if an another object is equal to this object |
String |
getRootTableName()
Return the object root table name |
String |
getTableName()
Get the database table name where the object is stored |
int |
hashCode()
Returns a hash code for the key |
String |
toString()
Converts the contents of the key into a readable String. |
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 DocumentPK(int id)
id
-
public DocumentPK(int id, String spaceId, String componentId)
id
- spaceId
- componentId
-
public DocumentPK(int id, String componentId)
id
- componentId
-
public DocumentPK(int id, WAPrimaryKey pk)
id
- pk
-
Method Detail |
---|
public String getRootTableName()
WAPrimaryKey
getRootTableName
in class WAPrimaryKey
public String getTableName()
WAPrimaryKey
getTableName
in class WAPrimaryKey
WAPrimaryKey.space
,
WAPrimaryKey.componentName
,
WAPrimaryKey.getRootTableName()
public String toString()
WAPrimaryKey
toString
in class WAPrimaryKey
public boolean equals(Object o)
WAPrimaryKey
equals
in class WAPrimaryKey
o
- the object to compare to this WAPrimaryKey
public int hashCode()
WAPrimaryKey
hashCode
in class WAPrimaryKey
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |