public abstract class Imports<T extends IGeneratorDefinition> extends TreeSet<String>
| Constructor and Description |
|---|
Imports() |
| Modifier and Type | Method and Description |
|---|---|
String |
getIvoPackageName() |
abstract void |
initDefaults()
initial default imports
|
abstract <K extends AbstractInterconnectModel> |
initFromDefintion(T definition,
K model) |
void |
remove(Class<?> clazz) |
void |
setIvoPackageName(String ivoPackageName) |
void |
with(Class<?> clazz) |
void |
with(String value) |
void |
withBigDecimal()
adds bgidecimal
|
void |
withDateTime()
adds joda time
|
void |
withJsonDeserialize()
adds jsonDeserialize
|
void |
withJsonIgnore()
adds json ignore
|
void |
withJsonPOJOBuilder()
adds json pojo builder
|
void |
withJsonTypeInfo()
adds jsontypeinfo
|
void |
withNonnull()
add nonnull
|
void |
withNullable()
add nullable
|
void |
withToBeRemoved()
adds tobereomoced
|
void |
withUUID()
adds uuid
|
add, addAll, ceiling, clear, clone, comparator, contains, descendingIterator, descendingSet, first, floor, headSet, headSet, higher, isEmpty, iterator, last, lower, pollFirst, pollLast, remove, size, spliterator, subSet, subSet, tailSet, tailSetequals, hashCode, removeAllcontainsAll, retainAll, toArray, toArray, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitcontainsAll, equals, hashCode, removeAll, retainAll, toArray, toArrayparallelStream, removeIf, streampublic abstract void initDefaults()
public abstract <K extends AbstractInterconnectModel> void initFromDefintion(T definition, K model)
definition - init imports from the given definitionmodel - the modelpublic void withJsonDeserialize()
public void withNullable()
public void withNonnull()
public void withToBeRemoved()
public void withJsonIgnore()
public void withJsonPOJOBuilder()
public void withJsonTypeInfo()
public void withBigDecimal()
public void withDateTime()
public void withUUID()
public void with(String value)
value - the import to add as stringpublic void with(Class<?> clazz)
clazz - the import to add as classpublic void remove(Class<?> clazz)
clazz - the clazz to removepublic String getIvoPackageName()
public void setIvoPackageName(String ivoPackageName)
ivoPackageName - the ivoPackageName to setCopyright © 2016–2019 Taimos GmbH. All rights reserved.