Class IpPrefixOrAddress

  • All Implemented Interfaces:
    java.io.Serializable, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.TypeObject

    public class IpPrefixOrAddress
    extends java.lang.Object
    implements org.opendaylight.yangtools.yang.binding.TypeObject, java.io.Serializable
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      IpPrefixOrAddress​(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress _ipAddress)  
      IpPrefixOrAddress​(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpPrefix _ipPrefix)  
      IpPrefixOrAddress​(IpPrefixOrAddress source)
      Creates a copy from Source Object.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress getIpAddress()  
      org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpPrefix getIpPrefix()  
      int hashCode()  
      java.lang.String stringValue()
      Return a String representing the value of this union.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • IpPrefixOrAddress

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

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

        public IpPrefixOrAddress​(IpPrefixOrAddress source)
        Creates a copy from Source Object.
        Parameters:
        source - Source object
    • Method Detail

      • stringValue

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

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

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

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public final boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object