Class BeanInfo

  • All Implemented Interfaces:
    ConfigurationElement, ConfigurationFile, java.lang.Cloneable

    public class BeanInfo
    extends AbstractConfigurationElement
    THIS CLASS IS NOT SUPPORTED FOR USE IN CUSTOM APPLICATION DEVELOPMENT. THE CLASS IS SUBJECT TO CHANGE IN FUTURE RELEASES AND SOME METHODS AND PROPERTIES MAY NOT BE SUITABLE FOR CUSTOM DEVELOPMENT.
    Since:
    MicroStrategy Web 9.0.0
    • Constructor Detail

      • BeanInfo

        public BeanInfo()
        Constructs a BeanInfo object
    • Method Detail

      • getBeanName

        public java.lang.String getBeanName()
        Returns the name to be associated with the bean we create.
        Returns:
        The name to be associated with the bean we create.
      • setBeanName

        public void setBeanName​(java.lang.String beanName)
        Sets the name to be associated with the bean we create.
        Parameters:
        beanName - The name to be associated with the bean we create.
      • getFactoryType

        public java.lang.String getFactoryType()
        Returns the type of factory that creates an instance of the desired bean.
        Returns:
        The type of factory that creates an instance of the desired bean.
      • getBeanTypeStr

        public java.lang.String getBeanTypeStr()
      • setBeanTypeStr

        public void setBeanTypeStr​(java.lang.String beanTypeStr)
      • getBeanType

        @Deprecated
        public int getBeanType()
        Deprecated.
        Use getBeanTypeStr
        Returns the type of the bean to create.
        Returns:
        The type of the bean to create.
      • setBeanType

        @Deprecated
        public void setBeanType​(int beanType)
        Deprecated.
        Use setBeanTypeStr
        Sets the type of the bean to create.
        Parameters:
        beanType - The type of the bean to create.
      • getOutputFormat

        @Deprecated
        public int getOutputFormat()
        Deprecated.
        No longer supported
        Returns the output format to associate with the created bean.
        Returns:
        The output format to associate with the created bean.
      • setOutputFormat

        @Deprecated
        public void setOutputFormat​(int outputFormat)
        Deprecated.
        No longer supported
        Sets the output format to associate with the created bean.
        Parameters:
        outputFormat - The output format to associate with the created bean.
      • getActualParameterInfos

        public java.util.List getActualParameterInfos()
        Returns a list of ActualParameterInfo objects for this bean.
        Returns:
        A list of ActualParameterInfo objects for this bean.
      • resolveStyleName

        public java.lang.String resolveStyleName​(RequestKeys requestKeys)
                                          throws TaskRequestMalformedException
        Resolves the style name to be used with the created bean.
        Parameters:
        requestKeys - The set of input parameters, in the form of a RequestKeys object.
        Returns:
        The style name to be used with the created bean, or null if there is no style specified.
        Throws:
        TaskRequestMalformedException - If the request does not contain enough information to resolve the style name.
      • getStyleSource

        public int getStyleSource()
        Returns the "source" location of the style attribute.
        Returns:
        The "source" location of the style attribute.
      • usesWebBean

        public boolean usesWebBean()
      • setUsesWebBean

        public void setUsesWebBean​(boolean b)
      • setStyleInfo

        public void setStyleInfo​(StyleInfo styleInfo)
        This method will replace the existing styleInfo object
        Parameters:
        styleInfo - instance of StyleInfo object
      • getStyleInfo

        public StyleInfo getStyleInfo()
        Returns:
        the StyleInfo object registered with this bean
      • getKeyAttribute

        protected java.lang.String getKeyAttribute()
        Description copied from class: AbstractConfigurationElement
        This method must return the attribute that uniquely identifies this element among its siblings; if no single attribute can be used, return null and override the getKey and setKey methods.
        Specified by:
        getKeyAttribute in class AbstractConfigurationElement