Interface NameValue
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject,org.opendaylight.yangtools.yang.binding.DataContainer,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
OrderedList,UnkeyedList,UnorderedList
public interface NameValue extends org.opendaylight.yangtools.yang.binding.DataObjectThis class represents the following YANG schema fragment defined in module UnqualifiedQName{localName=opendaylight-sal-test-store}
grouping name-value { leaf name { type string; } leaf value { type string; } }The schema path to identify an instance is opendaylight-sal-test-store/name-value
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QNameQNAME
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @Nullable StringgetName()Return name, ornullif it is not present..@Nullable StringgetValue()Return value, ornullif it is not present..Class<? extends NameValue>implementedInterface()
-
-
-
Method Detail
-
implementedInterface
Class<? extends NameValue> implementedInterface()
- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataContainer- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getName
@Nullable String getName()
Return name, ornullif it is not present..- Returns:
java.lang.Stringname, ornullif it is not present.
-
getValue
@Nullable String getValue()
Return value, ornullif it is not present..- Returns:
java.lang.Stringvalue, ornullif it is not present.
-
-