Class DefaultSampleBasedInspection
Object
AbstractMetadata
ModifiableMetadata
ISOMetadata
DefaultEvaluationMethod
AbstractDataEvaluation
DefaultSampleBasedInspection
- All Implemented Interfaces:
- Serializable,- Emptiable,- LenientComparable,- IdentifiedObject
@UML(identifier="DQ_SampleBasedInspection",
     specification=UNSPECIFIED)
public class DefaultSampleBasedInspection
extends AbstractDataEvaluation
Sample based inspection.
 The following properties are mandatory in a well-formed metadata according ISO 19157:
 
 
DQ_SampleBasedInspection
   ├─samplingScheme…………… Type of sampling scheme and description of the sampling procedure.
   ├─lotDescription…………… How lots are defined.
   └─samplingRatio……………… How many samples on average are extracted for inspection from each lot of population.Limitations
- Instances of this class are not synchronized for multi-threading. Synchronization, if needed, is caller's responsibility.
- Serialized objects of this class are not guaranteed to be compatible with future Apache SIS releases.
       Serialization support is appropriate for short term storage or RMI between applications running the
       same version of Apache SIS. For long term storage, use XMLinstead.
- Since:
- 1.3
- See Also:
Defined in the sis-metadata module
- 
Nested Class SummaryNested classes/interfaces inherited from class ModifiableMetadataModifiableMetadata.State
- 
Field SummaryFields inherited from class ISOMetadataidentifiers
- 
Constructor SummaryConstructorsConstructorDescriptionConstructs an initially empty sample based description.Constructs a new instance initialized with the values from the specified metadata object.
- 
Method SummaryModifier and TypeMethodDescriptionReturns the information of how lots are defined.Returns the information on how many samples on average are extracted for inspection from each lot of population.Returns the information of the type of sampling scheme and description of the sampling procedure.Returns the metadata standard, which is ISO 19157.voidsetLotDescription(InternationalString newValue) Sets the information of how lots are defined.voidsetSamplingRatio(InternationalString newValue) Sets the information on how many samples on average are extracted for inspection from each lot of population.voidsetSamplingScheme(InternationalString newValue) Sets the information of the type of sampling scheme and description of the sampling procedure.Methods inherited from class DefaultEvaluationMethodgetDates, getEvaluationMethodDescription, getEvaluationMethodType, getEvaluationProcedure, getReferenceDocuments, setDates, setEvaluationMethodDescription, setEvaluationMethodType, setEvaluationProcedure, setReferenceDocumentsMethods inherited from class ISOMetadatagetIdentifier, getIdentifierMap, getIdentifiers, setIdentifier, transitionToMethods inherited from class ModifiableMetadatacheckWritePermission, collectionType, copyCollection, copyList, copyMap, copySet, deepCopy, nonNullCollection, nonNullList, nonNullMap, nonNullSet, singleton, state, writeCollection, writeList, writeMap, writeSetMethods inherited from class AbstractMetadataasMap, asTreeTable, equals, equals, getInterface, hashCode, isEmpty, prune, toString
- 
Constructor Details- 
DefaultSampleBasedInspectionpublic DefaultSampleBasedInspection()Constructs an initially empty sample based description.
- 
DefaultSampleBasedInspectionConstructs a new instance initialized with the values from the specified metadata object. This is a shallow copy constructor, because the other metadata contained in the given object are not recursively copied.- Parameters:
- object- the metadata to copy values from, or- nullif none.
 
 
- 
- 
Method Details- 
getSamplingScheme@UML(identifier="samplingScheme", obligation=MANDATORY, specification=UNSPECIFIED) public InternationalString getSamplingScheme()Returns the information of the type of sampling scheme and description of the sampling procedure.- Returns:
- sampling scheme and sampling procedure.
 
- 
setSamplingSchemeSets the information of the type of sampling scheme and description of the sampling procedure.- Parameters:
- newValue- the new sampling scheme.
 
- 
getLotDescription@UML(identifier="lotDescription", obligation=MANDATORY, specification=UNSPECIFIED) public InternationalString getLotDescription()Returns the information of how lots are defined.- Returns:
- information on lots.
 
- 
setLotDescriptionSets the information of how lots are defined.- Parameters:
- newValue- the new information.
 
- 
getSamplingRatio@UML(identifier="samplingRatio", obligation=MANDATORY, specification=UNSPECIFIED) public InternationalString getSamplingRatio()Returns the information on how many samples on average are extracted for inspection from each lot of population.- Returns:
- average number of samples extracted for inspection.
 
- 
setSamplingRatioSets the information on how many samples on average are extracted for inspection from each lot of population.- Parameters:
- newValue- the new information.
 
- 
getStandardReturns the metadata standard, which is ISO 19157.- Overrides:
- getStandardin class- ISOMetadata
- Returns:
- the metadata standard, which is ISO 19157.
 
 
-