java.lang.Object
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.network.concepts.rev131125.MplsLabel
All Implemented Interfaces:
Serializable, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.ScalarTypeObject<org.opendaylight.yangtools.yang.common.Uint32>, org.opendaylight.yangtools.yang.binding.TypeObject, org.opendaylight.yangtools.yang.binding.ValueAware<org.opendaylight.yangtools.yang.common.Uint32>

@Generated("mdsal-binding-generator") public class MplsLabel extends Object implements org.opendaylight.yangtools.yang.binding.ScalarTypeObject<org.opendaylight.yangtools.yang.common.Uint32>, Serializable

This class represents the following YANG schema fragment defined in module network-concepts

 typedef mpls-label {
   type uint32 {
     range 0..1048575;
   }
 }
 
See Also:
  • Constructor Details

    • MplsLabel

      @ConstructorParameters("value") public MplsLabel(org.opendaylight.yangtools.yang.common.Uint32 _value)
    • MplsLabel

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

    • getDefaultInstance

      public static MplsLabel getDefaultInstance(String defaultValue)
    • getValue

      public org.opendaylight.yangtools.yang.common.Uint32 getValue()
      Specified by:
      getValue in interface org.opendaylight.yangtools.yang.binding.ValueAware<org.opendaylight.yangtools.yang.common.Uint32>
    • hashCode

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

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

      public String toString()
      Overrides:
      toString in class Object