|
Spring Data Commons | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.data.mapping.model.SimpleTypeHolder
public class SimpleTypeHolder
Simple container to hold a set of types to be considered simple types.
| Constructor Summary | |
|---|---|
SimpleTypeHolder()
Creates a new SimpleTypeHolder containing the default types. |
|
SimpleTypeHolder(Set<? extends Class<?>> customSimpleTypes,
boolean registerDefaults)
Creates a new SimpleTypeHolder to carry the given custom simple types. |
|
SimpleTypeHolder(Set<? extends Class<?>> customSimpleTypes,
SimpleTypeHolder source)
Copy constructor to create a new SimpleTypeHolder that carries the given additional custom simple types. |
|
| Method Summary | |
|---|---|
boolean |
isSimpleType(Class<?> type)
Returns whether the given type is considered a simple one. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleTypeHolder()
SimpleTypeHolder containing the default types.
SimpleTypeHolder(Set, boolean)
public SimpleTypeHolder(Set<? extends Class<?>> customSimpleTypes,
boolean registerDefaults)
SimpleTypeHolder to carry the given custom simple types. Registration of default simple types
can be deactivated by passing false for registerDefaults.
customSimpleTypes - registerDefaults -
public SimpleTypeHolder(Set<? extends Class<?>> customSimpleTypes,
SimpleTypeHolder source)
SimpleTypeHolder that carries the given additional custom simple types.
customSimpleTypes - must not be nullsource - must not be null| Method Detail |
|---|
public boolean isSimpleType(Class<?> type)
type -
|
Spring Data Commons | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||