public class TypeDefinition extends Object implements Serializable
| Constructor and Description |
|---|
TypeDefinition() |
TypeDefinition(String type) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
static String |
formatType(String type)
Format the
String presenting Java type |
static String[] |
formatTypes(String[] types)
Format the
String array presenting Java types |
List<String> |
getEnums() |
List<String> |
getItems() |
Map<String,String> |
getProperties() |
String |
getType() |
int |
hashCode() |
void |
setEnums(List<String> enums) |
void |
setItems(List<String> items) |
void |
setProperties(Map<String,String> properties) |
void |
setType(String type) |
String |
toString() |
public TypeDefinition()
public TypeDefinition(String type)
public static String[] formatTypes(String[] types)
String array presenting Java typestypes - the strings presenting Java typespublic static String formatType(String type)
String presenting Java typetype - the String presenting typepublic String getType()
public void setType(String type)
Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.