java.lang.Object
org.opendaylight.yang.gen.v1.urn.opendaylight.lfm.inet.binary.types.rev160303.Ipv4AddressBinary
All Implemented Interfaces:
Serializable, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.ScalarTypeObject<byte[]>, org.opendaylight.yangtools.yang.binding.TypeObject, org.opendaylight.yangtools.yang.binding.ValueAware<byte[]>

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

This class represents the following YANG schema fragment defined in module odl-inet-binary-types

 typedef ipv4-address-binary {
   type binary {
     length 4;
   }
 }
 
See Also:
  • Constructor Details

    • Ipv4AddressBinary

      @ConstructorParameters("value") public Ipv4AddressBinary(byte[] _value)
    • Ipv4AddressBinary

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

    • getDefaultInstance

      public static Ipv4AddressBinary getDefaultInstance(String defaultValue)
    • getValue

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