org.opencms.db.jpa.persistence
Class CmsDAOUserPublishListEntry.PK

java.lang.Object
  extended by org.opencms.db.jpa.persistence.CmsDAOUserPublishListEntry.PK
Enclosing class:
CmsDAOUserPublishListEntry

public static class CmsDAOUserPublishListEntry.PK
extends java.lang.Object

The primary key class for user publish list entries.


Field Summary
protected  java.lang.String m_structureId
          The structure id.
protected  java.lang.String m_userId
          The user id.
 
Constructor Summary
CmsDAOUserPublishListEntry.PK()
          Empty default constructor.
CmsDAOUserPublishListEntry.PK(CmsUUID userId, CmsUUID structureId)
          Creates a new instance.
 
Method Summary
 boolean equals(java.lang.Object other)
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_structureId

protected java.lang.String m_structureId
The structure id.


m_userId

protected java.lang.String m_userId
The user id.

Constructor Detail

CmsDAOUserPublishListEntry.PK

public CmsDAOUserPublishListEntry.PK()
Empty default constructor.


CmsDAOUserPublishListEntry.PK

public CmsDAOUserPublishListEntry.PK(CmsUUID userId,
                                     CmsUUID structureId)
Creates a new instance.

Parameters:
userId - the user id
structureId - the structure id
Method Detail

equals

public boolean equals(java.lang.Object other)
Overrides:
equals in class java.lang.Object
See Also:
Object.equals(java.lang.Object)

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object
See Also:
Object.hashCode()