接口 ImmutableType
- 所有已知实现类:
AbstractImmutableTypeImpl
public interface ImmutableType
-
嵌套类概要
嵌套类 -
方法概要
修饰符和类型方法说明static ImmutableTypeGet the logical deleted property declared in this type, exclude super typesgetIdGenerator(SqlContext sqlContext) Class<?>Get the logical deleted property declared in this type or super typesgetLogicalDeletedValueGenerator(SqlContext sqlContext) default List<ImmutableProp>getPropChain(String columnName, MetadataStrategy strategy) getPropChain(String columnName, MetadataStrategy strategy, boolean nullable) getProps()getTableName(MetadataStrategy strategy) booleanbooleanbooleanisEntity()booleanbooleanstatic ImmutableType.BuildernewBuilder(String jimmerVersion, Class<?> javaClass, Collection<ImmutableType> superTypes, BiFunction<DraftContext, Object, Draft> draftFactory) static ImmutableType.BuildernewBuilder(String jimmerVersion, kotlin.reflect.KClass<?> kotlinClass, Collection<ImmutableType> superTypes, BiFunction<DraftContext, Object, Draft> draftFactory) static ImmutableType
-
方法详细资料
-
get
-
tryGet
-
newBuilder
static ImmutableType.Builder newBuilder(String jimmerVersion, Class<?> javaClass, Collection<ImmutableType> superTypes, BiFunction<DraftContext, Object, Draft> draftFactory) -
newBuilder
static ImmutableType.Builder newBuilder(String jimmerVersion, 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
-
getEntityProps
-
getProp
-
getProp
-
getEmbeddedPaths
Map<String,List<ImmutableProp>> getEmbeddedPaths() -
getSelectableProps
Map<String,ImmutableProp> getSelectableProps() -
getSelectableScalarProps
Map<String,ImmutableProp> getSelectableScalarProps() -
getSelectableReferenceProps
Map<String,ImmutableProp> getSelectableReferenceProps() -
getReferenceProps
Map<String,ImmutableProp> getReferenceProps() -
getMicroServiceName
String getMicroServiceName() -
getTableName
-
getIdGenerator
-
getLogicalDeletedValueGenerator
-
getPropChain
-
getPropChain
-