Package jadex.commons

Class Property


  • public class Property
    extends java.lang.Object
    A configuration property.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.String name
      The name.
      protected java.lang.String type
      The property type (defines the kind of property).
      protected java.lang.String value
      The value.
    • Constructor Summary

      Constructors 
      Constructor Description
      Property()
      Create a new property.
      Property​(java.lang.String type, java.lang.String value)
      Create a new property.
      Property​(java.lang.String name, java.lang.String type, java.lang.String value)
      Create a new property.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getName()
      Get the name.
      java.lang.String getType()
      Get the type.
      java.lang.String getValue()
      Get the value.
      void setName​(java.lang.String name)
      Set the name.
      void setType​(java.lang.String type)
      Set the type.
      void setValue​(java.lang.String value)
      Set the value.
      java.lang.String toString()
      Get the string representation.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • name

        protected java.lang.String name
        The name.
      • type

        protected java.lang.String type
        The property type (defines the kind of property).
      • value

        protected java.lang.String value
        The value.
    • Constructor Detail

      • Property

        public Property()
        Create a new property.
      • Property

        public Property​(java.lang.String type,
                        java.lang.String value)
        Create a new property.
      • Property

        public Property​(java.lang.String name,
                        java.lang.String type,
                        java.lang.String value)
        Create a new property.
    • Method Detail

      • getName

        public java.lang.String getName()
        Get the name.
        Returns:
        The name.
      • setName

        public void setName​(java.lang.String name)
        Set the name.
        Parameters:
        name - The name to set.
      • getType

        public java.lang.String getType()
        Get the type.
        Returns:
        The type.
      • setType

        public void setType​(java.lang.String type)
        Set the type.
        Parameters:
        type - The type to set.
      • getValue

        public java.lang.String getValue()
        Get the value.
        Returns:
        The value.
      • setValue

        public void setValue​(java.lang.String value)
        Set the value.
      • toString

        public java.lang.String toString()
        Get the string representation.
        Overrides:
        toString in class java.lang.Object
        Returns:
        The string representation.