Class DefaultBeanId
- java.lang.Object
-
- org.smooks.engine.bean.repository.DefaultBeanId
-
-
Constructor Summary
Constructors Constructor Description DefaultBeanId(BeanIdStore beanIdStore, int index, String beanId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
BeanIdStore
getBeanIdStore()
ResourceConfig
getCreateResourceConfiguration()
Get theResourceConfig
associated with theBeanInstanceCreator
that is creating the bean with which thisBeanId
instance is associated.int
getIndex()
Returns the index of the place it holds in theBeanIdStore
.String
getName()
Returns the BeanId name.int
hashCode()
BeanId
setCreateResourceConfiguration(ResourceConfig createResourceConfig)
Set theResourceConfig
associated with theBeanInstanceCreator
that is creating the bean with which thisBeanId
instance is associated.String
toString()
-
-
-
Constructor Detail
-
DefaultBeanId
public DefaultBeanId(BeanIdStore beanIdStore, int index, String beanId)
- Parameters:
index
-name
-
-
-
Method Detail
-
setCreateResourceConfiguration
public BeanId setCreateResourceConfiguration(ResourceConfig createResourceConfig)
Set theResourceConfig
associated with theBeanInstanceCreator
that is creating the bean with which thisBeanId
instance is associated.- Specified by:
setCreateResourceConfiguration
in interfaceBeanId
- Parameters:
createResourceConfig
- TheResourceConfig
of the creator.- Returns:
- This object instance.
-
getCreateResourceConfiguration
public ResourceConfig getCreateResourceConfiguration()
Get theResourceConfig
associated with theBeanInstanceCreator
that is creating the bean with which thisBeanId
instance is associated.- Specified by:
getCreateResourceConfiguration
in interfaceBeanId
- Returns:
- The
ResourceConfig
of the creator.
-
getIndex
public int getIndex()
Returns the index of the place it holds in theBeanIdStore
.
-
getName
public String getName()
Returns the BeanId name.
-
getBeanIdStore
public BeanIdStore getBeanIdStore()
- Specified by:
getBeanIdStore
in interfaceBeanId
-
-