|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PropertyState
Immutable property state. A property consists of a name and a JSON-encoded value.
Two property states are considered equal if and only if their names and
encoded values match. The Object.equals(Object) method needs to
be implemented so that it complies with this definition. And while
property states are not meant for use as hash keys, the
Object.hashCode() method should still be implemented according
to this equality contract.
| Method Summary | |
|---|---|
Iterable<Scalar> |
getArray()
|
String |
getEncodedValue()
|
String |
getName()
|
Scalar |
getScalar()
|
boolean |
isArray()
Determine whether this is a multi valued property |
| Method Detail |
|---|
String getName()
String getEncodedValue()
boolean isArray()
true if and only if this is a multi valued property.Scalar getScalar()
null if this is a multi
valued property.Iterable<Scalar> getArray()
null if this is not a multi valued property.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||