Module org.tentackle.domain
Package org.tentackle.domain
Class AbstractDomainOperation<T extends Operation<T>,D extends AbstractDomainOperation<T,D>>
java.lang.Object
org.tentackle.domain.AbstractDomainOperation<T,D>
- Type Parameters:
T- the operation typeD- the domain implementation type
- All Implemented Interfaces:
Serializable,DomainContextProvider,DomainDelegate<T>,DomainOperation<T>,OperationProvider<T>,ProxyDelegate<T>,org.tentackle.reflect.EffectiveClassProvider<T>,org.tentackle.reflect.Interceptable,org.tentackle.session.SessionProvider
public abstract class AbstractDomainOperation<T extends Operation<T>,D extends AbstractDomainOperation<T,D>>
extends Object
implements DomainOperation<T>, org.tentackle.reflect.EffectiveClassProvider<T>, Serializable
The abstract domain operation.
- Author:
- harald
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an operation domain object.AbstractDomainOperation(T operation) Creates an operation domain object. -
Method Summary
Modifier and TypeMethodDescriptionorg.tentackle.session.Sessionme()voidsetOperation(T operation) Sets the operation.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.tentackle.pdo.DomainContextProvider
isWithinContext, isWithinContext, on, on, op, opMethods inherited from interface org.tentackle.pdo.OperationProvider
op, op
-
Constructor Details
-
AbstractDomainOperation
Creates an operation domain object.- Parameters:
operation- the persistent domain object this is a delegate for
-
AbstractDomainOperation
public AbstractDomainOperation()Creates an operation domain object.
-
-
Method Details
-
getPersistenceDelegate
- Specified by:
getPersistenceDelegatein interfaceDomainDelegate<T extends Operation<T>>
-
me
- Specified by:
mein interfaceProxyDelegate<T extends Operation<T>>
-
getOperation
- Specified by:
getOperationin interfaceOperationProvider<T extends Operation<T>>
-
setOperation
Sets the operation.- Parameters:
operation- the operation
-
getDomainContext
- Specified by:
getDomainContextin interfaceDomainContextProvider
-
getSession
public org.tentackle.session.Session getSession()- Specified by:
getSessionin interfaceorg.tentackle.session.SessionProvider
-
getEffectiveClass
-
getEffectiveSuperClasses
-