接口 ImmutableType
- 所有已知实现类:
AbstractImmutableTypeImpl
public interface ImmutableType
-
嵌套类概要
嵌套类 -
方法概要
修饰符和类型方法说明static ImmutableTypeGet the logical deleted property declared in this type, exclude super typesgetIdGenerator(MetadataStrategy strategy) Class<?>Get the logical deleted property declared in this type or super typesgetPropChain(String columnName, MetadataStrategy strategy) getProps()getTableName(MetadataStrategy strategy) booleanbooleanbooleanisEntity()booleanbooleanstatic ImmutableType.BuildernewBuilder(Class<?> javaClass, Collection<ImmutableType> superTypes, BiFunction<DraftContext, Object, Draft> draftFactory) static ImmutableType.BuildernewBuilder(kotlin.reflect.KClass<?> kotlinClass, Collection<ImmutableType> superTypes, BiFunction<DraftContext, Object, Draft> draftFactory) static ImmutableType
-
方法详细资料
-
get
-
tryGet
-
newBuilder
static ImmutableType.Builder newBuilder(Class<?> javaClass, Collection<ImmutableType> superTypes, BiFunction<DraftContext, Object, Draft> draftFactory) -
newBuilder
static ImmutableType.Builder newBuilder(kotlin.reflect.KClass<?> kotlinClass, Collection<ImmutableType> superTypes, BiFunction<DraftContext, Object, Draft> draftFactory) -
getJavaClass
-
isKotlinClass
boolean isKotlinClass() -
isEntity
boolean isEntity() -
isMappedSuperclass
boolean isMappedSuperclass() -
isEmbeddable
boolean isEmbeddable() -
getImmutableAnnotation
-
isAssignableFrom
-
getPrimarySuperType
-
getSuperTypes
Set<ImmutableType> getSuperTypes() -
getAllTypes
Set<ImmutableType> getAllTypes() -
getDraftFactory
-
getDeclaredProps
-
getIdProp
ImmutableProp getIdProp()- 返回:
- The id property declared in this type of super types.
- If the current type is decorated by
Entity, returns non-null value - If the current type is decorated by
MappedSuperclass, find id property in current type of super types, if nothing can be found, return null - Otherwise, always returns null
- If the current type is decorated by
-
getVersionProp
- 返回:
- The version property declared in this type of super types.
- If the current type is decorated by
Entity, returns non-null value - If the current type is decorated by
MappedSuperclass, find version property in current type of super types, if nothing can be found, return null - Otherwise, always returns null
- If the current type is decorated by
-
getDeclaredLogicalDeletedInfo
Get the logical deleted property declared in this type, exclude super types- 返回:
- The logical deleted property, may be null.
-
getLogicalDeletedInfo
Get the logical deleted property declared in this type or super types- 返回:
- The logical deleted property, may be null.
-
getKeyProps
-
getProps
-
getProp
-
getProp
-
getSelectableProps
Map<String,ImmutableProp> getSelectableProps() -
getSelectableReferenceProps
Map<String,ImmutableProp> getSelectableReferenceProps() -
getMicroServiceName
String getMicroServiceName() -
getTableName
-
getIdGenerator
-
getPropChain
-