Package net.sf.joafip.store.entity.classinfo

Examples of net.sf.joafip.store.entity.classinfo.ClassInfoAttributes


  @Override
  public void setStoreSerializeInOneRecord(final String objectClassName)
      throws ClassInfoException {
    final ClassInfo classInfo = classInfoMap.get(objectClassName);
    if (classInfo == null) {
      final ClassInfoAttributes classInfoAttributes = getOrCreateClassInfoAttribute(objectClassName);
      classInfoAttributes.setStoreSerializeInOneRecord();
    } else {
      classInfo.setStoreSerializeInOneRecord();
    }
  }
View Full Code Here


      final Class<?> substituteObjectClass,
      final ISubstituteObjectManager substituteObjectManager)
      throws ClassInfoException {
    final ClassInfo classInfo = classInfoMap.get(objectClassName);
    if (classInfo == null) {
      final ClassInfoAttributes classInfoAttributes = getOrCreateClassInfoAttribute(objectClassName);
      classInfoAttributes.setSubstituteObjectManager(
          substituteObjectClass, substituteObjectManager);
    } else {
      final ClassInfo substituteClassInfo = getNoProxyClassInfo(substituteObjectClass);
      classInfo.setSubstituted(substituteClassInfo,
          substituteObjectManager);
View Full Code Here

  public void setWriteSubstitution(final String replacedName,
      final Class<?> substitute, final ISubsituteSynchronizer synchronizer)
      throws ClassInfoException {
    final ClassInfo classInfo = classInfoMap.get(replacedName);
    if (classInfo == null) {
      final ClassInfoAttributes classInfoAttributes = getOrCreateClassInfoAttribute(replacedName);
      classInfoAttributes.setWriteSubstitution(substitute, synchronizer);
    } else {
      final ClassInfo substituteClassInfo = getNoProxyClassInfo(substitute);
      classInfo.setWriteSubstituted(substituteClassInfo, synchronizer);
    }
  }
View Full Code Here

  @Override
  public void setObjectIOForClass(final String objectClassName,
      final IObjectInput objectInput, final IObjectOutput objectOutput) {
    final ClassInfo classInfo = classInfoMap.get(objectClassName);
    if (classInfo == null) {
      final ClassInfoAttributes classInfoAttributes = getOrCreateClassInfoAttribute(objectClassName);
      classInfoAttributes.setObjectIO(objectInput, objectOutput);
    } else {
      objectIOManager.setSpecificObjectIO(classInfo, objectInput,
          objectOutput);
    }
  }
View Full Code Here

  @Override
  public void setNotPersistedField(final String objectClassName,
      final String[] fieldNames) throws ClassInfoException {
    final ClassInfo classInfo = classInfoMap.get(objectClassName);
    if (classInfo == null) {
      final ClassInfoAttributes classInfoAttributes = getOrCreateClassInfoAttribute(objectClassName);
      classInfoAttributes.setNotPersistedField(fieldNames);
    } else {
      classInfo.setNotPersistedField(fieldNames);
    }
  }
View Full Code Here

    }
  }

  private ClassInfoAttributes getOrCreateClassInfoAttribute(
      final String objectClassName) {
    ClassInfoAttributes classInfoAttributes = classInfoAttributeMap
        .get(objectClassName);
    if (classInfoAttributes == null) {
      classInfoAttributes = new ClassInfoAttributes();
      classInfoAttributeMap.put(objectClassName, classInfoAttributes);
    }
    return classInfoAttributes;
  }
View Full Code Here

TOP

Related Classes of net.sf.joafip.store.entity.classinfo.ClassInfoAttributes

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.