Class UnknownObject
- java.lang.Object
-
- org.opendaylight.protocol.pcep.spi.UnknownObject
-
- All Implemented Interfaces:
Object
,ObjectHeader
,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 Summary
Constructors Constructor Description UnknownObject(PCEPErrors error)
UnknownObject(PCEPErrors error, Object invalidObject)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PCEPErrors
getError()
List<Errors>
getErrors()
Boolean
getIgnore()
Return ignore, ornull
if it is not present.Object
getInvalidObject()
Boolean
getProcessingRule()
Return processingRule, ornull
if it is not present.Class<Object>
implementedInterface()
String
toString()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.types.rev181109.ObjectHeader
requireIgnore, requireProcessingRule
-
-
-
-
Constructor Detail
-
UnknownObject
public UnknownObject(PCEPErrors error)
-
UnknownObject
public UnknownObject(PCEPErrors error, Object invalidObject)
-
-
Method Detail
-
getError
public PCEPErrors getError()
-
getInvalidObject
public Object getInvalidObject()
-
implementedInterface
public Class<Object> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
- Specified by:
implementedInterface
in interfaceObject
- Specified by:
implementedInterface
in interfaceObjectHeader
-
getIgnore
public Boolean getIgnore()
Description copied from interface:ObjectHeader
Return ignore, ornull
if it is not present.- Specified by:
getIgnore
in interfaceObjectHeader
- Returns:
Boolean
ignore, ornull
if it is not present.
-
getProcessingRule
public Boolean getProcessingRule()
Description copied from interface:ObjectHeader
Return processingRule, ornull
if it is not present.- Specified by:
getProcessingRule
in interfaceObjectHeader
- Returns:
Boolean
processingRule, ornull
if it is not present.
-
-