java.lang.Object
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.lisp.address.types.rev151105.SimpleAddress
All Implemented Interfaces:
Serializable, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.TypeObject

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

This class represents the following YANG schema fragment defined in module ietf-lisp-address-types

 typedef simple-address {
   type union {
     type inet:ip-address;
     type inet:ip-prefix;
     type yang:mac-address;
     type distinguished-name-type;
     type inet:as-number;
   }
 }
 
See Also:
  • Field Details

    • PATTERN_CONSTANTS

      public static final List<String> PATTERN_CONSTANTS
  • Constructor Details

    • SimpleAddress

      public SimpleAddress(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress _ipAddress)
    • SimpleAddress

      public SimpleAddress(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpPrefix _ipPrefix)
    • SimpleAddress

      public SimpleAddress(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress _macAddress)
    • SimpleAddress

      public SimpleAddress(DistinguishedNameType _distinguishedNameType)
    • SimpleAddress

      public SimpleAddress(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.AsNumber _asNumber)
    • SimpleAddress

      public SimpleAddress(SimpleAddress 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.
    • getIpAddress

      public org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress getIpAddress()
    • getIpPrefix

      public org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpPrefix getIpPrefix()
    • getMacAddress

      public org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress getMacAddress()
    • getDistinguishedNameType

      public DistinguishedNameType getDistinguishedNameType()
    • getAsNumber

      public org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.AsNumber getAsNumber()
    • 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