|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.stratelia.webactiv.util.WAPrimaryKey
com.stratelia.webactiv.util.publication.model.PublicationPK
public class PublicationPK
It's the Publication PrimaryKey object It identify a Publication
| Field Summary | |
|---|---|
PublicationDetail |
pubDetail
For flat pk design pattern. |
| Fields inherited from class com.stratelia.webactiv.util.WAPrimaryKey |
|---|
componentName, id, space |
| Constructor Summary | |
|---|---|
PublicationPK(String id)
Constructor which set only the id |
|
PublicationPK(String id,
String componentId)
|
|
PublicationPK(String id,
String space,
String componentName)
Constructor which set the id The WAPrimaryKey provides space and component name |
|
PublicationPK(String id,
WAPrimaryKey pk)
Constructor which set the id The WAPrimaryKey provides space and component name |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
Check if an another object is equal to this object |
String |
getRootTableName()
Return the object root table name |
String |
getTableName()
Return the object table name |
int |
hashCode()
Returns a hash code for the key |
| Methods inherited from class com.stratelia.webactiv.util.WAPrimaryKey |
|---|
clone, getComponentName, getId, getInstanceId, getSpace, getSpaceId, getTableName, setComponentName, setId, setSpace, toString |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public transient PublicationDetail pubDetail
| Constructor Detail |
|---|
public PublicationPK(String id)
id -
public PublicationPK(String id,
String space,
String componentName)
id - space - componentName -
public PublicationPK(String id,
String componentId)
public PublicationPK(String id,
WAPrimaryKey pk)
id - pk - | Method Detail |
|---|
public String getRootTableName()
getRootTableName in class WAPrimaryKeypublic String getTableName()
getTableName in class WAPrimaryKeyWAPrimaryKey.space,
WAPrimaryKey.componentName,
WAPrimaryKey.getRootTableName()public boolean equals(Object obj)
equals in class WAPrimaryKeyobj - the object to compare to this PublicationPK
Object.equals(java.lang.Object)public int hashCode()
hashCode in class WAPrimaryKeyObject.hashCode()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||