Class Property

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

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

      • Property

        public Property()
      • Property

        public Property​(java.lang.String name)
    • Method Detail

      • getName

        public java.lang.String getName()
      • getType

        public java.lang.String getType()
      • getAnnotation

        public java.lang.String getAnnotation()
      • setName

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

        public void setType​(java.lang.String type)
      • setAnnotation

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

        protected boolean useNodeValue()
        Description copied from class: AbstractConfigurationElement
        Controls whether this element will use the node value as a property. For example, nodes defined as:
        
          <a att="1">This is the node value</a>
         
        can expose a property which will return the node's value (This is the node vale). When this is the case, though, the element can't have any sub elements. They're mutually exclusive.
        Overrides:
        useNodeValue in class AbstractConfigurationElement
        Returns:
        false by default. Override this method if you want to associate the node value with some property.
      • setNodeValue

        protected void setNodeValue​(java.lang.String value)
        Description copied from class: AbstractConfigurationElement
        Returns the node value for this element. The node value represents the inner context of the xml tag. If multiple ElementSources are defined for this element, it returns the value of the one with greater priority.
        Overrides:
        setNodeValue in class AbstractConfigurationElement
      • setPropertyValue

        public void setPropertyValue​(java.lang.String propertyValue)
      • addBlockConfig

        public void addBlockConfig​(BlockConfig blockConfig)
      • addBlockListConfig

        public void addBlockListConfig​(BlockListConfig blockListConfig)
      • 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