public abstract class PlusCWODsPointDelegate 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 |
---|
PlusCWODsPointDelegate(MboAdapter mbo,
PlusCWODsInstrDelegate woDsInstrDelegate) |
Modifier and Type | Method and Description |
---|---|
MboAdapter |
getGroupAveragePoint()
Returns the Average point for the group of points to which this point
belongs.
|
MboAdapter[] |
getGroupPoints()
Returns all points in this point's group (including itself) in an array.
|
PlusCWODsInstrDelegate |
getInstrDelegate() |
java.lang.String |
getPlanType() |
boolean |
hasErrors() |
boolean |
isAllClear()
Checks whether all as found/as left values of this point are empty.
|
boolean |
isAllEntered()
Returns
true if all of the relevant "as found"/"as left"
"input"/"output"/"set point" fields are entered, depending on the asset
function type. |
boolean |
isAllEntered(java.lang.String prefix)
Returns
true if all of the relevant "as found"/"as left"
"input"/"output"/"set point" fields are entered, depending on the asset
function type. |
boolean |
isAverage() |
boolean |
isCalPoint() |
boolean |
isDynamicCheck() |
boolean |
isFunctionCheck() |
boolean |
isRepeatable() |
boolean |
meetsNoAdjustmentConditions(java.lang.String adjchoice) |
abstract PlusCWODsPointDelegate |
newInstance(MboAdapter mbo,
PlusCWODsInstrDelegate woDsInstrDelegate)
Abstract factory method.
|
void |
setFunctionCheckPass(java.lang.String fieldName,
boolean status)
Set the value of the As Found/As Left Pass/Fail fields.
|
boolean |
warnChangeMeasuredValue(java.lang.String attributeName,
java.lang.String previousValue,
java.lang.String newValue)
Checks if a warning for changing measured data must be shown, based on
the PLUSCEDITDATA maxvar and whether the field is blank.
|
public PlusCWODsPointDelegate(MboAdapter mbo, PlusCWODsInstrDelegate woDsInstrDelegate)
public abstract PlusCWODsPointDelegate newInstance(MboAdapter mbo, PlusCWODsInstrDelegate woDsInstrDelegate) throws java.lang.Exception
java.lang.Exception
public PlusCWODsInstrDelegate getInstrDelegate() throws java.lang.Exception
java.lang.Exception
public java.lang.String getPlanType() throws java.lang.Exception
java.lang.Exception
public boolean isRepeatable() throws java.lang.Exception
java.lang.Exception
public boolean isCalPoint() throws java.lang.Exception
java.lang.Exception
public boolean isFunctionCheck() throws java.lang.Exception
java.lang.Exception
public boolean isDynamicCheck() throws java.lang.Exception
java.lang.Exception
public boolean isAverage() throws java.lang.Exception
java.lang.Exception
public boolean isAllEntered() throws java.lang.Exception
true
if all of the relevant "as found"/"as left"
"input"/"output"/"set point" fields are entered, depending on the asset
function type.true
if all relevant fields are filled.java.lang.Exception
public boolean isAllEntered(java.lang.String prefix) throws java.lang.Exception
true
if all of the relevant "as found"/"as left"
"input"/"output"/"set point" fields are entered, depending on the asset
function type.prefix
- either "ASFOUND" or "ASLEFT"true
if all relevant fields are filled.java.lang.Exception
public boolean isAllClear() throws java.lang.Exception
true
if all relevant fields are empty.java.lang.Exception
public void setFunctionCheckPass(java.lang.String fieldName, boolean status) throws java.lang.Exception
java.lang.Exception
public MboAdapter getGroupAveragePoint() throws java.lang.Exception
java.lang.Exception
public MboAdapter[] getGroupPoints() throws java.lang.Exception
java.lang.Exception
public boolean hasErrors() throws java.lang.Exception
java.lang.Exception
public boolean meetsNoAdjustmentConditions(java.lang.String adjchoice) throws java.lang.Exception
java.lang.Exception
public boolean warnChangeMeasuredValue(java.lang.String attributeName, java.lang.String previousValue, java.lang.String newValue) throws java.lang.Exception
attributeName
- value that is being changedpreviousValue
- previous valuenewValue
- new valuetrue
if a warning must be shown, false
otherwisejava.lang.Exception