Package org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.entity.owners.norev
Interface EntityId
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>,org.opendaylight.yangtools.yang.binding.BindingObject,org.opendaylight.yangtools.yang.binding.DataContainer,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
Entities,GetEntityInput,GetEntityOwnerInput
@Generated("mdsal-binding-generator")
public interface EntityId
extends org.opendaylight.yangtools.yang.binding.DataObject
This class represents the following YANG schema fragment defined in module odl-entity-owners
grouping entity-id {
leaf type {
type entity-type;
}
leaf name {
type entity-name;
}
}
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QNameYANG identifier of the statement represented by this class. -
Method Summary
Modifier and TypeMethodDescriptiongetName()Return name, ornullif it is not present.getType()Return type, ornullif it is not present.default @NonNull EntityNameReturn name, guaranteed to be non-null.default @NonNull EntityTypeReturn type, guaranteed to be non-null.
-
Field Details
-
QNAME
static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAMEYANG identifier of the statement represented by this class.
-
-
Method Details
-
implementedInterface
- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getType
EntityType getType()Return type, ornullif it is not present.- Returns:
EntityTypetype, ornullif it is not present.
-
requireType
Return type, guaranteed to be non-null.- Returns:
EntityTypetype, guaranteed to be non-null.- Throws:
NoSuchElementException- if type is not present
-
getName
EntityName getName()Return name, ornullif it is not present.- Returns:
EntityNamename, ornullif it is not present.
-
requireName
Return name, guaranteed to be non-null.- Returns:
EntityNamename, guaranteed to be non-null.- Throws:
NoSuchElementException- if name is not present
-