public final class InternalIndications
extends Object
Constructor and Description |
---|
InternalIndications(InternalIndication... internalIndications)
Constructs an instance.
|
InternalIndications(short internalIndications)
Constructs an instance.
|
Modifier and Type | Method and Description |
---|---|
void |
add(InternalIndications internalIndications)
Adds internal indications.
|
short |
getInternalIndications()
Gets the internal indications.
|
boolean |
hasAlreadyExecuting()
Asks if this fragment has the already executing indicator.
|
boolean |
hasBroadcast()
Asks if this fragment has the broadcast indicator.
|
boolean |
hasClass1Events()
Asks if this fragment indicates class 1 events.
|
boolean |
hasClass2Events()
Asks if this fragment indicates class 2 events.
|
boolean |
hasClass3Events()
Asks if this fragment indicates class 3 events.
|
boolean |
hasConfigCorrupt()
Asks if this fragment has the config corrupt indicator.
|
boolean |
hasDeviceRestart()
Asks if this fragment has the device restart indicator.
|
boolean |
hasDeviceTrouble()
Asks if this fragment has the device trouble indicator.
|
boolean |
hasEventBufferOverflow()
Asks if this fragment has the event buffer overflow indicator.
|
boolean |
hasLocalControl()
Asks if this fragment has the local control indicator.
|
boolean |
hasNeedTime()
Asks if this fragment has the need time indicator.
|
boolean |
hasNoFuncCodeSupport()
Asks if this fragment has the function code not supported indicator.
|
boolean |
hasObjectUnknown()
Asks if this fragment has the object unknown indicator.
|
boolean |
hasParameterError()
Asks if this fragment has the parameter error indicator.
|
void |
set(InternalIndication internalIndication,
boolean set)
Sets the value of an internal indication.
|
void |
set(InternalIndications internalIndications)
Sets internal indications.
|
void |
setAlreadyExecuting(boolean state)
Sets the already executing indicator for this fragment.
|
void |
setBroadcast(boolean state)
Sets the broadcast indicator for this fragment.
|
void |
setClass1Events(boolean state)
Sets the class 1 events indicator for this fragment.
|
void |
setClass2Events(boolean state)
Sets the class 2 events indicator for this fragment.
|
void |
setClass3Events(boolean state)
Sets the class 3 events indicator for this fragment.
|
void |
setConfigCorrupt(boolean state)
Sets the config corrupt indicator for this fragment.
|
void |
setDeviceRestart(boolean state)
Sets the device restart indicator for this fragment.
|
void |
setDeviceTrouble(boolean state)
Sets the device trouble indicator for this fragment.
|
void |
setEventBufferOverflow(boolean state)
Sets the event buffer overflow indicator for this fragment.
|
void |
setLocalControl(boolean state)
Sets the local control indicator for this fragment.
|
void |
setNeedTime(boolean state)
Sets the need time indicator for this fragment.
|
void |
setNoFuncCodeSupport(boolean state)
Sets the function code not supported indicator for this fragment.
|
void |
setObjectUnknown(boolean state)
Sets the object unknown indicator for this fragment.
|
void |
setParameterError(boolean state)
Sets the parameter error indicator for this fragment.
|
String |
toString() |
public InternalIndications(@Nonnull InternalIndication... internalIndications)
internalIndications
- The internal indications.public InternalIndications(@Nonnull short internalIndications)
internalIndications
- The internal indication bits.public void add(@Nonnull InternalIndications internalIndications)
internalIndications
- The added internal indications.@CheckReturnValue public short getInternalIndications()
@CheckReturnValue public boolean hasAlreadyExecuting()
@CheckReturnValue public boolean hasBroadcast()
@CheckReturnValue public boolean hasClass1Events()
@CheckReturnValue public boolean hasClass2Events()
@CheckReturnValue public boolean hasClass3Events()
@CheckReturnValue public boolean hasConfigCorrupt()
@CheckReturnValue public boolean hasDeviceRestart()
@CheckReturnValue public boolean hasDeviceTrouble()
@CheckReturnValue public boolean hasEventBufferOverflow()
@CheckReturnValue public boolean hasLocalControl()
@CheckReturnValue public boolean hasNeedTime()
@CheckReturnValue public boolean hasNoFuncCodeSupport()
@CheckReturnValue public boolean hasObjectUnknown()
@CheckReturnValue public boolean hasParameterError()
public void set(@Nonnull InternalIndications internalIndications)
internalIndications
- The added internal indications.public void set(@Nonnull InternalIndication internalIndication, boolean set)
internalIndication
- The internal indication.set
- True to set, false to clear.public void setAlreadyExecuting(boolean state)
state
- The state of the indicator.public void setBroadcast(boolean state)
state
- The state of the indicator.public void setClass1Events(boolean state)
state
- The state of the indicator.public void setClass2Events(boolean state)
state
- The state of the indicator.public void setClass3Events(boolean state)
state
- The state of the indicator.public void setConfigCorrupt(boolean state)
state
- The state of the indicator.public void setDeviceRestart(boolean state)
state
- The state of the indicator.public void setDeviceTrouble(boolean state)
state
- The state of the indicator.public void setEventBufferOverflow(boolean state)
state
- The state of the indicator.public void setLocalControl(boolean state)
state
- The state of the indicator.public void setNeedTime(boolean state)
state
- The state of the indicator.public void setNoFuncCodeSupport(boolean state)
state
- The state of the indicator.public void setObjectUnknown(boolean state)
state
- The state of the indicator.public void setParameterError(boolean state)
state
- The state of the indicator.public String toString()
toString
in class Object
Copyright © 2003-2019 Serge Brisson. All Rights Reserved.