java.lang.Object
org.opendaylight.yang.gen.v1.http.openconfig.net.yang.vlan.rev190416.VlanLogicalConfig.VlanId
All Implemented Interfaces:
Serializable, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.TypeObject, org.opendaylight.yangtools.yang.binding.UnionTypeObject
Enclosing interface:
VlanLogicalConfig

@Deprecated public static final class VlanLogicalConfig.VlanId extends Object implements org.opendaylight.yangtools.yang.binding.UnionTypeObject, Serializable
Deprecated.

This class represents the following YANG schema fragment defined in module openconfig-vlan

 leaf vlan-id {
   type union {
     type oc-vlan-types:vlan-id;
     type oc-vlan-types:qinq-id;
   }
   status deprecated;
 }
 
See Also:
  • Field Details

    • PATTERN_CONSTANTS

      public static final List<String> PATTERN_CONSTANTS
      Deprecated.
  • Constructor Details

    • VlanId

      public VlanId(VlanId _vlanId)
      Deprecated.
    • VlanId

      public VlanId(QinqId _qinqId)
      Deprecated.
    • VlanId

      public VlanId(VlanLogicalConfig.VlanId source)
      Deprecated.
      Creates a copy from Source Object.
      Parameters:
      source - Source object
  • Method Details

    • stringValue

      public String stringValue()
      Deprecated.
      Return a String representing the value of this union.
      Returns:
      String representation of this union's value.
    • getVlanId

      public VlanId getVlanId()
      Deprecated.
    • getQinqId

      public QinqId getQinqId()
      Deprecated.
    • hashCode

      public int hashCode()
      Deprecated.
      Overrides:
      hashCode in class Object
    • equals

      public final boolean equals(Object obj)
      Deprecated.
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Deprecated.
      Overrides:
      toString in class Object