java.lang.Object
org.opendaylight.yang.gen.v1.http.openconfig.net.yang.vlan.types.rev200630.VlanRange
All Implemented Interfaces:
Serializable, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.ScalarTypeObject<String>, org.opendaylight.yangtools.yang.binding.TypeObject, org.opendaylight.yangtools.yang.binding.ValueAware<String>

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

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

 typedef vlan-range {
   type string {
     pattern "^(409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9])\.\.(409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9])$";
     oc-ext:posix-pattern "^(409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9])\.\.(409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9])$";
   }
 }
 
See Also:
  • Field Details

    • PATTERN_CONSTANTS

      public static final List<String> PATTERN_CONSTANTS
  • Constructor Details

    • VlanRange

      @ConstructorParameters("value") public VlanRange(String _value)
    • VlanRange

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

    • getDefaultInstance

      public static VlanRange getDefaultInstance(String defaultValue)
    • getValue

      public String getValue()
      Specified by:
      getValue in interface org.opendaylight.yangtools.yang.binding.ValueAware<String>
    • 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