com.dotmarketing.portlets.structure.model
Class Relationship

java.lang.Object
  extended by com.dotmarketing.beans.Inode
      extended by com.dotmarketing.portlets.structure.model.Relationship
All Implemented Interfaces:
java.io.Serializable

public class Relationship
extends Inode

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.dotmarketing.beans.Inode
inode
 
Constructor Summary
Relationship()
           
 
Method Summary
 int getCardinality()
           
 java.lang.String getChildRelationName()
           
 Structure getChildStructure()
           
 long getChildStructureInode()
           
 java.lang.String getParentRelationName()
           
 Structure getParentStructure()
           
 long getParentStructureInode()
           
 java.lang.String getRelationTypeValue()
           
 boolean isChildRequired()
           
 boolean isParentRequired()
           
 void setCardinality(int cardinality)
           
 void setChildRelationName(java.lang.String childRelationName)
           
 void setChildRequired(boolean childRequired)
           
 void setChildStructureInode(long childStructureInode)
           
 void setParentRelationName(java.lang.String parentRelationName)
           
 void setParentRequired(boolean parentRequired)
           
 void setParentStructureInode(long parentStructureInode)
           
 void setRelationTypeValue(java.lang.String relationTypeValue)
           
 
Methods inherited from class com.dotmarketing.beans.Inode
addChild, addChild, addParent, addParent, deleteChild, deleteChild, deleteParent, deleteParent, equals, getiDate, getIDate, getIdentifier, getInode, getMap, getOwner, getType, hasChildren, hasParents, isNew, setiDate, setIDate, setIDate, setIdentifier, setInode, setInode, setOwner, setOwner, setParents, setType
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Relationship

public Relationship()
Method Detail

getCardinality

public int getCardinality()
Returns:
Returns the cardinality.

setCardinality

public void setCardinality(int cardinality)
Parameters:
cardinality - The cardinality to set.

getChildRelationName

public java.lang.String getChildRelationName()
Returns:
Returns the childRelationName.

setChildRelationName

public void setChildRelationName(java.lang.String childRelationName)
Parameters:
childRelationName - The childRelationName to set.

getChildStructureInode

public long getChildStructureInode()
Returns:
Returns the childStructureInode.

getChildStructure

public Structure getChildStructure()

setChildStructureInode

public void setChildStructureInode(long childStructureInode)
Parameters:
childStructureInode - The childStructureInode to set.

getParentRelationName

public java.lang.String getParentRelationName()
Returns:
Returns the parentRelationName.

setParentRelationName

public void setParentRelationName(java.lang.String parentRelationName)
Parameters:
parentRelationName - The parentRelationName to set.

getParentStructure

public Structure getParentStructure()

getParentStructureInode

public long getParentStructureInode()
Returns:
Returns the parentStructureInode.

setParentStructureInode

public void setParentStructureInode(long parentStructureInode)
Parameters:
parentStructureInode - The parentStructureInode to set.

getRelationTypeValue

public java.lang.String getRelationTypeValue()
Returns:
Returns the relationTypeValue.

setRelationTypeValue

public void setRelationTypeValue(java.lang.String relationTypeValue)
Parameters:
relationTypeValue - The relationTypeValue to set.

isChildRequired

public boolean isChildRequired()

setChildRequired

public void setChildRequired(boolean childRequired)

isParentRequired

public boolean isParentRequired()

setParentRequired

public void setParentRequired(boolean parentRequired)


Copyright © 2006 Dotmarketing, Inc. All Rights Reserved.