|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.opencms.db.jpa.persistence.CmsDAOSubscription.CmsDAOSubscriptionPK
public static class CmsDAOSubscription.CmsDAOSubscriptionPK
This class implements the primary key for a subscription entry in the table "cms_subscription".
| Field Summary | |
|---|---|
java.lang.String |
m_principalId
The principal id. |
java.lang.String |
m_structureId
The structure id. |
| Constructor Summary | |
|---|---|
CmsDAOSubscription.CmsDAOSubscriptionPK()
The default constructor. |
|
CmsDAOSubscription.CmsDAOSubscriptionPK(java.lang.String str)
A public constructor to generate a primary key from a given String. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getPrincipalId()
Returns the principalId. |
java.lang.String |
getStructureId()
Returns the structureId. |
int |
hashCode()
|
void |
setPrincipalId(java.lang.String principalId)
Sets the principalId. |
void |
setStructureId(java.lang.String structureId)
Sets the structureId. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public java.lang.String m_principalId
public java.lang.String m_structureId
| Constructor Detail |
|---|
public CmsDAOSubscription.CmsDAOSubscriptionPK()
public CmsDAOSubscription.CmsDAOSubscriptionPK(java.lang.String str)
str - the String to generate the id from| Method Detail |
|---|
public boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectObject.equals(java.lang.Object)public java.lang.String getPrincipalId()
public java.lang.String getStructureId()
public int hashCode()
hashCode in class java.lang.ObjectObject.hashCode()public void setPrincipalId(java.lang.String principalId)
principalId - the principalId to setpublic void setStructureId(java.lang.String structureId)
structureId - the structureId to setpublic java.lang.String toString()
toString in class java.lang.ObjectObject.toString()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||