net.opengis.samplingspecimen.v_2_0
Class SFSpecimenType

java.lang.Object
  extended by net.opengis.gml.v_3_2_1.AbstractGMLType
      extended by net.opengis.gml.v_3_2_1.AbstractFeatureType
          extended by net.opengis.sampling.v_2_0.SFSamplingFeatureType
              extended by net.opengis.samplingspecimen.v_2_0.SFSpecimenType
All Implemented Interfaces:
Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo2, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.MergeFrom2, org.jvnet.jaxb2_commons.lang.ToString2

public class SFSpecimenType
extends SFSamplingFeatureType
implements Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo2, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.MergeFrom2, org.jvnet.jaxb2_commons.lang.ToString2

An object on which measurements may be made, often ex-situ. Note that if this specimen is a "processed" version of another (e.g. by grinding, sieving, etc) then the predecessor (if known) may be recorded as a relatedSamplingFeature

Java class for SF_SpecimenType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="SF_SpecimenType">
   <complexContent>
     <extension base="{http://www.opengis.net/sampling/2.0}SF_SamplingFeatureType">
       <sequence>
         <element name="materialClass" type="{http://www.opengis.net/gml/3.2}ReferenceType"/>
         <element name="samplingTime" type="{http://www.opengis.net/om/2.0}TimeObjectPropertyType"/>
         <element name="samplingMethod" type="{http://www.opengis.net/sampling/2.0}SF_ProcessPropertyType" minOccurs="0"/>
         <element name="samplingLocation" type="{http://www.opengis.net/gml/3.2}GeometryPropertyType" minOccurs="0"/>
         <element name="processingDetails" type="{http://www.opengis.net/samplingSpecimen/2.0}PreparationStepPropertyType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="size" minOccurs="0">
           <complexType>
             <simpleContent>
               <extension base="<http://www.opengis.net/gml/3.2>MeasureType">
                 <attGroup ref="{http://www.opengis.net/gml/3.2}AssociationAttributeGroup"/>
               </extension>
             </simpleContent>
           </complexType>
         </element>
         <element name="currentLocation" type="{http://www.opengis.net/samplingSpecimen/2.0}LocationPropertyType" minOccurs="0"/>
         <element name="specimenType" type="{http://www.opengis.net/gml/3.2}ReferenceType" minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 


Nested Class Summary
static class SFSpecimenType.Size
          Xlink attributes added to enable rich annotation, e.g.
 
Field Summary
protected  LocationPropertyType currentLocation
           
protected  ReferenceType materialClass
           
protected  List<PreparationStepPropertyType> processingDetails
           
protected  GeometryPropertyType samplingLocation
           
protected  SFProcessPropertyType samplingMethod
           
protected  TimeObjectPropertyType samplingTime
           
protected  SFSpecimenType.Size size
           
protected  ReferenceType specimenType
           
 
Fields inherited from class net.opengis.sampling.v_2_0.SFSamplingFeatureType
lineage, parameter, relatedObservation, relatedSamplingFeature, sampledFeature, type
 
Fields inherited from class net.opengis.gml.v_3_2_1.AbstractFeatureType
boundedBy, location
 
Fields inherited from class net.opengis.gml.v_3_2_1.AbstractGMLType
description, descriptionReference, id, identifier, metaDataProperty, name
 
