@Label(value="Key") public interface YAMLKeyDescriptor extends YAMLDescriptor, com.buschmais.jqassistant.plugin.common.api.model.NamedDescriptor, YAMLKeyBucket, YAMLValueBucket, com.buschmais.jqassistant.core.store.api.model.FullQualifiedNameDescriptor
Modifier and Type | Method and Description |
---|---|
List<YAMLKeyDescriptor> |
getKeys() |
int |
getPosition()
Returns the position of the key relative to its parent
in document order.
|
List<YAMLValueDescriptor> |
getValues() |
@Relation(value="CONTAINS_KEY") List<YAMLKeyDescriptor> getKeys()
getKeys
in interface YAMLKeyBucket
@Relation(value="CONTAINS_VALUE") List<YAMLValueDescriptor> getValues()
getValues
in interface YAMLValueBucket
@Property(value="position") int getPosition()
The position starts with zero and is relative to it's parent. The parent could either be the containing document or an other key.
Copyright © 2015–2016 buschmais GbR. All rights reserved.