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,String> |
PLUCK_NAME
Return the name of the field
|
Modifier and Type | Method and Description |
---|---|
Method |
getAccessor() |
Class<? extends ValueGenerator<? extends T>> |
getGeneratorType() |
Class<T> |
getJavaType() |
Method |
getMutator() |
String |
getName() |
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()
String getName()
String getPolymorphicName()
Polymorphic
boolean isPrimary()
true
if the field is the primary key, false
otherwisePrimaryKey
boolean isNullable()
true
if the field is nullable, false
otherwiseNotNull
boolean 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
otherwiseTransient
boolean hasAutoIncrement()
true
if the field an auto increment field, false
otherwiseAutoIncrement
,
PrimaryKey
boolean hasDefaultValue()
true
if the field has a default value, false
otherwiseboolean hasAccessor()
true
if the field has an accessor, false
otherwiseMethod getAccessor()
hasAccessor()
boolean hasMutator()
true
if the field has an mutator, false
otherwiseMethod getMutator()
hasMutator()
Class<? extends ValueGenerator<? extends T>> getGeneratorType()
Generator
Copyright © 2007–2021 Atlassian. All rights reserved.