static long |
classTypeId() |
|
static Object[] |
collectEnumConstants(PersistenceTypeHandler<?,?> typeHandler) |
|
static PersistenceTypeIdLookup |
createDefaultTypeLookup() |
|
static String |
customRootIdentifier() |
|
static long |
defaultBoundConstantId() |
|
static PersistenceFieldEvaluator |
defaultFieldEvaluatorCollection() |
|
static PersistenceFieldEvaluator |
defaultFieldEvaluatorEnum() |
|
static PersistenceFieldEvaluator |
defaultFieldEvaluatorPersistable() |
|
static String |
defaultFilenameTypeDictionary() |
|
static PersistenceEagerStoringFieldEvaluator |
defaultReferenceFieldEagerEvaluator() |
|
static String |
defaultRootIdentifier() |
|
static long |
defaultStartConstantId() |
|
static long |
defaultStartObjectId() |
|
static long |
defaultStartTypeId() |
|
static PersistenceTypeEvaluator |
defaultTypeEvaluatorPersistable() |
|
static String |
deriveEnumRootIdentifier(PersistenceTypeHandler<?,?> typeHandler) |
|
static String |
derivePersistentTypeName(Class<?> type) |
|
static String |
derivePersistentTypeName(Class<?> type,
String substituteClassIdentifierSeparator) |
|
static String |
derivePersistentTypeNameEnum(Class<?> type,
String substituteClassIdentifierSeparator) |
|
static String |
enumRootIdentifierStart() |
|
static boolean |
getCached(PersistenceObjectIdResolver objectIdResolver,
Object[] target,
int targetOffset,
long[] objectIds) |
|
static Long |
getNativeTypeId(Class<?> type) |
|
static boolean |
isEnumRootIdentifier(String enumRootIdentifier) |
|
static boolean |
isHandleableCollectionField(Class<?> collectionClass,
Field field) |
|
static boolean |
isHandleableEnumField(Class<?> enumClass,
Field field) |
|
static boolean |
isNativeType(Class<?> type) |
|
static boolean |
isPersistable(Class<?> type) |
|
static boolean |
isPotentialEnumRootIdentifier(String enumRootIdentifier) |
|
static boolean |
isUnpersistable(Class<?> type) |
|
static <C extends BiConsumer<Class<?>,Long>> C |
iterateJavaBasicTypes(C iterator) |
|
static void |
iterateReferences(PersistenceFunction iterator,
Object[] array,
int offset,
int length) |
|
static void |
iterateReferences(PersistenceFunction iterator,
XIterable<?> elements) |
|
static void |
iterateReferencesIterable(PersistenceFunction iterator,
Iterable<?> elements) |
|
static void |
iterateReferencesMap(PersistenceFunction iterator,
Map<?,?> elements) |
|
static long |
nullId() |
|
static String |
objectIdLabel() |
|
static String |
objectIdShortLabel() |
|
static Class<?> |
objectIdType() |
Central architectural information method that always returns long.class .
|
static Long |
parseEnumRootIdentifierTypeId(String enumRootIdentifier) |
|
static XGettingSequence<KeyValue<String,String>> |
readRefactoringMappings(File file) |
|
static PersistenceRefactoringMappingProvider |
RefactoringMapping(File refactoringsFile) |
|
static PersistenceRefactoringMappingProvider |
RefactoringMapping(XGettingSequence<KeyValue<String,String>> refactoringMappings) |
|
static <R extends PersistenceTypeRegistry> R |
registerJavaBasicTypes(R registry) |
|
static <R extends PersistenceObjectRegistry> R |
registerJavaConstants(R registry) |
|
static <R extends PersistenceObjectRegistry> R |
registerJavaNatives(R registry) |
|
static <T> Class<T> |
resolveEnumeratedClassIdentifierSeparatedType(String typeName,
String substituteClassIdentifierSeparator) |
|
static <T> Class<T> |
resolveType(String typeName) |
|
static <T> Class<T> |
resolveType(String typeName,
String substituteClassIdentifierSeparator) |
|
static PersistenceRootResolverProvider |
RootResolverProvider() |
|
static PersistenceRootResolverProvider |
RootResolverProvider(Object rootInstance) |
|
static PersistenceRootResolverProvider |
RootResolverProvider(String rootIdentifier,
Object rootInstance) |
|
static PersistenceRootResolverProvider |
RootResolverProvider(String rootIdentifier,
Supplier<?> rootInstanceSupplier) |
|
static PersistenceRootResolverProvider |
RootResolverProvider(Supplier<?> rootInstanceSupplier) |
|
static Charset |
standardCharset() |
Reasons for choosing UTF8 as the standard charset:
1.) It is independent from endianess.
|
static String |
substituteClassIdentifierSeparator() |
Persistence-specific separator between a class name and a proper identifier
that replaces unreliable class names (like "$1", "$2" etc.) by a reliably identifying substitute name.
|
static <T> Class<T> |
tryResolveType(String typeName) |
|
static <M> PersistenceTypeMismatchValidator<M> |
typeMismatchValidatorFailing() |
|
static <M> PersistenceTypeMismatchValidator<M> |
typeMismatchValidatorNoOp() |
|
static XGettingEnum<Class<?>> |
unpersistableTypes() |
Types whose instances cannot be persisted.
|
static long |
validateObjectId(long id) |
|
static long |
validateTypeId(long id) |
|