public class ErrorDefinition extends StructDefinition
DataDefinitions implementation for vAPI errors.| Constructor and Description |
|---|
ErrorDefinition(String name,
Map<String,DataDefinition> fields)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
DataType |
getType()
Returns the
DataType for this type. |
ErrorValue |
newInstance() |
accept, completeValue, equals, getField, getFieldNames, getName, hasField, hashCode, toString, validatevalidInstanceOfpublic ErrorDefinition(String name, Map<String,DataDefinition> fields)
Creates instance for the specified name and structure' fields. The
name and fields are used for theStructDefinition
represented by the instance.
name - the error name; must not be nullfields - Map of name keys and DataDefinition
values for the fields of this instance; must not be
nullpublic DataType getType()
DataDefinitionDataType for this type.getType in class StructDefinitionDataType for this typepublic ErrorValue newInstance()
newInstance in class StructDefinitionCopyright © 2022. All rights reserved.