|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectthings.data.NVImmutable
things.data.NV
public class NV
This is a name/value pair as strings.
A value can be more than one item.
Version History
EPG - Rewrite from another project - 22 MAY 042
Field Summary |
---|
Fields inherited from class things.data.NVImmutable |
---|
name, value |
Constructor Summary | |
---|---|
NV(java.lang.String n,
java.lang.String... v)
Setting constructor. |
|
NV(java.lang.String n,
java.lang.String v)
Setting constructor. |
Method Summary | |
---|---|
void |
setName(java.lang.String name)
Set the name. |
void |
setValue(java.lang.String v)
Set the value. |
void |
setValues(java.lang.String... v)
Set the values. |
Methods inherited from class things.data.NVImmutable |
---|
getFlat, getName, getValue, getValues, getValuesAsList, isMultivalue, isValid, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public NV(java.lang.String n, java.lang.String v)
n
- the namev
- the valuepublic NV(java.lang.String n, java.lang.String... v)
n
- the namev
- the valueMethod Detail |
---|
public void setName(java.lang.String name)
name
- The name to set.public void setValue(java.lang.String v)
v
- the value.public void setValues(java.lang.String... v)
v
- The values.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |