java.lang.Object
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.types.rev200120.RdIpv4
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 RdIpv4 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-ipv4 {
   type string {
     pattern "((([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])):([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])";
   }
 }
 
See Also:
  • Field Details

    • PATTERN_CONSTANTS

      public static final List<String> PATTERN_CONSTANTS
  • Constructor Details

    • RdIpv4

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

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

    • getDefaultInstance

      public static RdIpv4 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