Class NamedValue

  • All Implemented Interfaces:
    java.io.Serializable, Primitive

    @Embeddable
    public class NamedValue
    extends java.lang.Object
    implements java.io.Serializable, Primitive
    class to store a single value in an ordered list.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      NamedValue()
      Deprecated.
      NamedValue​(java.lang.String name, java.lang.String value)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      java.lang.String getName()  
      java.lang.String getValue()  
      int hashCode()  
      void setName​(java.lang.String name)  
      void setValue​(java.lang.String value)  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • NamedValue

        @Deprecated
        public NamedValue()
        Deprecated.
        no-arg constructor to keep Hibernate happy.
      • NamedValue

        public NamedValue​(java.lang.String name,
                          java.lang.String value)
    • Method Detail

      • getName

        public java.lang.String getName()
      • getValue

        public java.lang.String getValue()
      • setName

        public void setName​(java.lang.String name)
      • setValue

        public void setValue​(java.lang.String value)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object