| Modifier and Type | Field and Description |
|---|---|
static com.google.common.base.Predicate<FieldInfo> |
HAS_GENERATOR
A predicate for filtering fields with value generators
|
static com.google.common.base.Predicate<FieldInfo> |
IS_REQUIRED
A predicate for filtering required fields
|
static com.google.common.base.Function<FieldInfo,java.lang.String> |
PLUCK_NAME
Return the name of the field
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.reflect.Method |
getAccessor() |
java.lang.Class<? extends ValueGenerator<? extends T>> |
getGeneratorType() |
java.lang.Class<T> |
getJavaType() |
java.lang.reflect.Method |
getMutator() |
java.lang.String |
getName() |
java.lang.String |
getPolymorphicName() |
TypeInfo<T> |
getTypeInfo() |
boolean |
hasAccessor() |
boolean |
hasAutoIncrement() |
boolean |
hasDefaultValue() |
boolean |
hasMutator() |
boolean |
isCacheable()
Deprecated.
since 0.25. Entities and values now no longer cached.
|
boolean |
isNullable() |
boolean |
isPrimary() |
boolean |
isStorable() |
boolean |
isTransient() |
static final com.google.common.base.Predicate<FieldInfo> IS_REQUIRED
isNullable(),
hasDefaultValue(),
hasAutoIncrement()static final com.google.common.base.Predicate<FieldInfo> HAS_GENERATOR
getGeneratorType()static final com.google.common.base.Function<FieldInfo,java.lang.String> PLUCK_NAME
java.lang.String getName()
java.lang.String getPolymorphicName()
Polymorphicboolean isPrimary()
true if the field is the primary key, false otherwisePrimaryKeyboolean isNullable()
true if the field is nullable, false otherwiseNotNullboolean isStorable()
true if a value corresponding to this field may be stored by the entity, false otherwiseboolean isCacheable()
boolean isTransient()
true if the field is transient, false otherwiseTransientboolean hasAutoIncrement()
true if the field an auto increment field, false otherwiseAutoIncrement,
PrimaryKeyboolean hasDefaultValue()
true if the field has a default value, false otherwisejava.lang.Class<T> getJavaType()
boolean hasAccessor()
true if the field has an accessor, false otherwisejava.lang.reflect.Method getAccessor()
hasAccessor()boolean hasMutator()
true if the field has an mutator, false otherwisejava.lang.reflect.Method getMutator()
hasMutator()java.lang.Class<? extends ValueGenerator<? extends T>> getGeneratorType()
GeneratorCopyright © 2007-2018. All Rights Reserved.