public class DefaultError extends org.onosproject.yang.model.InnerModelObject implements Error, org.onosproject.yang.model.MultiInstanceObject<ErrorKeys>
valueLeafFlags identify the leafs whose value are explicitly set Applicable in protocol edit and query operation.
org.onosproject.yang.model.ModelObject.ModelObjectTypeError.LeafIdentifier| Modifier and Type | Field and Description |
|---|---|
protected String |
errorAppTag |
protected ErrorInfo |
errorInfo |
protected String |
errorMessage |
protected String |
errorPath |
protected String |
errorTag |
protected ErrorTypeEnum |
errorType |
protected BitSet |
valueLeafFlags |
| Constructor and Description |
|---|
DefaultError()
Creates an instance of defaultError.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
errorAppTag()
Returns the attribute errorAppTag.
|
void |
errorAppTag(String errorAppTag)
Sets the attribute errorAppTag.
|
ErrorInfo |
errorInfo()
Returns the attribute errorInfo.
|
void |
errorInfo(ErrorInfo errorInfo)
Sets the attribute errorInfo.
|
String |
errorMessage()
Returns the attribute errorMessage.
|
void |
errorMessage(String errorMessage)
Sets the attribute errorMessage.
|
String |
errorPath()
Returns the attribute errorPath.
|
void |
errorPath(String errorPath)
Sets the attribute errorPath.
|
String |
errorTag()
Returns the attribute errorTag.
|
void |
errorTag(String errorTag)
Sets the attribute errorTag.
|
ErrorTypeEnum |
errorType()
Returns the attribute errorType.
|
void |
errorType(ErrorTypeEnum errorType)
Sets the attribute errorType.
|
int |
hashCode() |
boolean |
isLeafValueSet(Error.LeafIdentifier leaf)
Checks if the leaf value is set.
|
String |
toString() |
BitSet |
valueLeafFlags()
Returns the attribute valueLeafFlags.
|
addAugmentation, augmentation, augmentations, removeAugmentationprotected ErrorTypeEnum errorType
protected String errorTag
protected String errorAppTag
protected String errorPath
protected String errorMessage
protected BitSet valueLeafFlags
protected ErrorInfo errorInfo
public ErrorTypeEnum errorType()
Errorpublic String errorTag()
Errorpublic String errorAppTag()
ErrorerrorAppTag in interface Errorpublic String errorPath()
Errorpublic String errorMessage()
ErrorerrorMessage in interface Errorpublic BitSet valueLeafFlags()
ErrorvalueLeafFlags in interface Errorpublic ErrorInfo errorInfo()
Errorpublic void errorType(ErrorTypeEnum errorType)
Errorpublic void errorTag(String errorTag)
Errorpublic void errorAppTag(String errorAppTag)
ErrorerrorAppTag in interface ErrorerrorAppTag - value of errorAppTagpublic void errorPath(String errorPath)
Errorpublic void errorMessage(String errorMessage)
ErrorerrorMessage in interface ErrorerrorMessage - value of errorMessagepublic void errorInfo(ErrorInfo errorInfo)
Errorpublic boolean isLeafValueSet(Error.LeafIdentifier leaf)
ErrorisLeafValueSet in interface Errorleaf - leaf whose value status needs to checkedCopyright © 2018. All rights reserved.