org.opencms.db.jpa.persistence
Class CmsDAOHistoryProjectResources.CmsDAOHistoryProjectResourcesPK

java.lang.Object
  extended by org.opencms.db.jpa.persistence.CmsDAOHistoryProjectResources.CmsDAOHistoryProjectResourcesPK
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
CmsDAOHistoryProjectResources

public static class CmsDAOHistoryProjectResources.CmsDAOHistoryProjectResourcesPK
extends java.lang.Object
implements java.io.Serializable

This class implements the primary key for a history project resource entry in the table "cms_history_projectresources".

See Also:
Serialized Form

Field Summary
 java.lang.String m_projectId
          The project id.
 int m_publishTag
          The publish tag.
 java.lang.String m_resourcePath
          The resource path.
 
Constructor Summary
CmsDAOHistoryProjectResources.CmsDAOHistoryProjectResourcesPK()
          The default constructor.
CmsDAOHistoryProjectResources.CmsDAOHistoryProjectResourcesPK(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 getProjectId()
          Returns the projectId.
 int getPublishTag()
          Returns the publishTag.
 java.lang.String getResourcePath()
          Returns the resourcePath.
 int hashCode()
           
 void setProjectId(java.lang.String projectId)
          Sets the projectId.
 void setPublishTag(int publishTag)
          Sets the publishTag.
 void setResourcePath(java.lang.String resourcePath)
          Sets the resourcePath.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

m_projectId

public java.lang.String m_projectId
The project id.


m_publishTag

public int m_publishTag
The publish tag.


m_resourcePath

public java.lang.String m_resourcePath
The resource path.

Constructor Detail

CmsDAOHistoryProjectResources.CmsDAOHistoryProjectResourcesPK

public CmsDAOHistoryProjectResources.CmsDAOHistoryProjectResourcesPK()
The default constructor.


CmsDAOHistoryProjectResources.CmsDAOHistoryProjectResourcesPK

public CmsDAOHistoryProjectResources.CmsDAOHistoryProjectResourcesPK(java.lang.String str)
A public constructor to generate a primary key from a given String.

Parameters:
str - the String to generate the id from
Method Detail

equals

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

getProjectId

public java.lang.String getProjectId()
Returns the projectId.

Returns:
the projectId

getPublishTag

public int getPublishTag()
Returns the publishTag.

Returns:
the publishTag

getResourcePath

public java.lang.String getResourcePath()
Returns the resourcePath.

Returns:
the resourcePath

hashCode

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

setProjectId

public void setProjectId(java.lang.String projectId)
Sets the projectId.

Parameters:
projectId - the projectId to set

setPublishTag

public void setPublishTag(int publishTag)
Sets the publishTag.

Parameters:
publishTag - the publishTag to set

setResourcePath

public void setResourcePath(java.lang.String resourcePath)
Sets the resourcePath.

Parameters:
resourcePath - the resourcePath to set

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
See Also:
Object.toString()