T - entity java typepublic interface Type<T> extends Expression<T>
| Modifier and Type | Method and Description |
|---|---|
Set<Attribute<T,?>> |
getAttributes() |
Class<?> |
getBaseType() |
<B> Supplier<B> |
getBuilderFactory() |
<B> Function<B,T> |
getBuildFunction() |
Class<T> |
getClassType() |
Supplier<T> |
getFactory() |
Set<Attribute<T,?>> |
getKeyAttributes() |
String |
getName() |
Function<T,EntityProxy<T>> |
getProxyProvider() |
Attribute<T,?> |
getSingleKeyAttribute() |
String[] |
getTableCreateAttributes() |
String[] |
getTableUniqueIndexes() |
boolean |
isBuildable() |
boolean |
isCacheable() |
boolean |
isImmutable() |
boolean |
isReadOnly() |
boolean |
isStateless() |
getExpressionTypeString getName()
getName in interface Expression<T>Class<T> getClassType()
getClassType in interface Expression<T>Class for which this type information is for.Class<?> getBaseType()
boolean isCacheable()
boolean isImmutable()
boolean isReadOnly()
boolean isStateless()
boolean isBuildable()
<B> Supplier<B> getBuilderFactory()
B - builder typeisBuildable() returns the factory that instantiates the builder instance,
otherwise null.<B> Function<B,T> getBuildFunction()
B - builder typeisBuildable() returns the function that builds the final type from
a builder instance.Set<Attribute<T,?>> getAttributes()
Attributes that this type represents. (includes
all attributes)Set<Attribute<T,?>> getKeyAttributes()
Attributes that are the key for this type.Attribute<T,?> getSingleKeyAttribute()
Supplier<T> getFactory()
Supplier instance used to provide new instances of getClassType().Function<T,EntityProxy<T>> getProxyProvider()
Function provider for retrieving the EntityProxy for a
given entity instance.String[] getTableCreateAttributes()
Table.createAttributes()String[] getTableUniqueIndexes()
Table.uniqueIndexes() ()}