@Entity public class CmsDAOOnlineResourceRelations extends java.lang.Object implements I_CmsDAOResourceRelations
| 限定符和类型 | 类和说明 |
|---|---|
static class |
CmsDAOOnlineResourceRelations.CmsDAOOnlineResourceRelationsPK
This class implements the primary key for a online resource relation entry
in the table "cms_online_resource_relations".
|
| 构造器和说明 |
|---|
CmsDAOOnlineResourceRelations()
The default constructor.
|
CmsDAOOnlineResourceRelations(java.lang.String relationSourceId,
java.lang.String relationSourcePath,
java.lang.String relationTargetId,
java.lang.String relationTargetPath,
int relationType)
A public constructor for generating a new contents object with an unique id.
|
| 限定符和类型 | 方法和说明 |
|---|---|
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.
|
public CmsDAOOnlineResourceRelations()
public CmsDAOOnlineResourceRelations(java.lang.String relationSourceId,
java.lang.String relationSourcePath,
java.lang.String relationTargetId,
java.lang.String relationTargetPath,
int relationType)
relationSourceId - the relation source idrelationSourcePath - the relation source pathrelationTargetId - the relation target idrelationTargetPath - the relation target pathrelationType - the relation typepublic java.lang.String getRelationSourceId()
I_CmsDAOResourceRelationsgetRelationSourceId 在接口中 I_CmsDAOResourceRelationsI_CmsDAOResourceRelations.getRelationSourceId()public java.lang.String getRelationSourcePath()
I_CmsDAOResourceRelationsgetRelationSourcePath 在接口中 I_CmsDAOResourceRelationsI_CmsDAOResourceRelations.getRelationSourcePath()public java.lang.String getRelationTargetId()
I_CmsDAOResourceRelationsgetRelationTargetId 在接口中 I_CmsDAOResourceRelationsI_CmsDAOResourceRelations.getRelationTargetId()public java.lang.String getRelationTargetPath()
I_CmsDAOResourceRelationsgetRelationTargetPath 在接口中 I_CmsDAOResourceRelationsI_CmsDAOResourceRelations.getRelationTargetPath()public int getRelationType()
I_CmsDAOResourceRelationsgetRelationType 在接口中 I_CmsDAOResourceRelationsI_CmsDAOResourceRelations.getRelationType()public void setRelationSourceId(java.lang.String relationSourceId)
I_CmsDAOResourceRelationssetRelationSourceId 在接口中 I_CmsDAOResourceRelationsrelationSourceId - the id to setI_CmsDAOResourceRelations.setRelationSourceId(java.lang.String)public void setRelationSourcePath(java.lang.String relationSourcePath)
I_CmsDAOResourceRelationssetRelationSourcePath 在接口中 I_CmsDAOResourceRelationsrelationSourcePath - the source path to setI_CmsDAOResourceRelations.setRelationSourcePath(java.lang.String)public void setRelationTargetId(java.lang.String relationTargetId)
I_CmsDAOResourceRelationssetRelationTargetId 在接口中 I_CmsDAOResourceRelationsrelationTargetId - the id to setI_CmsDAOResourceRelations.setRelationTargetId(java.lang.String)public void setRelationTargetPath(java.lang.String relationTargetPath)
I_CmsDAOResourceRelationssetRelationTargetPath 在接口中 I_CmsDAOResourceRelationsrelationTargetPath - the target path to setI_CmsDAOResourceRelations.setRelationTargetPath(java.lang.String)public void setRelationType(int relationType)
I_CmsDAOResourceRelationssetRelationType 在接口中 I_CmsDAOResourceRelationsrelationType - the type to setI_CmsDAOResourceRelations.setRelationType(int)