org.opencms.db.jpa.persistence
Class CmsDAOOfflineResourceRelations.CmsDAOOfflineResourceRelationsPK

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

public static class CmsDAOOfflineResourceRelations.CmsDAOOfflineResourceRelationsPK
extends java.lang.Object
implements java.io.Serializable

This class implements the primary key for a offline resource relation entry in the table "cms_offline_resource_relations".

See Also:
Serialized Form

Field Summary
 java.lang.String m_relationSourceId
          The relation source id.
 java.lang.String m_relationSourcePath
          The relation source path.
 java.lang.String m_relationTargetId
          The relation target id.
 java.lang.String m_relationTargetPath
          The relation target path.
 int m_relationType
          The relation type.
 
Constructor Summary
CmsDAOOfflineResourceRelations.CmsDAOOfflineResourceRelationsPK()
          The default constructor.
CmsDAOOfflineResourceRelations.CmsDAOOfflineResourceRelationsPK(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 getRelationSourceId()
          Returns the relationSourceId.
 java.lang.String getRelationSourcePath()
          Returns the relationSourcePath.
 java.lang.String getRelationTargetId()
          Returns the relationTargetId.
 java.lang.String getRelationTargetPath()
          Returns the relationTargetPath.
 int getRelationType()
          Returns the relationType.
 int hashCode()
           
 void setRelationSourceId(java.lang.String relationSourceId)
          Sets the relationSourceId.
 void setRelationSourcePath(java.lang.String relationSourcePath)
          Sets the relationSourcePath.
 void setRelationTargetId(java.lang.String relationTargetId)
          Sets the relationTargetId.
 void setRelationTargetPath(java.lang.String relationTargetPath)
          Sets the relationTargetPath.
 void setRelationType(int relationType)
          Sets the relationType.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

m_relationSourceId

public java.lang.String m_relationSourceId
The relation source id.


m_relationSourcePath

public java.lang.String m_relationSourcePath
The relation source path.


m_relationTargetId

public java.lang.String m_relationTargetId
The relation target id.


m_relationTargetPath

public java.lang.String m_relationTargetPath
The relation target path.


m_relationType

public int m_relationType
The relation type.

Constructor Detail

CmsDAOOfflineResourceRelations.CmsDAOOfflineResourceRelationsPK

public CmsDAOOfflineResourceRelations.CmsDAOOfflineResourceRelationsPK()
The default constructor.


CmsDAOOfflineResourceRelations.CmsDAOOfflineResourceRelationsPK

public CmsDAOOfflineResourceRelations.CmsDAOOfflineResourceRelationsPK(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)

getRelationSourceId

public java.lang.String getRelationSourceId()
Returns the relationSourceId.

Returns:
the relationSourceId

getRelationSourcePath

public java.lang.String getRelationSourcePath()
Returns the relationSourcePath.

Returns:
the relationSourcePath

getRelationTargetId

public java.lang.String getRelationTargetId()
Returns the relationTargetId.

Returns:
the relationTargetId

getRelationTargetPath

public java.lang.String getRelationTargetPath()
Returns the relationTargetPath.

Returns:
the relationTargetPath

getRelationType

public int getRelationType()
Returns the relationType.

Returns:
the relationType

hashCode

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

setRelationSourceId

public void setRelationSourceId(java.lang.String relationSourceId)
Sets the relationSourceId.

Parameters:
relationSourceId - the relationSourceId to set

setRelationSourcePath

public void setRelationSourcePath(java.lang.String relationSourcePath)
Sets the relationSourcePath.

Parameters:
relationSourcePath - the relationSourcePath to set

setRelationTargetId

public void setRelationTargetId(java.lang.String relationTargetId)
Sets the relationTargetId.

Parameters:
relationTargetId - the relationTargetId to set

setRelationTargetPath

public void setRelationTargetPath(java.lang.String relationTargetPath)
Sets the relationTargetPath.

Parameters:
relationTargetPath - the relationTargetPath to set

setRelationType

public void setRelationType(int relationType)
Sets the relationType.

Parameters:
relationType - the relationType to set

toString

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