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:
TeLspAttributes

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

This class represents the following YANG schema fragment defined in module rsvp

 grouping protection-object {
   choice protection-object {
     case basic-protection-object-case {
       container basic-protection-object {
         uses rsvp-te-object;
         uses protection-subobject;
       }
     }
     case dynamic-control-protection-object-case {
       container dynamic-control-protection-object {
         uses rsvp-te-object;
         uses protection-subobject;
       }
     }
   }
 }
 
  • 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 protectionObject, or null if it is not present.
     
  • 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 ProtectionObject> 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
    • getProtectionObject

      ProtectionObject getProtectionObject()
      Return protectionObject, or null if it is not present.
           
               Protection Subobject
           
       
      Returns:
      org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.rsvp.rev150820.protection.object.ProtectionObject protectionObject, or null if it is not present.