Class AbstractComponentParameter<T>

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.String description
      configuration description
      protected java.lang.Long id
      required by ORM
      protected java.lang.String name
      configuration name
      protected T value
      configuration value
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object object)  
      protected boolean equalsOrNull​(java.lang.Object object1, java.lang.Object object2)
      Utility method for object comparison
      java.lang.String getDescription()
      Getter for description
      java.lang.Long getId()
      Getter for id
      java.lang.String getName()
      Getter for name
      T getValue()
      Getter for value
      int hashCode()
      HashCode default implementation
      void setDescription​(java.lang.String description)
      Setter for description
      void setId​(java.lang.Long id)
      Setter for id
      void setName​(java.lang.String name)
      Setter for name
      void setValue​(T value)
      Setter for value
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • id

        protected java.lang.Long id
        required by ORM
      • name

        protected java.lang.String name
        configuration name
      • value

        protected T value
        configuration value
      • description

        protected java.lang.String description
        configuration description
    • Constructor Detail

      • AbstractComponentParameter

        public AbstractComponentParameter()
    • Method Detail

      • getId

        public java.lang.Long getId()
        Getter for id
        Specified by:
        getId in interface org.ikasan.spec.configuration.ConfigurationParameter<T>
        Returns:
      • setId

        public void setId​(java.lang.Long id)
        Setter for id
        Specified by:
        setId in interface org.ikasan.spec.configuration.ConfigurationParameter<T>
        Parameters:
        id -
      • getName

        public java.lang.String getName()
        Getter for name
        Specified by:
        getName in interface org.ikasan.spec.configuration.ConfigurationParameter<T>
        Returns:
      • setName

        public void setName​(java.lang.String name)
        Setter for name
        Specified by:
        setName in interface org.ikasan.spec.configuration.ConfigurationParameter<T>
        Parameters:
        name -
      • getValue

        public T getValue()
        Getter for value
        Specified by:
        getValue in interface org.ikasan.spec.configuration.ConfigurationParameter<T>
        Returns:
      • setValue

        public void setValue​(T value)
        Setter for value
        Specified by:
        setValue in interface org.ikasan.spec.configuration.ConfigurationParameter<T>
        Parameters:
        value -
      • getDescription

        public java.lang.String getDescription()
        Getter for description
        Specified by:
        getDescription in interface org.ikasan.spec.configuration.ConfigurationParameter<T>
        Returns:
      • setDescription

        public void setDescription​(java.lang.String description)
        Setter for description
        Specified by:
        setDescription in interface org.ikasan.spec.configuration.ConfigurationParameter<T>
        Parameters:
        description -
      • equalsOrNull

        protected boolean equalsOrNull​(java.lang.Object object1,
                                       java.lang.Object object2)
        Utility method for object comparison
        Parameters:
        object1 -
        object2 -
        Returns:
      • equals

        public boolean equals​(java.lang.Object object)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        HashCode default implementation
        Overrides:
        hashCode in class java.lang.Object
        Returns:
        int hashcode