public class RelationInfo
extends java.lang.Object
BeanPool
for
tracking purposes.Modifier and Type | Class and Description |
---|---|
static class |
RelationInfo.RelationType
Enumeration of possible relation types.
|
Constructor and Description |
---|
RelationInfo()
Default constructor.
|
RelationInfo(RegistryBean sourceBean,
RegistryBean targetBean,
RelationInfo.RelationType type)
Constructor for creating a
RelationInfo instance. |
Modifier and Type | Method and Description |
---|---|
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.
|
public RelationInfo()
public RelationInfo(RegistryBean sourceBean, RegistryBean targetBean, RelationInfo.RelationType type)
RelationInfo
instance.sourceBean
- The source RegistryBean
objecttargetBean
- The target RegistryBean
objecttype
- The RelationInfo.RelationType
objectpublic RegistryBean getSourceBean()
RegistryBean
source objectpublic void setSourceBean(RegistryBean source)
RegistryBean
.source
- The RegistryBean
source object to setpublic RegistryBean getTargetBean()
RegistryBean
targetpublic void setTargetBean(RegistryBean targetBean)
RegistryBean
.targetBean
- the target RegistryBean
objectpublic RelationInfo.RelationType getType()
RelationInfo.RelationType
public void setType(RelationInfo.RelationType type)
type
- RelationInfo.RelationType
to set