Modifier and Type | Field and Description |
---|---|
static com.google.common.base.Predicate<FieldInfo> |
HAS_GENERATOR
|
static com.google.common.base.Predicate<FieldInfo> |
IS_REQUIRED
|
static com.google.common.base.Function<FieldInfo,String> |
PLUCK_NAME
|
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() |
@Deprecated static final com.google.common.base.Predicate<FieldInfo> IS_REQUIRED
Predicate
in the next
major release. Ensure you are exclusively relying on the Predicate
implementation.isNullable()
,
hasDefaultValue()
,
hasAutoIncrement()
@Deprecated static final com.google.common.base.Predicate<FieldInfo> HAS_GENERATOR
Predicate
in the next
major release. Ensure you are exclusively relying on the Predicate
implementation.getGeneratorType()
@Deprecated static final com.google.common.base.Function<FieldInfo,String> PLUCK_NAME
Function
in the next
major release. Ensure you are exclusively relying on the Function
implementation.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–2023 Atlassian. All rights reserved.