Class UnknownObject

java.lang.Object
org.opendaylight.protocol.pcep.spi.UnknownObject
All Implemented Interfaces:
Object, ObjectHeader, 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

public final class UnknownObject extends Object implements Object
Placeholder object. This object should be injected by in positions where an object is either completely unknown or has failed semantic validation.
  • Constructor Details

    • UnknownObject

      public UnknownObject(PCEPErrors error)
    • UnknownObject

      public UnknownObject(PCEPErrors error, Object invalidObject)
  • Method Details

    • getErrors

      public List<Errors> getErrors()
    • getError

      public PCEPErrors getError()
    • getInvalidObject

      public Object getInvalidObject()
    • implementedInterface

      public Class<Object> 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
      Specified by:
      implementedInterface in interface Object
      Specified by:
      implementedInterface in interface ObjectHeader
    • getIgnore

      public Boolean getIgnore()
      Description copied from interface: ObjectHeader
      Return ignore, or null if it is not present.
      Specified by:
      getIgnore in interface ObjectHeader
      Returns:
      Boolean ignore, or null if it is not present.
    • getProcessingRule

      public Boolean getProcessingRule()
      Description copied from interface: ObjectHeader
      Return processingRule, or null if it is not present.
      Specified by:
      getProcessingRule in interface ObjectHeader
      Returns:
      Boolean processingRule, or null if it is not present.
    • toString

      public String toString()
      Overrides:
      toString in class Object