Class DefaultSampleBasedInspection
java.lang.Object
org.apache.sis.metadata.AbstractMetadata
org.apache.sis.metadata.ModifiableMetadata
org.apache.sis.metadata.iso.ISOMetadata
org.apache.sis.metadata.iso.quality.ISOMetadata
org.apache.sis.metadata.iso.quality.DefaultEvaluationMethod
org.apache.sis.metadata.iso.quality.AbstractDataEvaluation
org.apache.sis.metadata.iso.quality.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
XML
instead.
- Since:
- 1.3
- Version:
- 1.3
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.sis.metadata.ModifiableMetadata
ModifiableMetadata.State
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate org.opengis.util.InternationalString
Information of how lots are defined.private org.opengis.util.InternationalString
Information on how many samples on average are extracted for inspection from each lot of population.private org.opengis.util.InternationalString
Information of the type of sampling scheme and description of the sampling procedure.private static final long
Serial number for inter-operability with different versions.Fields inherited from class org.apache.sis.metadata.iso.ISOMetadata
identifiers
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs an initially empty sample based description.Constructs a new instance initialized with the values from the specified metadata object. -
Method Summary
Modifier and TypeMethodDescriptionorg.opengis.util.InternationalString
Returns the information of how lots are defined.org.opengis.util.InternationalString
Returns the information on how many samples on average are extracted for inspection from each lot of population.org.opengis.util.InternationalString
Returns the information of the type of sampling scheme and description of the sampling procedure.void
setLotDescription
(org.opengis.util.InternationalString newValue) Sets the information of how lots are defined.void
setSamplingRatio
(org.opengis.util.InternationalString newValue) Sets the information on how many samples on average are extracted for inspection from each lot of population.void
setSamplingScheme
(org.opengis.util.InternationalString newValue) Sets the information of the type of sampling scheme and description of the sampling procedure.Methods inherited from class org.apache.sis.metadata.iso.quality.DefaultEvaluationMethod
getDates, getEvaluationMethodDescription, getEvaluationMethodType, getEvaluationProcedure, getReferenceDocuments, setDates, setEvaluationMethodDescription, setEvaluationMethodType, setEvaluationProcedure, setReferenceDocuments
Methods inherited from class org.apache.sis.metadata.iso.quality.ISOMetadata
getStandard
Methods inherited from class org.apache.sis.metadata.iso.ISOMetadata
getIdentifier, getIdentifierMap, getIdentifiers, setIdentifier, transitionTo
Methods inherited from class org.apache.sis.metadata.ModifiableMetadata
checkWritePermission, collectionType, copyCollection, copyList, copyMap, copySet, deepCopy, nonNullCollection, nonNullList, nonNullMap, nonNullSet, singleton, state, writeCollection, writeList, writeMap, writeSet
Methods inherited from class org.apache.sis.metadata.AbstractMetadata
asMap, asTreeTable, equals, equals, getInterface, hashCode, isEmpty, prune, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDSerial number for inter-operability with different versions.- See Also:
-
samplingScheme
private org.opengis.util.InternationalString samplingSchemeInformation of the type of sampling scheme and description of the sampling procedure. -
lotDescription
private org.opengis.util.InternationalString lotDescriptionInformation of how lots are defined. -
samplingRatio
private org.opengis.util.InternationalString samplingRatioInformation on how many samples on average are extracted for inspection from each lot of population.
-
-
Constructor Details
-
DefaultSampleBasedInspection
public DefaultSampleBasedInspection()Constructs an initially empty sample based description. -
DefaultSampleBasedInspection
Constructs 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, ornull
if none.
-
-
Method Details
-
getSamplingScheme
@UML(identifier="samplingScheme", obligation=MANDATORY, specification=UNSPECIFIED) public org.opengis.util.InternationalString getSamplingScheme()Returns the information of the type of sampling scheme and description of the sampling procedure.- Returns:
- sampling scheme and sampling procedure.
-
setSamplingScheme
public void setSamplingScheme(org.opengis.util.InternationalString newValue) Sets 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 org.opengis.util.InternationalString getLotDescription()Returns the information of how lots are defined.- Returns:
- information on lots.
-
setLotDescription
public void setLotDescription(org.opengis.util.InternationalString newValue) Sets the information of how lots are defined.- Parameters:
newValue
- the new information.
-
getSamplingRatio
@UML(identifier="samplingRatio", obligation=MANDATORY, specification=UNSPECIFIED) public org.opengis.util.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.
-
setSamplingRatio
public void setSamplingRatio(org.opengis.util.InternationalString newValue) Sets the information on how many samples on average are extracted for inspection from each lot of population.- Parameters:
newValue
- the new information.
-