Package joynr.types

Class CustomParameter

    • Constructor Detail

      • CustomParameter

        public CustomParameter()
        Default Constructor
      • CustomParameter

        public CustomParameter​(CustomParameter customParameterObj)
        Copy constructor
        Parameters:
        customParameterObj - reference to the object to be copied
      • CustomParameter

        public CustomParameter​(String name,
                               String value)
        Parameterized constructor
        Parameters:
        name - the name of the custom parameter
        value - the value of the custom parameter
    • Method Detail

      • getName

        public String getName()
        Gets Name
        Returns:
        the name of the custom parameter
      • setName

        public void setName​(String name)
        Sets Name
        Parameters:
        name - the name of the custom parameter
      • getValue

        public String getValue()
        Gets Value
        Returns:
        the value of the custom parameter
      • setValue

        public void setValue​(String value)
        Sets Value
        Parameters:
        value - the value of the custom parameter
      • toString

        public String toString()
        Stringifies the class
        Overrides:
        toString in class Object
        Returns:
        stringified class content
      • equals

        public boolean equals​(Object obj)
        Check for equality
        Overrides:
        equals in class Object
        Parameters:
        obj - Reference to the object to compare to
        Returns:
        true, if objects are equal, false otherwise
      • hashCode

        public int hashCode()
        Calculate code for hashing based on member contents
        Overrides:
        hashCode in class Object
        Returns:
        The calculated hash code