public abstract class TypeDefinitionDecorator extends Object
| Modifier and Type | Field and Description |
|---|---|
protected TypeDefinition |
typeDefinition |
| Constructor and Description |
|---|
TypeDefinitionDecorator(String externalName,
String internalName,
TypeDefinition typeDefinition) |
TypeDefinitionDecorator(TypeDefinition typeDefinition) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAnnotatedParameterName() |
String |
getDefaultValue() |
String |
getDescription() |
String |
getExample() |
String |
getExternalName() |
String |
getInternalName() |
String |
getMediaType() |
TypeDefinition |
getTypeDefinition() |
boolean |
hasDefaultValue() |
boolean |
hasMediaType() |
boolean |
isArrayType() |
boolean |
isEnumType() |
boolean |
isPrimitiveType() |
boolean |
isRequired() |
boolean |
isUnionType() |
protected final TypeDefinition typeDefinition
public TypeDefinitionDecorator(String externalName, String internalName, TypeDefinition typeDefinition)
public TypeDefinitionDecorator(TypeDefinition typeDefinition)
public TypeDefinition getTypeDefinition()
public String getExternalName()
public String getInternalName()
public boolean hasMediaType()
public String getMediaType()
public boolean isRequired()
public String getDescription()
public String getDefaultValue()
public boolean hasDefaultValue()
public String getExample()
public boolean isPrimitiveType()
public boolean isUnionType()
public boolean isArrayType()
public boolean isEnumType()
public String getAnnotatedParameterName()
Copyright © 2019. All rights reserved.