Klasse QualityControlConfig
java.lang.Object
org.emau.icmvc.ganimed.ttp.cm2.config.QualityControlConfig
- Alle implementierten Schnittstellen:
Serializable
- Siehe auch:
-
Konstruktorübersicht
KonstruktorBeschreibungEmpty constructor for deserialization.QualityControlConfig
(Set<QCType> types, String defaultQcType, Set<QCProblemType> problemTypes, Set<QCProblemTypeAction> actions) All fields constructor.Copy constructor. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
capture
(QualityControlConfig config) boolean
getTypeById
(String id) getTypeIds
(QCTypeStatus status) getTypes()
int
hashCode()
boolean
hasType
(String id, QCTypeStatus status) void
Ensures, that the default qc type is set and either listed as valid or invalid.void
setDefaultType
(QCType type) void
setDefaultTypeId
(String defaultQcType) void
setInvalidQcTypeValues
(Set<String> values) void
setProblemTypeActions
(Set<QCProblemTypeAction> problemTypeActions) void
setProblemTypes
(Set<QCProblemType> problemTypes) void
setTypeIds
(QCTypeStatus status, Set<String> ids) void
void
setValidQcTypeValues
(Set<String> values) toString()
boolean
Updates the labels of existing types, problem types, and problem type actions, and takes over new types, ... as well as the default qc type from the given config.void
validate()
void
Assert, that the qc config is consistent, which means, that the default type is configered in the set of qc types (getTypes()
), all actions refered to from qc problem types are configured in the set of qc problem type actions (getProblemTypeActions()
), and for each set (getTypes()
,getProblemTypes()
, andgetProblemTypeActions()
) the labeled IDs are distinct.
-
Konstruktordetails
-
QualityControlConfig
public QualityControlConfig()Empty constructor for deserialization. -
QualityControlConfig
Copy constructor. -
QualityControlConfig
public QualityControlConfig(Set<QCType> types, String defaultQcType, Set<QCProblemType> problemTypes, Set<QCProblemTypeAction> actions) All fields constructor.
-
-
Methodendetails
-
capture
-
getTypeById
-
getTypes
-
setTypes
-
hasType
-
getTypeIds
-
setTypeIds
-
getValidQcTypeValues
-
setValidQcTypeValues
-
getInvalidQcTypeValues
-
setInvalidQcTypeValues
-
getDefaultType
-
setDefaultType
-
getDefaultTypeId
-
setDefaultTypeId
-
getProblemTypeById
-
getProblemTypes
-
setProblemTypes
-
getProblemTypeActionById
-
getProblemTypeActions
-
setProblemTypeActions
-
normalize
Ensures, that the default qc type is set and either listed as valid or invalid.- Parameter:
domainName
- the name of the domain used for warning messages only
-
validate
- Löst aus:
InvalidParameterException
- Siehe auch:
-
validate
Assert, that the qc config is consistent, which means, that- the default type is configered in the set of qc types (
getTypes()
), - all actions refered to from qc problem types are configured in the set of qc problem type actions (
getProblemTypeActions()
), and - for each set (
getTypes()
,getProblemTypes()
, andgetProblemTypeActions()
) the labeled IDs are distinct.
- Parameter:
paramName
- an optional name of the parameter- Löst aus:
InvalidParameterException
- if the qc config is not consistent
- the default type is configered in the set of qc types (
-
updateUnlockedParts
Updates the labels of existing types, problem types, and problem type actions, and takes over new types, ... as well as the default qc type from the given config.- Parameter:
config
- the new config to update from- Gibt zurück:
- true if this qc config has changed on update
-
equals
-
hashCode
public int hashCode() -
toString
-