org.opencms.db.jpa.persistence
Class CmsDAOProjectResources.CmsDAOProjectResourcesPK

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

public static class CmsDAOProjectResources.CmsDAOProjectResourcesPK
extends java.lang.Object
implements java.io.Serializable

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

See Also:
Serialized Form

Field Summary
 java.lang.String m_projectId
          The project id.
 java.lang.String m_resourcePath
          The resource path.
 
Constructor Summary
CmsDAOProjectResources.CmsDAOProjectResourcesPK()
          The default constructor.
CmsDAOProjectResources.CmsDAOProjectResourcesPK(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.
 java.lang.String getResourcePath()
          Returns the resourcePath.
 int hashCode()
           
 void setProjectId(java.lang.String projectId)
          Sets the projectId.
 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_resourcePath

public java.lang.String m_resourcePath
The resource path.

Constructor Detail

CmsDAOProjectResources.CmsDAOProjectResourcesPK

public CmsDAOProjectResources.CmsDAOProjectResourcesPK()
The default constructor.


CmsDAOProjectResources.CmsDAOProjectResourcesPK

public CmsDAOProjectResources.CmsDAOProjectResourcesPK(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

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

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()