Interface VlanId

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.Augmentable<VlanId>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.ChildOf<VlanMatchFields>, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject

    public interface VlanId
    extends org.opendaylight.yangtools.yang.binding.ChildOf<VlanMatchFields>, org.opendaylight.yangtools.yang.binding.Augmentable<VlanId>
    VLAN id.

    This class represents the following YANG schema fragment defined in module opendaylight-match-types

     container vlan-id {
       presence "Match field is active and set";
       leaf vlan-id-present {
         type boolean;
       }
       leaf vlan-id {
         type l2t:vlan-id;
       }
     }
     
    The schema path to identify an instance is opendaylight-match-types/vlan-match-fields/vlan-id

    To create instances of this class use VlanIdBuilder.

    See Also:
    VlanIdBuilder
    • Field Detail

      • QNAME

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

      • implementedInterface

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

        @Nullable Boolean isVlanIdPresent()
        Returns:
        java.lang.Boolean vlanIdPresent, or null if not present
      • getVlanId

        @Nullable org.opendaylight.yang.gen.v1.urn.opendaylight.l2.types.rev130827.VlanId getVlanId()
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.l2.types.rev130827.VlanId vlanId, or null if not present