Class BlockConfig

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

    public class BlockConfig
    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

      • BlockConfig

        public BlockConfig()
      • BlockConfig

        public BlockConfig​(java.lang.String name)
      • BlockConfig

        public BlockConfig​(org.w3c.dom.Node root)
        Constructor that takes a Node parameter.
        Parameters:
        root - The root node.
        Since:
        MicroStrategy Web 9.0.1
    • Method Detail

      • getName

        public java.lang.String getName()
      • getInherits

        public java.lang.String getInherits()
      • getAnnotation

        public java.lang.String getAnnotation()
      • getListElementKey

        public java.lang.String getListElementKey()
      • getListItem

        public java.lang.String getListItem()
      • getListAction

        public java.lang.String getListAction()
      • setName

        public void setName​(java.lang.String name)
      • setInherits

        public void setInherits​(java.lang.String inherits)
      • setAnnotation

        public void setAnnotation​(java.lang.String annotation)
      • setListElementKey

        public void setListElementKey​(java.lang.String key)
      • setListItem

        public void setListItem​(java.lang.String item)
      • setListAction

        public void setListAction​(java.lang.String action)
      • getDefinition

        public Definition getDefinition()
      • getAssignments

        public java.util.List<Assignments> getAssignments()
      • getAssignment

        public Assignments getAssignment​(java.lang.String mode)
      • setAssignment

        public void setAssignment​(Assignments assignment)
      • getProperties

        public java.util.List<Property> getProperties()
      • getProperty

        public Property getProperty​(java.lang.Object propertyName)
      • getDependentBlockNames

        public java.util.List<java.lang.String> getDependentBlockNames()
      • 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
      • getDTDFileName

        protected java.lang.String getDTDFileName()
        Description copied from class: AbstractConfigurationElement
        Returns the name of a DTD file that will be added as SystemID to the XML resulting from serializing the contents of this ConfigurationElement into a file; null by default. This method should be extended if the concrete instance of an element has a predefined DTD file associated.
        Overrides:
        getDTDFileName in class AbstractConfigurationElement
      • getKey

        public java.lang.Object getKey()
        Description copied from class: AbstractConfigurationElement
        Default implementation for getKey(). It assumes a single attribute can be used to uniquely identify this element among its siblings; the attribute to use is specified by the getKeyAttribute() method.
        Specified by:
        getKey in interface ConfigurationElement
        Overrides:
        getKey in class AbstractConfigurationElement
        Returns:
        If getKeyAttribute() is empty returns null, otherwise it returns the value of the given attribute.
      • setDefiniton

        public void setDefiniton​(Definition definition)
      • addProperty

        public void addProperty​(Property property)
      • setInitPath

        public void setInitPath​(java.lang.String path)
        This method is used only if a new Element is created programmatically using the conifguration editor.
        Parameters:
        path - The path for newly created BlockConfig
        Since:
        MicroStrategy Web 9.0.1