@MinDoc(copyright="Copyright 2016 A. Weinert", author="Albrecht Weinert", version="V.11", lastModified="5.02.2019", lastModifiedBy="A. Weinert", usage="implement it", purpose="type aspect for functional (automation / control) blocks") public interface Valid
Modifier and Type | Method and Description |
---|---|
default String |
getInvalidCause()
Get the cause for the last transition to invalid.
|
default AClock |
getSince()
The time of the last (significant) state transition.
|
boolean |
isValid()
Is the control state valid.
|
default void |
setInvalid(CharSequence inValidCause)
Setting all control state invalid.
|
default void |
setValid(boolean valid)
Setting all control state valid / invalid.
|
default void setValid(boolean valid)
time stamped
recorded by a FixClock
.setInvalid(CharSequence)
default AClock getSince()
return SynClock
.startSys
;
FixClock
)default void setInvalid(CharSequence inValidCause)
setValid(false)
. If this
call changes the valid state a non empty value of the parameter
inValidCause
is held as short description of the cause of
the actual invalidity. Its length after
striping
surrounding white
space shall be no longer than 48 characters and contain no tabs or
feeds.default String getInvalidCause()
setValid(false)
. If this
call changes the valid state a non empty value of the parameter
inValidCause
is held as short description of the cause of
the actual invalidity. Its length after
stripping
surrounding
white space shall be no longer than 48 characters and contain no tabs or
feeds. return ComVar
.EMPTY_STRING
;
boolean isValid()