java.lang.Object
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.types.rev200120.RdTwoOctetAs
All Implemented Interfaces:
Serializable, org.opendaylight.yangtools.binding.BindingObject, org.opendaylight.yangtools.binding.ScalarTypeObject<String>, org.opendaylight.yangtools.binding.TypeObject, org.opendaylight.yangtools.binding.ValueAware<String>

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

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

 typedef rd-two-octet-as {
   type string {
     pattern 0:([0-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-5][0-9][0-9][0-9][0-9]|6[0-4][0-9][0-9][0-9]|65[0-4][0-9][0-9]|655[0-2][0-9]|6553[0-5]):([0-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]|[1-3][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]|4[0-1][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]|42[0-8][0-9][0-9][0-9][0-9][0-9][0-9][0-9]|429[0-3][0-9][0-9][0-9][0-9][0-9][0-9]|4294[0-8][0-9][0-9][0-9][0-9][0-9]|42949[0-5][0-9][0-9][0-9][0-9]|429496[0-6][0-9][0-9][0-9]|4294967[0-1][0-9][0-9]|42949672[0-8][0-9]|429496729[0-5]);
   }
 }
 
See Also:
  • Field Details

    • PATTERN_CONSTANTS

      public static final List<String> PATTERN_CONSTANTS
  • Constructor Details

    • RdTwoOctetAs

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

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

    • getDefaultInstance

      public static RdTwoOctetAs getDefaultInstance(String defaultValue)
    • getValue

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