wt.ixb.handlers.forattributes
Class ExpImpForLocalIdAttr

java.lang.Object
  extended bywt.ixb.publicforhandlers.AttributeExporterImporterTemplate
      extended bywt.ixb.handlers.forattributes.ExpImpForLocalIdAttr
All Implemented Interfaces:
AttributeExporterImporter

public class ExpImpForLocalIdAttr
extends AttributeExporterImporterTemplate


Nested Class Summary
private  class ExpImpForLocalIdAttr.ObjectInfo
           
 
Field Summary
private  Cache localIdMap
           
private  int n
           
 
Fields inherited from class wt.ixb.publicforhandlers.AttributeExporterImporterTemplate
CONFLICT_RESOURCE
 
Constructor Summary
ExpImpForLocalIdAttr()
           
 
Method Summary
 void exportAttribute(Object ob, IxbElement fileXML, Exporter exporter)
          

Supported API: true
 Persistable getNewObjectByOldObjectId(String oldLocalId)
           
 Boolean getObjectIsNewByOldObjectId(String oldLocalId)
           
 Object importAttribute(Object object, IxbElement fileXML, Importer importer)
          

Supported API: true
private static void PP(String s)
           
 void rememberNewObjectInfoForOldObjectId(Persistable newOb, boolean objectIsReallyNew, String oldObjectId, Importer importer)
           
 
Methods inherited from class wt.ixb.publicforhandlers.AttributeExporterImporterTemplate
checkConflictForAttribute, finalizeCheckConflicts, finalizeExport, finalizeImport, prepareForCheckConflicts, prepareForImport
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

n

private int n

localIdMap

private Cache localIdMap
Constructor Detail

ExpImpForLocalIdAttr

public ExpImpForLocalIdAttr()
Method Detail

rememberNewObjectInfoForOldObjectId

public void rememberNewObjectInfoForOldObjectId(Persistable newOb,
                                                boolean objectIsReallyNew,
                                                String oldObjectId,
                                                Importer importer)
                                         throws WTException
Throws:
WTException

getObjectIsNewByOldObjectId

public Boolean getObjectIsNewByOldObjectId(String oldLocalId)
                                    throws WTException
Throws:
WTException

getNewObjectByOldObjectId

public Persistable getNewObjectByOldObjectId(String oldLocalId)
                                      throws WTException
Throws:
WTException

exportAttribute

public void exportAttribute(Object ob,
                            IxbElement fileXML,
                            Exporter exporter)
                     throws WTException
Description copied from class: AttributeExporterImporterTemplate


Supported API: true

Specified by:
exportAttribute in interface AttributeExporterImporter
Specified by:
exportAttribute in class AttributeExporterImporterTemplate
Parameters:
ob -
fileXML -
exporter -
Throws:
WTException

importAttribute

public Object importAttribute(Object object,
                              IxbElement fileXML,
                              Importer importer)
                       throws WTException
Description copied from class: AttributeExporterImporterTemplate


Supported API: true

Specified by:
importAttribute in interface AttributeExporterImporter
Specified by:
importAttribute in class AttributeExporterImporterTemplate
Parameters:
object -
fileXML -
importer -
Returns:
Object
Throws:
WTException

PP

private static void PP(String s)