@Label(value="Value") public interface YAMLValueDescriptor extends YAMLDescriptor, YAMLValueBucket
Modifier and Type | Method and Description |
---|---|
int |
getPosition()
Returns the position of the value relative to its parent
in document order.
|
String |
getValue() |
List<YAMLValueDescriptor> |
getValues() |
void |
setValue(String value) |
@Indexed @Property(value="value") String getValue()
void setValue(String value)
@Relation(value="CONTAINS_VALUE") List<YAMLValueDescriptor> getValues()
getValues
in interface YAMLValueBucket
@Property(value="position") int getPosition()
Returns the position of the value relative to its parent in document order.
The position starts with zero and is relative to it's parent. The parent could either be the containing document or a key.
Copyright © 2015–2016 buschmais GbR. All rights reserved.