public abstract class PlusCWODsDelegate extends java.lang.Object implements MboAdapterConstants
ALLROWS, CHANGEDBY_USER, COUNT_ADDITIONS, COUNT_AFTERSAVE, COUNT_DATABASE, COUNT_DELETED, COUNT_EXISTING, DELAYVALIDATION, DISCARDABLE, NO_RELATEDMBOS_OF_OWNERSCHILDREN_FETCH, NOACCESSCHECK, NOACTION, NOADD, NOCOMMIT, NODELETE, NONE, NOSAVE, NOSETVALUE, NOUPDATE, NOVALIDATION, NOVALIDATION_AND_NOACTION, READONLY, REBUILD, REQUIRED, SAMEVALUEVALIDATION, USER
Constructor and Description |
---|
PlusCWODsDelegate(MboAdapter mbo) |
Modifier and Type | Method and Description |
---|---|
boolean |
allPointsAreCleared()
Checks whether all as found/as left values of all calibration points
have empty values.
|
MboAdapter |
getThisMbo() |
boolean |
hasCalPoints() |
boolean |
hasDynamicChecks() |
boolean |
hasFunctionChecks() |
boolean |
isAllEntered() |
boolean |
isAllEntered(java.lang.String prefix)
Checks whether all values in either as found or as left fields are
entered.
|
boolean |
isLoop()
Is this a loop Datasheet?
|
void |
setDSRequiredStatus(boolean cleared)
Sets the read-only status of the datasheets's REQUIRED field
according to whether its points' as found/left data are filled.
|
void |
setValueInOptionalLoopPartDSs(java.lang.String attributeName,
java.lang.String value,
long accessModifier)
If this is a loop DS, this method sets the given attribute to the given
value in all optional DSs that are part of the loop.
|
public PlusCWODsDelegate(MboAdapter mbo)
public MboAdapter getThisMbo()
public boolean isAllEntered() throws java.lang.Exception
java.lang.Exception
public boolean isAllEntered(java.lang.String prefix) throws java.lang.Exception
prefix
- either "ASFOUND" or "ASLEFT"true
if all relevant fields are filled.java.lang.Exception
public void setDSRequiredStatus(boolean cleared) throws java.lang.Exception
cleared
argument indicates whether the field's content
has been set to empty (true
) or not empty (false
).cleared
- whether the field's content has been set to empty (true
) or not empty (false
).java.lang.Exception
public boolean allPointsAreCleared() throws java.lang.Exception
true
if all points have empty as found/as left values.java.lang.Exception
public boolean isLoop() throws java.lang.Exception
true
if this is a loop datasheetjava.lang.Exception
public boolean hasCalPoints() throws java.lang.Exception
java.lang.Exception
public boolean hasFunctionChecks() throws java.lang.Exception
java.lang.Exception
public boolean hasDynamicChecks() throws java.lang.Exception
java.lang.Exception
public void setValueInOptionalLoopPartDSs(java.lang.String attributeName, java.lang.String value, long accessModifier) throws java.lang.Exception
attributeName
- The attribute name to be set.value
- The string value to set to the attribute.accessModifier
- The bitwise flags such as NOACCESSCHECK,
NOVALIDATION_AND_NOACTION, and DELAYVALIDATION.java.lang.Exception