public interface Entity extends org.opendaylight.yangtools.yang.binding.ChildOf<EntityType>, org.opendaylight.yangtools.yang.binding.Augmentable<Entity>, org.opendaylight.yangtools.yang.binding.Identifiable<EntityKey>
This class represents the following YANG schema fragment defined in module entity-owners
list entity {
key "id";
leaf id {
type instance-identifier;
}
leaf owner {
type string;
}
list candidate {
key "name";
leaf name {
type string;
}
}
}
The schema path to identify an instance is
entity-owners/entity-owners/entity-type/entity
To create instances of this class use EntityBuilder.
EntityBuilder,
EntityKey| Modifier and Type | Field and Description |
|---|---|
static org.opendaylight.yangtools.yang.common.QName |
QNAME |
| Modifier and Type | Method and Description |
|---|---|
List<Candidate> |
getCandidate() |
org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> |
getId() |
EntityKey |
getKey()
Returns Primary Key of Yang List Type
|
String |
getOwner() |
org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> getId()
org.opendaylight.yangtools.yang.binding.InstanceIdentifier id, or null if not presentString getOwner()
java.lang.String owner, or null if not presentList<Candidate> getCandidate()
java.util.List candidate, or null if not presentEntityKey getKey()
getKey in interface org.opendaylight.yangtools.yang.binding.Identifiable<EntityKey>org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.md.sal.clustering.entity.owners.rev150804.entity.owners.entity.type.EntityKey key, or null if not presentCopyright © 2018 OpenDaylight. All rights reserved.