org.opencms.db.jpa.persistence
Interface I_CmsDAOResourceRelations

All Known Implementing Classes:
CmsDAOOfflineResourceRelations, CmsDAOOnlineResourceRelations

public interface I_CmsDAOResourceRelations

This interface declares the getters and setters for the relation data access objects.

Since:
8.0.0
See Also:
CmsRelation

Method Summary
 java.lang.String getRelationSourceId()
          Returns the source id of this relation.
 java.lang.String getRelationSourcePath()
          Returns the source path of this relation.
 java.lang.String getRelationTargetId()
          Returns the target id of this relation.
 java.lang.String getRelationTargetPath()
          Returns the target path of this relation.
 int getRelationType()
          Returns the relation type of this resource relation.
 void setRelationSourceId(java.lang.String relationSourceId)
          Sets the source id for this relation.
 void setRelationSourcePath(java.lang.String relationSourcePath)
          Sets the source path for this resource relation.
 void setRelationTargetId(java.lang.String relationTargetId)
          Sets the target id for this relation.
 void setRelationTargetPath(java.lang.String relationTargetPath)
          Sets the target path for this resource relation.
 void setRelationType(int relationType)
          Sets the relation type for this resource relation.
 

Method Detail

getRelationSourceId

java.lang.String getRelationSourceId()
Returns the source id of this relation.

Returns:
the source id

setRelationSourceId

void setRelationSourceId(java.lang.String relationSourceId)
Sets the source id for this relation.

Parameters:
relationSourceId - the id to set

getRelationSourcePath

java.lang.String getRelationSourcePath()
Returns the source path of this relation.

Returns:
the source path

setRelationSourcePath

void setRelationSourcePath(java.lang.String relationSourcePath)
Sets the source path for this resource relation.

Parameters:
relationSourcePath - the source path to set

getRelationTargetId

java.lang.String getRelationTargetId()
Returns the target id of this relation.

Returns:
the target id

setRelationTargetId

void setRelationTargetId(java.lang.String relationTargetId)
Sets the target id for this relation.

Parameters:
relationTargetId - the id to set

getRelationTargetPath

java.lang.String getRelationTargetPath()
Returns the target path of this relation.

Returns:
the target path

setRelationTargetPath

void setRelationTargetPath(java.lang.String relationTargetPath)
Sets the target path for this resource relation.

Parameters:
relationTargetPath - the target path to set

getRelationType

int getRelationType()
Returns the relation type of this resource relation.

Returns:
the type

setRelationType

void setRelationType(int relationType)
Sets the relation type for this resource relation.

Parameters:
relationType - the type to set