Package ome.model.internal
Class NamedValue
- java.lang.Object
-
- ome.model.internal.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()
-
-
-
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 classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-