Class PropertySet

    • Field Detail

      • NODE_PROPERTY_SET

        public static final java.lang.String NODE_PROPERTY_SET
        constant for the propertySet node name
        See Also:
        Constant Field Values
      • ATT_NAME

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

      • PropertySet

        public PropertySet()
        Class constructor. Initializes a new -empty- instance of the PropertySet class.
      • PropertySet

        public PropertySet​(java.lang.String name)
        Class constructor. Initializes a new instance of the PropertySet class with the information given as parameters
        Parameters:
        name - unique name -identifier- for the PropertySet.
      • PropertySet

        public PropertySet​(org.w3c.dom.Node root)
        Class constructor. Initializes a PropertySet instance based on the information included on the XML Node
        Parameters:
        root - Node instance representing the PropertySet information.
    • Method Detail

      • 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.
        Overrides:
        getKeyAttribute in class AbstractConfigurationElementList
        Since:
        MicroStrategy Web 9.0.0
      • getName

        public java.lang.String getName()
        Get the name of the PropertySet instance
        Returns:
        the String value of the name property.
      • setName

        public void setName​(java.lang.String name)
        Set the name of the PropertySet instance
        Parameters:
        name - the String value of the name property - unique identifier of the PropertySet instance.
      • getProperties

        @Deprecated
        public HashList getProperties()
        Deprecated.
        For performance reasons, it's better to use getPropertyList()
        Get the list of propertied
        Returns:
        list of properties
      • getProperty

        public Property getProperty​(java.lang.String propertyName)
        Parameters:
        propertyName - string representing the name of the Property to return
        Returns:
        a Property by its name.