de.topicmapslab.majortom.database.transaction
Class LazyStubCreator

java.lang.Object
  extended by de.topicmapslab.majortom.database.transaction.LazyStubCreator

public class LazyStubCreator
extends java.lang.Object

Author:
Sven Krosse

Constructor Summary
LazyStubCreator()
           
 
Method Summary
private static de.topicmapslab.majortom.model.store.ITopicMapStoreIdentity cloneIdentity(de.topicmapslab.majortom.model.store.ITopicMapStoreIdentity identity)
           
private static de.topicmapslab.majortom.model.core.IAssociation createLazyStub(de.topicmapslab.majortom.model.core.IAssociation construct, de.topicmapslab.majortom.model.transaction.ITransaction transaction)
           
private static de.topicmapslab.majortom.model.core.IAssociationRole createLazyStub(de.topicmapslab.majortom.model.core.IAssociationRole construct, de.topicmapslab.majortom.model.transaction.ITransaction transaction)
           
private static de.topicmapslab.majortom.model.core.IName createLazyStub(de.topicmapslab.majortom.model.core.IName construct, de.topicmapslab.majortom.model.transaction.ITransaction transaction)
           
private static de.topicmapslab.majortom.model.core.IOccurrence createLazyStub(de.topicmapslab.majortom.model.core.IOccurrence construct, de.topicmapslab.majortom.model.transaction.ITransaction transaction)
           
private static de.topicmapslab.majortom.model.core.ITopic createLazyStub(de.topicmapslab.majortom.model.core.ITopic construct, de.topicmapslab.majortom.model.transaction.ITransaction transaction)
           
private static de.topicmapslab.majortom.model.core.IVariant createLazyStub(de.topicmapslab.majortom.model.core.IVariant construct, de.topicmapslab.majortom.model.transaction.ITransaction transaction)
           
static
<T extends de.topicmapslab.majortom.model.core.IConstruct>
T
createLazyStub(T construct, de.topicmapslab.majortom.model.transaction.ITransaction transaction)
          Creating a lazy stub of the given construct
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LazyStubCreator

public LazyStubCreator()
Method Detail

createLazyStub

public static final <T extends de.topicmapslab.majortom.model.core.IConstruct> T createLazyStub(T construct,
                                                                                                de.topicmapslab.majortom.model.transaction.ITransaction transaction)
Creating a lazy stub of the given construct

Type Parameters:
T - the construct type
Parameters:
construct - the construct
transaction - the new topic map
Returns:
the lazy stub

createLazyStub

private static final de.topicmapslab.majortom.model.core.ITopic createLazyStub(de.topicmapslab.majortom.model.core.ITopic construct,
                                                                               de.topicmapslab.majortom.model.transaction.ITransaction transaction)

createLazyStub

private static final de.topicmapslab.majortom.model.core.IOccurrence createLazyStub(de.topicmapslab.majortom.model.core.IOccurrence construct,
                                                                                    de.topicmapslab.majortom.model.transaction.ITransaction transaction)

createLazyStub

private static final de.topicmapslab.majortom.model.core.IName createLazyStub(de.topicmapslab.majortom.model.core.IName construct,
                                                                              de.topicmapslab.majortom.model.transaction.ITransaction transaction)

createLazyStub

private static final de.topicmapslab.majortom.model.core.IVariant createLazyStub(de.topicmapslab.majortom.model.core.IVariant construct,
                                                                                 de.topicmapslab.majortom.model.transaction.ITransaction transaction)

createLazyStub

private static final de.topicmapslab.majortom.model.core.IAssociation createLazyStub(de.topicmapslab.majortom.model.core.IAssociation construct,
                                                                                     de.topicmapslab.majortom.model.transaction.ITransaction transaction)

createLazyStub

private static final de.topicmapslab.majortom.model.core.IAssociationRole createLazyStub(de.topicmapslab.majortom.model.core.IAssociationRole construct,
                                                                                         de.topicmapslab.majortom.model.transaction.ITransaction transaction)

cloneIdentity

private static de.topicmapslab.majortom.model.store.ITopicMapStoreIdentity cloneIdentity(de.topicmapslab.majortom.model.store.ITopicMapStoreIdentity identity)