com.microstrategy.web.transform.BeanDefns |
![]() |
The BeanDefns interface is used to manage a collection of bean definition objects.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract void |
clear()
Removes all of the BeanDefn objects from the collection
| ||||||||||
abstract BeanDefn |
getBeanDefn(int index)
Retrieves a specific BeanDefn object by its numeric index.
| ||||||||||
abstract BeanDefn |
getBeanDefn(String name)
Retrives a specific BeanDefn object by its name.
| ||||||||||
abstract BeanDefn |
getBeanDefnByClass(String className)
Retrives a specific BeanDefn object by its class name.
| ||||||||||
abstract int |
getCount()
Returns the number of BeanDefn objects in the collection.
| ||||||||||
abstract BeanDefn |
newBeanDefn(String beanName, String className)
Creates a new BeanDefn object and adds it to the collection.
| ||||||||||
abstract void |
remove(int index)
Removes the BeanDefn object at the specified position in the collection.
| ||||||||||
abstract void |
remove(String name)
Removes the BeanDefn object with the specified name from the collection.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Removes all of the BeanDefn objects from the collection
UnsupportedOperationException | thrown if the collection is read-only. |
---|
Retrieves a specific BeanDefn object by its numeric index.
index | the index of the BeanDefn object in collection. |
---|
BeanDefn
object in the collection with the given index.IndexOutOfBoundsException | thrown if the index is invalid. |
---|
Retrives a specific BeanDefn object by its name.
name | the name of the BeanDefn object. |
---|
BeanDefn
object in the collection with the given name.IllegalArgumentException | thrown if no bean definition has the given name in the collection. |
---|
Retrives a specific BeanDefn object by its class name.
className | the bean class name. |
---|
BeanDefn
object in the collection with the given class name.IllegalArgumentException | thrown if no bean definition has the given name in the collection. |
---|
Returns the number of BeanDefn objects in the collection.
Creates a new BeanDefn object and adds it to the collection.
beanName | the name of the new BeanDefn object. |
---|
BeanDefn
object just created.IllegalArgumentException | thrown if the bean definition name is used by another BeanDefn object in the collection or if the style name is empty. |
---|---|
UnsupportedOperationException | thrown if the collection is read-only. |
Removes the BeanDefn object at the specified position in the collection. This method will not remove the associations made to the object deleted in a Style object.
index | the index of the BeanDefn object to remove. |
---|
thrown if the specified index is out of range. | |
UnsupportedOperationException | thrown if the collection is read-only. |
IndexOutOfBoundsException |
Removes the BeanDefn object with the specified name from the collection. This method will not remove the associations made to the object deleted in a Style object.
name | the name of the BeanDefn object to remove. |
---|
IllegalArgumentException | thrown if no bean definition has the given name in the collection. |
---|---|
UnsupportedOperationException | thrown if the collection is read-only. |