Constructor Summary
SFSpecimenType()
           
 
Method Summary
 StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
           
 StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
           
 Object clone()
           
 Object copyTo(Object target)
           
 Object copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, Object target, org.jvnet.jaxb2_commons.lang.CopyStrategy2 strategy)
           
 Object createNewInstance()
           
 boolean equals(Object object)
           
 boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)
           
 LocationPropertyType getCurrentLocation()
          Gets the value of the currentLocation property.
 ReferenceType getMaterialClass()
          Gets the value of the materialClass property.
 List<PreparationStepPropertyType> getProcessingDetails()
          Gets the value of the processingDetails property.
 GeometryPropertyType getSamplingLocation()
          Gets the value of the samplingLocation property.
 SFProcessPropertyType getSamplingMethod()
          Gets the value of the samplingMethod property.
 TimeObjectPropertyType getSamplingTime()
          Gets the value of the samplingTime property.
 SFSpecimenType.Size getSize()
          Gets the value of the size property.
 ReferenceType getSpecimenType()
          Gets the value of the specimenType property.
 int hashCode()
           
 int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
           
 boolean isSetCurrentLocation()
           
 boolean isSetMaterialClass()
           
 boolean isSetProcessingDetails()
           
 boolean isSetSamplingLocation()
           
 boolean isSetSamplingMethod()
           
 boolean isSetSamplingTime()
           
 boolean isSetSize()
           
 boolean isSetSpecimenType()
           
 void mergeFrom(org.jvnet.jaxb2_commons.locator.ObjectLocator leftLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator rightLocator, Object left, Object right, org.jvnet.jaxb2_commons.lang.MergeStrategy2 strategy)
           
 void mergeFrom(Object left, Object right)
           
 void setCurrentLocation(LocationPropertyType value)
          Sets the value of the currentLocation property.
 void setMaterialClass(ReferenceType value)
          Sets the value of the materialClass property.
 void setProcessingDetails(List<PreparationStepPropertyType> value)
           
 void setSamplingLocation(GeometryPropertyType value)
          Sets the value of the samplingLocation property.
 void setSamplingMethod(SFProcessPropertyType value)
          Sets the value of the samplingMethod property.
 void setSamplingTime(TimeObjectPropertyType value)
          Sets the value of the samplingTime property.
 void setSize(SFSpecimenType.Size value)
          Sets the value of the size property.
 void setSpecimenType(ReferenceType value)
          Sets the value of the specimenType property.
 String toString()
           
 void unsetProcessingDetails()
           
 SFSpecimenType withCurrentLocation(LocationPropertyType value)
           
 SFSpecimenType withMaterialClass(ReferenceType value)
           
 SFSpecimenType withProcessingDetails(Collection<PreparationStepPropertyType> values)
           
 SFSpecimenType withProcessingDetails(List<PreparationStepPropertyType> value)
           
 SFSpecimenType withProcessingDetails(PreparationStepPropertyType... values)
           
 SFSpecimenType withSamplingLocation(GeometryPropertyType value)
           
 SFSpecimenType withSamplingMethod(SFProcessPropertyType value)
           
 SFSpecimenType withSamplingTime(TimeObjectPropertyType value)
           
 SFSpecimenType withSize(SFSpecimenType.Size value)
           
 SFSpecimenType withSpecimenType(ReferenceType value)
           
 
Methods inherited from class net.opengis.sampling.v_2_0.SFSamplingFeatureType
getLineage, getParameter, getRelatedObservation, getRelatedSamplingFeature, getSampledFeature, getType, isSetLineage, isSetParameter, isSetRelatedObservation, isSetRelatedSamplingFeature, isSetSampledFeature, isSetType, setLineage, setParameter, setRelatedObservation, setRelatedSamplingFeature, setSampledFeature, setType, unsetParameter, unsetRelatedObservation, unsetRelatedSamplingFeature, unsetSampledFeature, withLineage, withParameter, withParameter, withParameter, withRelatedObservation, withRelatedObservation, withRelatedObservation, withRelatedSamplingFeature, withRelatedSamplingFeature, withRelatedSamplingFeature, withSampledFeature, withSampledFeature, withSampledFeature, withType
 
Methods inherited from class net.opengis.gml.v_3_2_1.AbstractFeatureType
getBoundedBy, getLocation, isSetBoundedBy, isSetLocation, setBoundedBy, setLocation, withBoundedBy, withDescription, withDescriptionReference, withId, withIdentifier, withLocation, withMetaDataProperty, withMetaDataProperty, withMetaDataProperty, withName, withName, withName
 
