Class PersistenceTypeDescriptionResolver.Default
java.lang.Object
one.microstream.persistence.types.PersistenceTypeDescriptionResolver.Default
- All Implemented Interfaces:
PersistenceTypeDescriptionResolver
,PersistenceTypeResolver
- Enclosing interface:
- PersistenceTypeDescriptionResolver
public static final class PersistenceTypeDescriptionResolver.Default extends Object implements PersistenceTypeDescriptionResolver
-
Nested Class Summary
Nested classes/interfaces inherited from interface one.microstream.persistence.types.PersistenceTypeDescriptionResolver
PersistenceTypeDescriptionResolver.Default
-
Constructor Summary
Constructors Constructor Description Default()
-
Method Summary
Modifier and Type Method Description ClassLoader
getTypeResolvingClassLoader(String typeName)
boolean
isNewCurrentTypeMember(PersistenceTypeDefinition currentTypeDefinition, PersistenceTypeDefinitionMember currentTypeMember)
KeyValue<String,String>
lookup(String sourceIdentifier)
Returns a key-value pair with the passed source identifier as the key and a mapped target identifier as the value.KeyValue<PersistenceTypeDefinitionMember,PersistenceTypeDefinitionMember>
resolveMember(PersistenceTypeDefinition sourceType, PersistenceTypeDefinitionMember sourceMember, PersistenceTypeDefinition targetType)
Returns a key-value pair with the passed source member as the key and a mapped target member as the value.String
resolveRuntimeTypeName(PersistenceTypeDescription typeDescription)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface one.microstream.persistence.types.PersistenceTypeDescriptionResolver
resolveRuntimeType, resolveRuntimeTypeName, tryResolveRuntimeType
Methods inherited from interface one.microstream.persistence.types.PersistenceTypeResolver
deriveTypeName, resolveType, substituteClassIdentifierSeparator, tryResolveType
-
Constructor Details
-
Default
public Default()
-
-
Method Details
-
getTypeResolvingClassLoader
- Specified by:
getTypeResolvingClassLoader
in interfacePersistenceTypeResolver
-
resolveRuntimeTypeName
- Specified by:
resolveRuntimeTypeName
in interfacePersistenceTypeDescriptionResolver
-
lookup
Description copied from interface:PersistenceTypeDescriptionResolver
Returns a key-value pair with the passed source identifier as the key and a mapped target identifier as the value. The value can be potentially null to indicate deletion. If the lookup did not yield any result,null
is returned.- Specified by:
lookup
in interfacePersistenceTypeDescriptionResolver
-
isNewCurrentTypeMember
public boolean isNewCurrentTypeMember(PersistenceTypeDefinition currentTypeDefinition, PersistenceTypeDefinitionMember currentTypeMember)- Specified by:
isNewCurrentTypeMember
in interfacePersistenceTypeDescriptionResolver
-
resolveMember
public KeyValue<PersistenceTypeDefinitionMember,PersistenceTypeDefinitionMember> resolveMember(PersistenceTypeDefinition sourceType, PersistenceTypeDefinitionMember sourceMember, PersistenceTypeDefinition targetType)Description copied from interface:PersistenceTypeDescriptionResolver
Returns a key-value pair with the passed source member as the key and a mapped target member as the value. The value can be potentially null to indicate deletion. If the lookup did not yield any result,null
is returned.- Specified by:
resolveMember
in interfacePersistenceTypeDescriptionResolver
-