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-type

    To create instances of this class use EntityTypeBuilder.

    See Also:
    EntityTypeBuilder, EntityTypeKey
    • Field Detail

      • QNAME

        static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
    • Method Detail

      • implementedInterface

        default Class<EntityType> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getType

        @Nullable String getType()
        Returns:
        java.lang.String type, or null if not present
      • getEntity

        @Nullable List<Entity> getEntity()
        Returns:
        java.util.List entity, or null if not present
      • nonnullEntity

        default @NonNull List<Entity> nonnullEntity()
        Returns:
        java.util.List entity, or an empty list if it is not present