public class ErrorType extends StructType implements Type
StructType.FieldNameDetails| Constructor and Description |
|---|
ErrorType(String name,
Map<String,Type> fields,
Class<?> bindingClass,
Map<String,StructType.FieldNameDetails> fieldNameDetails)
Creates an error type.
|
| Modifier and Type | Method and Description |
|---|---|
void |
accept(TypeVisitor visitor)
Accepts a type visitor and dispatches to the appropriate visitor method,
depending on class of the individual type.
|
getBindingClass, getDiscriminatedBy, getDiscriminator, getField, getFieldByJavaName, getFieldNameDetails, getFieldNames, getFieldWithSetterNames, getGetterMethodForField, getModelKeyFields, getName, getSetterMethodForField, isModel, validate, validatepublic ErrorType(String name, Map<String,Type> fields, Class<?> bindingClass, Map<String,StructType.FieldNameDetails> fieldNameDetails)
name - name of the errorfields - types of the error fieldsbindingClass - Java language binding of the error typeNullPointerException - if one of the parameters is nullpublic void accept(TypeVisitor visitor)
Typeaccept in interface Typeaccept in class StructTypevisitor - type visitorCopyright © 2023. All rights reserved.