public class

BeanDefnsImpl

extends AbstractStyleCatalogList
implements BeanDefns
java.lang.Object
   ↳ com.microstrategy.utils.config.AbstractConfigurationElement
     ↳ com.microstrategy.utils.config.AbstractElementList
       ↳ com.microstrategy.web.transform.AbstractStyleCatalogList
         ↳ com.microstrategy.web.transform.BeanDefnsImpl

Class Overview

This class implements the BeanDefns interface, which is a collection of BeanDefn objects.

Summary

Constants
String NODE_BEAN_DEFNS
[Expand]
Inherited Constants
From class com.microstrategy.utils.config.AbstractConfigurationElement
Public Constructors
BeanDefnsImpl()
Public Methods
BeanDefn getBeanDefn(int index)
Retrieves a specific BeanDefn object by its numeric index.
BeanDefn getBeanDefn(String name)
Retrives a specific BeanDefn object by its name.
BeanDefn getBeanDefnByClass(String className)
Retrives a specific BeanDefn object by its class name.
BeanDefn newBeanDefn(String beanName, String className)
Creates a new BeanDefn object and adds it to the collection.
Protected Methods
Class getListClass()
Returns the Class items beloging to this list will be instance of.
String getListNodeName()
Returns the name of the node representing children of this list.
[Expand]
Inherited Methods
From class com.microstrategy.web.transform.AbstractStyleCatalogList
From class com.microstrategy.utils.config.AbstractElementList
From class com.microstrategy.utils.config.AbstractConfigurationElement
From class java.lang.Object
From interface com.microstrategy.utils.config.ConfigurationElement
From interface com.microstrategy.utils.config.ConfigurationFile
From interface com.microstrategy.web.transform.BeanDefns

Constants

protected static final String NODE_BEAN_DEFNS

Constant Value: "BeanDefns"

Public Constructors

public BeanDefnsImpl ()

Public Methods

public BeanDefn getBeanDefn (int index)

Retrieves a specific BeanDefn object by its numeric index.

Parameters
index the index of the BeanDefn object in collection.
Returns
  • the BeanDefn object in the collection with the given index.
Throws
IndexOutOfBoundsException

public BeanDefn getBeanDefn (String name)

Retrives a specific BeanDefn object by its name.

Parameters
name the name of the BeanDefn object.
Returns
  • the BeanDefn object in the collection with the given name.
Throws
IllegalArgumentException

public BeanDefn getBeanDefnByClass (String className)

Retrives a specific BeanDefn object by its class name.

Parameters
className the bean class name.
Returns
  • the BeanDefn object in the collection with the given class name.

public BeanDefn newBeanDefn (String beanName, String className)

Creates a new BeanDefn object and adds it to the collection.

Parameters
beanName the name of the new BeanDefn object.
Returns
Throws
IllegalArgumentException
UnsupportedOperationException

Protected Methods

protected Class getListClass ()

Returns the Class items beloging to this list will be instance of.

protected String getListNodeName ()

Returns the name of the node representing children of this list.