java.lang.Object
org.opendaylight.yang.gen.v1.urn.opendaylight.lfm.inet.binary.types.rev160303.IpAddressBinary
All Implemented Interfaces:
Serializable, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.TypeObject

@Generated("mdsal-binding-generator") public class IpAddressBinary extends Object implements org.opendaylight.yangtools.yang.binding.TypeObject, Serializable

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

 typedef ip-address-binary {
   type union {
     type ipv4-address-binary;
     type ipv6-address-binary;
   }
 }
 
See Also:
  • Constructor Details

    • IpAddressBinary

      public IpAddressBinary(Ipv4AddressBinary _ipv4AddressBinary)
    • IpAddressBinary

      public IpAddressBinary(Ipv6AddressBinary _ipv6AddressBinary)
    • IpAddressBinary

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

    • stringValue

      public String stringValue()
      Return a String representing the value of this union.
      Returns:
      String representation of this union's value.
    • getIpv4AddressBinary

      public Ipv4AddressBinary getIpv4AddressBinary()
    • getIpv6AddressBinary

      public Ipv6AddressBinary getIpv6AddressBinary()
    • 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