Methods inherited from class net.opengis.gml.v_3_2_1.AbstractGMLType
getDescription, getDescriptionReference, getId, getIdentifier, getMetaDataProperty, getName, isSetDescription, isSetDescriptionReference, isSetId, isSetIdentifier, isSetMetaDataProperty, isSetName, setDescription, setDescriptionReference, setId, setIdentifier, setMetaDataProperty, setName, unsetMetaDataProperty, unsetName
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

materialClass

protected ReferenceType materialClass

samplingTime

protected TimeObjectPropertyType samplingTime

samplingMethod

protected SFProcessPropertyType samplingMethod

samplingLocation

protected GeometryPropertyType samplingLocation

processingDetails

protected List<PreparationStepPropertyType> processingDetails

size

protected SFSpecimenType.Size size

currentLocation

protected LocationPropertyType currentLocation

specimenType

protected ReferenceType specimenType
Constructor Detail

SFSpecimenType

public SFSpecimenType()
Method Detail

getMaterialClass

public ReferenceType getMaterialClass()
Gets the value of the materialClass property.

Returns:
possible object is ReferenceType

setMaterialClass

public void setMaterialClass(ReferenceType value)
Sets the value of the materialClass property.

Parameters:
value - allowed object is ReferenceType

isSetMaterialClass

public boolean isSetMaterialClass()

getSamplingTime

public TimeObjectPropertyType getSamplingTime()
Gets the value of the samplingTime property.

Returns:
possible object is TimeObjectPropertyType

setSamplingTime

public void setSamplingTime(TimeObjectPropertyType value)
Sets the value of the samplingTime property.

Parameters:
value - allowed object is TimeObjectPropertyType

isSetSamplingTime

public boolean isSetSamplingTime()

getSamplingMethod

public SFProcessPropertyType getSamplingMethod()
Gets the value of the samplingMethod property.

Returns:
possible object is SFProcessPropertyType

setSamplingMethod

public void setSamplingMethod(SFProcessPropertyType value)
Sets the value of the samplingMethod property.

Parameters:
value - allowed object is SFProcessPropertyType

isSetSamplingMethod

public boolean isSetSamplingMethod()

getSamplingLocation

public GeometryPropertyType getSamplingLocation()
Gets the value of the samplingLocation property.

Returns:
possible object is GeometryPropertyType

setSamplingLocation

public void setSamplingLocation(GeometryPropertyType value)
Sets the value of the samplingLocation property.

Parameters:
value - allowed object is GeometryPropertyType

isSetSamplingLocation

public boolean isSetSamplingLocation()

getProcessingDetails

public List<PreparationStepPropertyType> getProcessingDetails()
Gets the value of the processingDetails property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the processingDetails property.

For example, to add a new item, do as follows:

    getProcessingDetails().add(newItem);
 

Objects of the following type(s) are allowed in the list PreparationStepPropertyType


isSetProcessingDetails

public boolean isSetProcessingDetails()

unsetProcessingDetails

public void unsetProcessingDetails()

getSize

public SFSpecimenType.Size getSize()
Gets the value of the size property.

Returns:
possible object is SFSpecimenType.Size

setSize

public void setSize(SFSpecimenType.Size value)
Sets the value of the size property.

Parameters:
value - allowed object is SFSpecimenType.Size

isSetSize

public boolean isSetSize()

getCurrentLocation

public LocationPropertyType getCurrentLocation()
Gets the value of the currentLocation property.

Returns:
possible object is LocationPropertyType

setCurrentLocation

public void setCurrentLocation(LocationPropertyType value)
Sets the value of the currentLocation property.

Parameters:
value - allowed object is LocationPropertyType

isSetCurrentLocation

public boolean isSetCurrentLocation()

getSpecimenType

public ReferenceType getSpecimenType()
Gets the value of the specimenType property.

