public class MethodAdditionalProcessing
extends java.lang.Object
Constructor and Description |
---|
MethodAdditionalProcessing(boolean preprocessing,
boolean preliminarydataaccess,
DataAccessMethod dependentmethod) |
MethodAdditionalProcessing(boolean preprocessing,
DataAccessMethod dependentmethod)
creates a new Method additional processing
|
Modifier and Type | Method and Description |
---|---|
DataAccessMethod |
getDependentmethod() |
boolean |
isPreliminaryDataAccess() |
boolean |
isPreprocessing() |
public MethodAdditionalProcessing(boolean preprocessing, DataAccessMethod dependentmethod)
preprocessing
- true if processing is done before the related method,
or false if done after. Typically, the main method
will include persistence, so main criteria is if
method is needed before persistence to either add data
or block persistence by throwing an exceptiondependentmethod
- the dependent method on another property on the same
objectpublic MethodAdditionalProcessing(boolean preprocessing, boolean preliminarydataaccess, DataAccessMethod dependentmethod)
preprocessing
- true if processing is done before the related
method, or false if done after. Typically, the
main method will include persistence, so main
criteria is if method is needed before
persistence to either add data or block
persistence by throwing an exceptionpreliminarydataaccess
- if true, signals the method preprocessing needs
data accessdependentmethod
- the dependent method on another property on the
same objectpublic boolean isPreprocessing()
public boolean isPreliminaryDataAccess()
public DataAccessMethod getDependentmethod()