Class GenericString

    • Field Detail

      • m_Classname

        protected BaseClassname m_Classname
        the class name.
      • m_ActualClass

        protected transient Class m_ActualClass
        the actual class.
      • m_Property

        protected String m_Property
        the property name.
      • m_PropertyDescriptor

        protected transient PropertyDescriptor m_PropertyDescriptor
        the property descriptor.
    • Constructor Detail

      • GenericString

        public GenericString()
    • Method Detail

      • getDefaultClassname

        protected BaseClassname getDefaultClassname()
        Returns the default classname.
        Returns:
        the default
      • setClassname

        public void setClassname​(BaseClassname value)
        Sets the classname to be the handler for.
        Parameters:
        value - the classname
      • getClassname

        public BaseClassname getClassname()
        Returns the classname to be the handler for.
        Returns:
        the classname
      • classnameTipText

        public String classnameTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • getDefaultProperty

        protected String getDefaultProperty()
        Returns the default property.
        Returns:
        the default
      • setProperty

        public void setProperty​(String value)
        Sets the property to manage.
        Parameters:
        value - the property
      • getProperty

        public String getProperty()
        Returns the property to manage.
        Returns:
        the property
      • propertyTipText

        public String propertyTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • getActualClass

        protected Class getActualClass()
        Returns the class that is being handled.
        Returns:
        the class
        Throws:
        IllegalStateException - if no valid classname provided
      • getPropertyDescriptor

        protected PropertyDescriptor getPropertyDescriptor()
        Returns the property descriptor for the handled property.
        Returns:
        the descriptor
        Throws:
        IllegalStateException - if introspection fails
      • handles

        protected boolean handles​(Object obj)
        Checks whether this object is handled by this discovery handler.
        Specified by:
        handles in class AbstractDiscoveryHandler
        Parameters:
        obj - the object to check
        Returns:
        true if handled