Class RuntimeDescriptor

    • Constructor Detail

      • RuntimeDescriptor

        public RuntimeDescriptor​(RuntimeDescriptor other)
        Creates a new instance of RuntimeDescriptor
      • RuntimeDescriptor

        public RuntimeDescriptor()
        Creates a new instance of RuntimeDescriptor
    • Method Detail

      • addPropertyChangeListener

        public void addPropertyChangeListener​(PropertyChangeListener l)
        Add a property listener for this bean
        Parameters:
        the - property listener
      • removePropertyChangeListener

        public void removePropertyChangeListener​(PropertyChangeListener l)
        removes a property listener for this bean
        Parameters:
        the - property listener to remove
      • addPropertyChangeListener

        public void addPropertyChangeListener​(String n,
                                              PropertyChangeListener l)
        Add a property listener for a specific property name
        Parameters:
        the - property name
        the - property listener
      • removePropertyChangeListener

        public void removePropertyChangeListener​(String n,
                                                 PropertyChangeListener l)
        Remover a property listener for specific property name
        Parameters:
        the - property name
        the - property listener
      • setValue

        public void setValue​(String name,
                             Object value)
        Sets a property value
        Parameters:
        the - property name
        the - property value
      • getValue

        public Object getValue​(String name)
        Returns:
        a property value
      • setValue

        protected void setValue​(String name,
                                int index,
                                Object value)
        indexed property support
      • getValue

        protected Object getValue​(String name,
                                  int index)
      • addValue

        protected int addValue​(String name,
                               Object value)
      • removeValue

        protected int removeValue​(String name,
                                  Object value)
      • removeValue

        protected void removeValue​(String name,
                                   int index)
      • size

        protected int size​(String name)
      • setAttributeValue

        public void setAttributeValue​(String elementName,
                                      String attributeName,
                                      Object value)
      • getAttributeValue

        public String getAttributeValue​(String elementName,
                                        String attributeName)
      • setAttributeValue

        public void setAttributeValue​(String attributeName,
                                      String value)
      • getAttributeValue

        public String getAttributeValue​(String attributeName)
      • setAttributeValue

        public void setAttributeValue​(String elementName,
                                      int index,
                                      String attributeName,
                                      Object value)
      • getAttributeValue

        public String getAttributeValue​(String elementName,
                                        int index,
                                        String attributeName)