Klasse ScansConfig
java.lang.Object
org.emau.icmvc.ganimed.ttp.cm2.config.ScansConfig
- Alle implementierten Schnittstellen:
Serializable
- Siehe auch:
-
Feldübersicht
Modifizierer und TypFeldBeschreibungstatic final boolean
static final int
-
Konstruktorübersicht
KonstruktorBeschreibungEmpty constructor for deserialization.ScansConfig
(boolean mandatory, int sizeLimit) All fields constructor.ScansConfig
(ScansConfig config) Copy constructor. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
capture
(ScansConfig config) boolean
int
int
hashCode()
boolean
void
setMandatory
(boolean mandatory) void
setSizeLimit
(int sizeLimit) toString()
boolean
updateUnlockedParts
(ScansConfig config) Updates the mandatory flag as well as the scan size limit from the given config.
-
Felddetails
-
DEFAULT_SIZE_LIMIT
public static final int DEFAULT_SIZE_LIMIT- Siehe auch:
-
DEFAULT_MANDATORY
public static final boolean DEFAULT_MANDATORY- Siehe auch:
-
-
Konstruktordetails
-
ScansConfig
public ScansConfig()Empty constructor for deserialization. -
ScansConfig
Copy constructor. -
ScansConfig
public ScansConfig(boolean mandatory, int sizeLimit) All fields constructor.
-
-
Methodendetails
-
capture
-
isMandatory
public boolean isMandatory() -
setMandatory
public void setMandatory(boolean mandatory) -
getSizeLimit
public int getSizeLimit() -
setSizeLimit
public void setSizeLimit(int sizeLimit) -
updateUnlockedParts
Updates the mandatory flag as well as the scan size limit from the given config.- Parameter:
config
- the config to update from- Gibt zurück:
- true if the config changed on update
-
equals
-
hashCode
public int hashCode() -
toString
-