java.lang.Object
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.rev150105.DatapathId
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 DatapathId extends Object implements org.opendaylight.yangtools.yang.binding.ScalarTypeObject<String>, Serializable

This class represents the following YANG schema fragment defined in module ovsdb

 typedef datapath-id {
   type string {
     pattern "[0-9a-fA-F]{2}(:[0-9a-fA-F]{2}){7}";
   }
 }
 
See Also:
  • Field Details

    • PATTERN_CONSTANTS

      public static final List<String> PATTERN_CONSTANTS
  • Constructor Details

    • DatapathId

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

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

    • getDefaultInstance

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