|
||||||||||
| 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.answer.model.AnswerPK
public class AnswerPK
It's the Publication PrimaryKey object It identify a Publication
| Field Summary |
|---|
| Fields inherited from class com.stratelia.webactiv.util.WAPrimaryKey |
|---|
componentName, id, space |
| Constructor Summary | |
|---|---|
AnswerPK(String id)
Constructor which set only the id |
|
AnswerPK(String id,
String spaceId,
String componentId)
Constructor which set the id The WAPrimaryKey provides space and component name |
|
AnswerPK(String id,
WAPrimaryKey pk)
Constructor which set the id The WAPrimaryKey provides space and component name |
|
| Method Summary | |
|---|---|
boolean |
equals(Object other)
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 |
| Constructor Detail |
|---|
public AnswerPK(String id)
public AnswerPK(String id,
String spaceId,
String componentId)
public AnswerPK(String id,
WAPrimaryKey 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 other)
equals in class WAPrimaryKeyother - the object to compare to this PollPK
public int hashCode()
hashCode in class WAPrimaryKey
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||