All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject
All Known Subinterfaces:
SetNextHopAction, SetNwDstAction, SetNwSrcAction

@Generated("mdsal-binding-generator") public interface Address extends org.opendaylight.yangtools.yang.binding.DataObject

This class represents the following YANG schema fragment defined in module opendaylight-action-types

 grouping address {
   choice address {
     case ipv4 {
       leaf ipv4-address {
         type inet:ipv4-prefix;
       }
     }
     case ipv6 {
       leaf ipv6-address {
         type inet:ipv6-prefix;
       }
     }
   }
 }
 
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final @NonNull org.opendaylight.yangtools.yang.common.QName
    YANG identifier of the statement represented by this class.
  • Method Summary

    Modifier and Type
    Method
    Description
    Return address, or null if it is not present.
    Class<? extends Address>
     
  • Field Details

    • QNAME

      static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
      YANG identifier of the statement represented by this class.
  • Method Details

    • implementedInterface

      Class<? extends Address> implementedInterface()
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
    • getAddress

      Address getAddress()
      Return address, or null if it is not present.
      Returns:
      org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.address.Address address, or null if it is not present.