@NotStorableClass public class ClassInfo extends Object implements Comparable<ClassInfo>
Constructor and Description |
---|
ClassInfo(Class<?> objectClass,
EnumStoreMode storeMode,
IClassInfoFactory classInfoFactory,
ConversionManager conversionManager,
int currentDataModelIdentifier) |
ClassInfo(String className,
boolean knownAsNotExisting,
ConversionManager conversionManager,
int currentDataModelIdentifier)
class information for not existing class
|
public static final ClassInfo NULL
public ClassInfo(Class<?> objectClass, EnumStoreMode storeMode, IClassInfoFactory classInfoFactory, ConversionManager conversionManager, int currentDataModelIdentifier) throws ClassInfoException
objectClass
- storeMode
- conversionManager
- currentDataModelIdentifier
- ClassInfoException
public ClassInfo(String className, boolean knownAsNotExisting, ConversionManager conversionManager, int currentDataModelIdentifier)
className
- the class nameknownAsNotExisting
- true if the class is known as not existingconversionManager
- currentDataModelIdentifier
- public boolean isAssignableFrom(ClassInfo classInfo) throws ClassInfoException
ClassInfoException
public boolean isAssignableFrom(Class<?> objectClass)
public boolean isAbstract() throws ClassInfoException
ClassInfoException
public boolean isInterface() throws ClassInfoException
ClassInfoException
public boolean notEnhancableForTypeAndStorageMode()
public FieldInfo[] allDeclaredFieldsWithoutTransientNorStatic() throws ClassInfoException
ClassInfoException
public FieldInfo[] allDeclaredFieldsWithTransientWithoutStatic() throws ClassInfoException
ClassInfoException
public FieldInfo getFieldInfo(String declaringClassName, String fieldName) throws ClassInfoException
ClassInfoException
public FieldInfo[] getSerialPersistentFieldsInfo() throws ClassInfoException
ClassInfoException
public FieldInfo[] getAllDeclaredFieldsForGenericIO() throws ClassInfoException
ClassInfoException
public FieldInfo[] getInstanceFactoryFields() throws ClassInfoException
ClassInfoException
public FieldInfo[] getAllDeclaredStaticFields() throws ClassInfoException
ClassInfoException
public FieldInfo[] getAllDeclaredTransientOrNotFields() throws ClassInfoException
ClassInfoException
public int staticFieldsSignature() throws ClassInfoException
ClassInfoException
public int fieldsSignature() throws ClassInfoException
ClassInfoException
public void setNoLazyLoad()
public void setStoreNotUseStandardSerialization() throws ClassInfoException
ClassInfoException
public void setStoreSerializeAndGZippedInOneRecord() throws ClassInfoException
ClassInfoException
public void setStoreSerializeAndZippedInOneRecord() throws ClassInfoException
ClassInfoException
public void setStoreSerializeInOneRecord() throws ClassInfoException
ClassInfoException
public void setStorable() throws ClassInfoException
ClassInfoException
public void setNotStorable() throws ClassInfoException
ClassInfoException
public void setDeprecatedInStore() throws ClassInfoException
ClassInfoException
public void setForceEnhance()
public void addToNotCheckMethod(String absoluteMethodName)
public void setSubstituted(ClassInfo substituteClassInfo, ISubstituteObjectManager substituteObjectManager)
public boolean isSubstituted()
public void setKeptInMemory(boolean keptInMemory)
public boolean isKeptInMemory()
public ClassInfo getSubstituteOfClassInfo()
public void setIsSubstitution()
public boolean isSubstitution()
public ISubstituteObjectManager getSubstituteObjectManager()
public boolean isForceEnhance()
public boolean isNotStorable()
public boolean isStorable()
public boolean isDeprecatedInStore()
public String getName()
public ClassInfo getComponentType()
public boolean isPrimitiveType()
public boolean isBasicType()
public boolean isNotBasicOrPrimitiveType()
public boolean isBasicOrPrimitiveType()
public boolean isArrayType()
public boolean isEnumType()
public boolean isStringType()
public boolean isByteType()
public boolean isCharacterType()
public boolean isShortType()
public boolean isIntegertype()
public boolean isLongType()
public boolean isBooleantype()
public boolean isFloatType()
public boolean isDoubleType()
public Method getReadExternalMethod()
public Method getReadObjectMethod()
public Method getReadObjectNoDataMethod()
public Method getWriteExternalMethod()
public Method getWriteObjectMethod()
public boolean classExists()
public boolean classDoesNotExist()
public void setIsKnownAsNotExisting() throws ClassInfoException
ClassInfoException
public boolean isKnownAsNotExisting()
public Class<?> getObjectClass()
public int getZipCompressionLevel()
public void setSpecificObjectIO(boolean useSpecificObjectIO)
public void setWriteSubstituted(ClassInfo substituteClassInfo, ISubsituteSynchronizer subsituteSynchronizer)
public void removeSubstitution()
public boolean isWriteSubstituted()
public ClassInfo getSubstituteClassInfo()
public ISubsituteSynchronizer getSubsituteSynchronizer()
public EnumObjectInput getLazyObjectInput() throws ClassInfoException
ClassInfoException
public EnumObjectInput getObjectInput() throws ClassInfoException
ClassInfoException
public EnumObjectOutput getObjectOutput() throws ClassInfoException
ClassInfoException
public boolean isUseSpecificObjectIO()
public boolean isStoreSerializeAndGZippedInOneRecord() throws ClassInfoException
ClassInfoException
public boolean isStoreSerializeInOneRecord() throws ClassInfoException
ClassInfoException
public boolean isStoreSerializeAndZippedInOneRecord() throws ClassInfoException
ClassInfoException
public boolean isStoreInOneReccord() throws ClassInfoException
ClassInfoException
public boolean isStoreUseStandardSerialization() throws ClassInfoException
ClassInfoException
public boolean isStoreNotUseStandardSerialization() throws ClassInfoException
ClassInfoException
public boolean isStoreInOneRecord()
public boolean isStoreNotLazy()
public boolean isExternalizable() throws ClassInfoException
ClassInfoException
public boolean isSerializable() throws ClassInfoException
ClassInfoException
public boolean isMarkedStorable()
public Map<String,FieldInfoForSerialization> getSerialPersistentFields() throws ClassInfoException
ClassInfoException
public int compareTo(ClassInfo classInfo)
compareTo
in interface Comparable<ClassInfo>
public String fullStateToString()
public Deque<ClassReplacementDef> getReplacementDef(int joafipReleaseId, int dataModelIdentifier) throws ClassInfoException
joafipReleaseId
- joafip release identifier of the stored object instance of the
classdataModelIdentifier
- data model identifier of the stored object instance of the
classClassInfoException
public boolean isProxyable()
public void setBinaryConverter(AbstractConverter binaryConverter)
public AbstractConverter getBinaryConverter()
public int getBinarySize()
public void setBinarySize(int binarySize)
public int getStaticFieldBinarySize()
public void setStaticFieldBinarySize(int staticFieldBinarySize)
public void setNotPersistedField(String[] fieldNames) throws ClassInfoException
ClassInfoException
public Object defaultValue()
public boolean isNullMarker()
Copyright © 2007-2012 Luc Peuvrier. All Rights Reserved.