T - the PDO classD - the domain object classpublic class MockDomainOperation<T extends Operation<T>,D extends MockDomainOperation<T,D>> extends Object implements DomainOperation<T>
| Constructor and Description |
|---|
MockDomainOperation()
Creates an application domain object.
|
MockDomainOperation(T operation)
Creates an operation domain object.
|
| Modifier and Type | Method and Description |
|---|---|
DomainOperation<T> |
cloneDomainOperation() |
DomainContext |
getDomainContext() |
T |
getOperation() |
PersistenceDelegate<T> |
getPersistenceDelegate() |
org.tentackle.session.Session |
getSession() |
T |
me() |
T |
operation() |
void |
setOperation(T operation) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitopon, oppublic MockDomainOperation(T operation)
operation - the operation object this is a delegate forpublic MockDomainOperation()
public T operation()
operation in interface DomainOperation<T extends Operation<T>>public T getOperation()
getOperation in interface OperationHolder<T extends Operation<T>>public void setOperation(T operation)
setOperation in interface OperationHolder<T extends Operation<T>>public DomainContext getDomainContext()
getDomainContext in interface DomainContextProviderpublic org.tentackle.session.Session getSession()
getSession in interface org.tentackle.session.SessionProviderpublic PersistenceDelegate<T> getPersistenceDelegate()
getPersistenceDelegate in interface DomainDelegate<T extends Operation<T>>public DomainOperation<T> cloneDomainOperation()
cloneDomainOperation in interface DomainOperation<T extends Operation<T>>Tentackle - distributed, domain- and model-driven