Class BeanDefnsImpl

    • Field Detail

      • NODE_BEAN_DEFNS

        protected static final java.lang.String NODE_BEAN_DEFNS
        Since:
        MicroStrategy Web 9.0.0
        See Also:
        Constant Field Values
    • Constructor Detail

      • BeanDefnsImpl

        public BeanDefnsImpl()
        Since:
        MicroStrategy Web 9.0.0
    • Method Detail

      • getBeanDefn

        public BeanDefn getBeanDefn​(int index)
                             throws java.lang.IndexOutOfBoundsException
        Description copied from interface: BeanDefns
        Retrieves a specific BeanDefn object by its numeric index.
        Specified by:
        getBeanDefn in interface BeanDefns
        Parameters:
        index - the index of the BeanDefn object in collection.
        Returns:
        the BeanDefn object in the collection with the given index.
        Throws:
        java.lang.IndexOutOfBoundsException - thrown if the index is invalid.
      • getBeanDefn

        public BeanDefn getBeanDefn​(java.lang.String name)
                             throws java.lang.IllegalArgumentException
        Description copied from interface: BeanDefns
        Retrives a specific BeanDefn object by its name.
        Specified by:
        getBeanDefn in interface BeanDefns
        Parameters:
        name - the name of the BeanDefn object.
        Returns:
        the BeanDefn object in the collection with the given name.
        Throws:
        java.lang.IllegalArgumentException - thrown if no bean definition has the given name in the collection.
      • getBeanDefnByClass

        public BeanDefn getBeanDefnByClass​(java.lang.String className)
        Description copied from interface: BeanDefns
        Retrives a specific BeanDefn object by its class name.
        Specified by:
        getBeanDefnByClass in interface BeanDefns
        Parameters:
        className - the bean class name.
        Returns:
        the BeanDefn object in the collection with the given class name.
      • newBeanDefn

        public BeanDefn newBeanDefn​(java.lang.String beanName,
                                    java.lang.String className)
                             throws java.lang.IllegalArgumentException,
                                    java.lang.UnsupportedOperationException
        Description copied from interface: BeanDefns
        Creates a new BeanDefn object and adds it to the collection.
        Specified by:
        newBeanDefn in interface BeanDefns
        Parameters:
        beanName - the name of the new BeanDefn object.
        Returns:
        the BeanDefn object just created.
        Throws:
        java.lang.IllegalArgumentException - thrown if the bean definition name is used by another BeanDefn object in the collection or if the style name is empty.
        java.lang.UnsupportedOperationException - thrown if the collection is read-only.
      • getListClass

        protected java.lang.Class getListClass()
        Description copied from class: AbstractElementList
        Returns the Class items beloging to this list will be instance of.
        Specified by:
        getListClass in class AbstractElementList
        Since:
        MicroStrategy Web 9.0.0
      • getListNodeName

        protected java.lang.String getListNodeName()
        Description copied from class: AbstractElementList
        Returns the name of the node representing children of this list.
        Specified by:
        getListNodeName in class AbstractElementList
        Since:
        MicroStrategy Web 9.0.0