Returns:
possible object is ReferenceType

setSpecimenType

public void setSpecimenType(ReferenceType value)
Sets the value of the specimenType property.

Parameters:
value - allowed object is ReferenceType

isSetSpecimenType

public boolean isSetSpecimenType()

toString

public String toString()
Overrides:
toString in class SFSamplingFeatureType

append

public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                            StringBuilder buffer,
                            org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
Specified by:
append in interface org.jvnet.jaxb2_commons.lang.ToString2
Overrides:
append in class SFSamplingFeatureType

appendFields

public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                                  StringBuilder buffer,
                                  org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
Specified by:
appendFields in interface org.jvnet.jaxb2_commons.lang.ToString2
Overrides:
appendFields in class SFSamplingFeatureType

equals

public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
                      org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
                      Object object,
                      org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)
Specified by:
equals in interface org.jvnet.jaxb2_commons.lang.Equals2
Overrides:
equals in class SFSamplingFeatureType

equals

public boolean equals(Object object)
Overrides:
equals in class SFSamplingFeatureType

hashCode

public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                    org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
Specified by:
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode2
Overrides:
hashCode in class SFSamplingFeatureType

hashCode

public int hashCode()
Overrides:
hashCode in class SFSamplingFeatureType

clone

public Object clone()
Overrides:
clone in class SFSamplingFeatureType

copyTo

public Object copyTo(Object target)
Specified by:
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTo2
Overrides:
copyTo in class SFSamplingFeatureType

copyTo

public Object copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                     Object target,
                     org.jvnet.jaxb2_commons.lang.CopyStrategy2 strategy)
Specified by:
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTo2
Overrides:
copyTo in class SFSamplingFeatureType

createNewInstance

public Object createNewInstance()
Specified by:
createNewInstance in interface org.jvnet.jaxb2_commons.lang.CopyTo2
Specified by:
createNewInstance in interface org.jvnet.jaxb2_commons.lang.MergeFrom2
Overrides:
createNewInstance in class SFSamplingFeatureType

mergeFrom

public void mergeFrom(Object left,
                      Object right)
Specified by:
mergeFrom in interface org.jvnet.jaxb2_commons.lang.MergeFrom2
Overrides:
mergeFrom in class SFSamplingFeatureType

mergeFrom

public void mergeFrom(org.jvnet.jaxb2_commons.locator.ObjectLocator leftLocator,
                      org.jvnet.jaxb2_commons.locator.ObjectLocator rightLocator,
                      Object left,
                      Object right,
                      org.jvnet.jaxb2_commons.lang.MergeStrategy2 strategy)
Specified by:
mergeFrom in interface org.jvnet.jaxb2_commons.lang.MergeFrom2
Overrides:
mergeFrom in class SFSamplingFeatureType

setProcessingDetails

public void setProcessingDetails(List<PreparationStepPropertyType> value)

withMaterialClass

public SFSpecimenType withMaterialClass(ReferenceType value)

withSamplingTime

public SFSpecimenType withSamplingTime(TimeObjectPropertyType value)

withSamplingMethod

public SFSpecimenType withSamplingMethod(SFProcessPropertyType value)

withSamplingLocation

public SFSpecimenType withSamplingLocation(GeometryPropertyType value)

withProcessingDetails

public SFSpecimenType withProcessingDetails(PreparationStepPropertyType... values)

withProcessingDetails

public SFSpecimenType withProcessingDetails(Collection<PreparationStepPropertyType> values)

withSize

public SFSpecimenType withSize(SFSpecimenType.Size value)

withCurrentLocation

public SFSpecimenType withCurrentLocation(LocationPropertyType value)

withSpecimenType

public SFSpecimenType withSpecimenType(ReferenceType value)

withProcessingDetails

public SFSpecimenType withProcessingDetails(List<PreparationStepPropertyType> value)


Copyright © 2008-2016. All Rights Reserved.