public class TypeDefinition extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
TypeDefinition() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAnnotatedDisplayName() |
String |
getDefaultValue() |
String |
getDescription() |
List<String> |
getEnumValues() |
String |
getExample() |
javax.ws.rs.core.MediaType |
getMediaType() |
TypeSource |
getSource() |
boolean |
isArrayType() |
boolean |
isEnum() |
boolean |
isRequired() |
boolean |
isUnionType() |
void |
setAnnotatedDisplayName(String annotatedDisplayName) |
void |
setArrayType(boolean arrayType) |
void |
setDefaultValue(String defaultValue) |
void |
setDescription(String description) |
void |
setEnumValues(List<String> enumValues) |
void |
setExample(String example) |
void |
setMediaType(javax.ws.rs.core.MediaType mediaType) |
void |
setRequired(boolean required) |
void |
setSource(TypeSource source) |
void |
setUnionType(boolean unionType) |
public javax.ws.rs.core.MediaType getMediaType()
public TypeSource getSource()
public boolean isRequired()
public boolean isUnionType()
public boolean isArrayType()
public boolean isEnum()
public String getDescription()
public String getDefaultValue()
public String getExample()
public String getAnnotatedDisplayName()
public void setMediaType(javax.ws.rs.core.MediaType mediaType)
public void setSource(TypeSource source)
public void setRequired(boolean required)
public void setArrayType(boolean arrayType)
public void setUnionType(boolean unionType)
public void setDescription(String description)
public void setDefaultValue(String defaultValue)
public void setAnnotatedDisplayName(String annotatedDisplayName)
public void setExample(String example)
Copyright © 2022. All rights reserved.