Interface Counter
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.Augmentable<Counter>
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.ChildOf<DataChangeCounter>
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
,org.opendaylight.yangtools.yang.binding.Identifiable<CounterKey>
public interface Counter extends org.opendaylight.yangtools.yang.binding.ChildOf<DataChangeCounter>, org.opendaylight.yangtools.yang.binding.Augmentable<Counter>, org.opendaylight.yangtools.yang.binding.Identifiable<CounterKey>
This class represents the following YANG schema fragment defined in module data-change-counter
list counter { leaf id { type string; } key id; leaf count { type uint32; } }
The schema path to identify an instance is data-change-counter/data-change-counter/counterTo create instances of this class use
CounterBuilder
.- See Also:
CounterBuilder
,CounterKey
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description org.opendaylight.yangtools.yang.common.Uint32
getCount()
The number of data changes.String
getId()
default Class<Counter>
implementedInterface()
CounterKey
key()
-
-
-
Method Detail
-
implementedInterface
default Class<Counter> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getId
String getId()
- Returns:
java.lang.String
id
, ornull
if not present
-
getCount
org.opendaylight.yangtools.yang.common.Uint32 getCount()
The number of data changes.- Returns:
org.opendaylight.yangtools.yang.common.Uint32
count
, ornull
if not present
-
key
CounterKey key()
- Specified by:
key
in interfaceorg.opendaylight.yangtools.yang.binding.Identifiable<CounterKey>
-
-