Interface EntityType
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.Augmentable<EntityType>,org.opendaylight.yangtools.yang.binding.BindingObject,org.opendaylight.yangtools.yang.binding.ChildOf<EntityOwners>,org.opendaylight.yangtools.yang.binding.DataContainer,org.opendaylight.yangtools.yang.binding.DataObject,org.opendaylight.yangtools.yang.binding.Identifiable<EntityTypeKey>
public interface EntityType extends org.opendaylight.yangtools.yang.binding.ChildOf<EntityOwners>, org.opendaylight.yangtools.yang.binding.Augmentable<EntityType>, org.opendaylight.yangtools.yang.binding.Identifiable<EntityTypeKey>
This class represents the following YANG schema fragment defined in module entity-owners
list entity-type { key type; leaf type { type string; } list entity { key id; leaf id { type instance-identifier; } leaf owner { type string; } list candidate { key name; ordered-by user; leaf name { type string; } } } }The schema path to identify an instance is entity-owners/entity-owners/entity-typeTo create instances of this class use
EntityTypeBuilder.- See Also:
EntityTypeBuilder,EntityTypeKey
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QNameQNAME
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description @Nullable List<Entity>getEntity()@Nullable StringgetType()default Class<EntityType>implementedInterface()EntityTypeKeykey()default @NonNull List<Entity>nonnullEntity()
-
-
-
Method Detail
-
implementedInterface
default Class<EntityType> implementedInterface()
- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataContainer- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getType
@Nullable String getType()
- Returns:
java.lang.Stringtype, ornullif not present
-
nonnullEntity
default @NonNull List<Entity> nonnullEntity()
- Returns:
java.util.Listentity, or an empty list if it is not present
-
key
EntityTypeKey key()
- Specified by:
keyin interfaceorg.opendaylight.yangtools.yang.binding.Identifiable<EntityTypeKey>
-
-