com.softwareag.centrasite.appl.framework.persistence.impl
Class RelationInfo

java.lang.Object
  extended by com.softwareag.centrasite.appl.framework.persistence.impl.RelationInfo

public class RelationInfo
extends java.lang.Object

Container for relation information needed by the BeanPool for tracking purposes.


Nested Class Summary
static class RelationInfo.RelationType
          Enumeration of possible relation types.
 
Constructor Summary
RelationInfo()
          Default constructor.
RelationInfo(RegistryBean sourceBean, RegistryBean targetBean, RelationInfo.RelationType type)
           
 
Method Summary
 RegistryBean getSourceBean()
          Retrieves the source bean.
 RegistryBean getTargetBean()
          Retrieves the target bean.
 RelationInfo.RelationType getType()
          Retrieves the relation type.
 void setSourceBean(RegistryBean source)
          Sets the source RegistryBean.
 void setTargetBean(RegistryBean targetBean)
          Sets the target RegistryBean.
 void setType(RelationInfo.RelationType type)
          Sets the relation type.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RelationInfo

public RelationInfo()
Default constructor.


RelationInfo

public RelationInfo(RegistryBean sourceBean,
                    RegistryBean targetBean,
                    RelationInfo.RelationType type)
Parameters:
sourceBean -
targetBean -
type -
Method Detail

getSourceBean

public RegistryBean getSourceBean()
Retrieves the source bean.

Returns:
RegistryBean

setSourceBean

public void setSourceBean(RegistryBean source)
Sets the source RegistryBean.

Parameters:
source -

getTargetBean

public RegistryBean getTargetBean()
Retrieves the target bean.

Returns:
RegistryBean

setTargetBean

public void setTargetBean(RegistryBean targetBean)
Sets the target RegistryBean.

Parameters:
targetBean -

getType

public RelationInfo.RelationType getType()
Retrieves the relation type.

Returns:
RelationInfo.RelationType

setType

public void setType(RelationInfo.RelationType type)
Sets the relation type.

Parameters:
type - RelationInfo.RelationType