org.opencms.db.jpa.persistence
Class CmsDAOProjectResources

java.lang.Object
  extended by org.opencms.db.jpa.persistence.CmsDAOProjectResources

@Entity
public class CmsDAOProjectResources
extends java.lang.Object

This data access object represents a project resource entry inside the table "cms_projectresources".

Since:
8.0.0

Nested Class Summary
static class CmsDAOProjectResources.CmsDAOProjectResourcesPK
          This class implements the primary key for a project resource entry in the table "cms_projectresources".
 
Constructor Summary
CmsDAOProjectResources()
          The default constructor.
CmsDAOProjectResources(java.lang.String projectId, java.lang.String resourcePath)
          A public constructor for generating a new project resource object with an unique id.
 
Method Summary
 java.lang.String getProjectId()
          Returns the projectId.
 java.lang.String getResourcePath()
          Returns the resourcePath.
 void setProjectId(java.lang.String projectId)
          Sets the projectId.
 void setResourcePath(java.lang.String resourcePath)
          Sets the resourcePath.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CmsDAOProjectResources

public CmsDAOProjectResources()
The default constructor.


CmsDAOProjectResources

public CmsDAOProjectResources(java.lang.String projectId,
                              java.lang.String resourcePath)
A public constructor for generating a new project resource object with an unique id.

Parameters:
projectId - the project id
resourcePath - the resource path
Method Detail

getProjectId

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

Returns:
the projectId

getResourcePath

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

Returns:
the resourcePath

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