Class InsertObservationType
- java.lang.Object
-
- net.opengis.swes.v_2_0.ExtensibleRequestType
-
- net.opengis.sos.v_2_0.InsertObservationType
-
- All Implemented Interfaces:
Cloneable,org.jvnet.jaxb.lang.CopyTo,org.jvnet.jaxb.lang.Equals,org.jvnet.jaxb.lang.HashCode,org.jvnet.jaxb.lang.MergeFrom,org.jvnet.jaxb.lang.ToString
public class InsertObservationType extends ExtensibleRequestType implements Cloneable, org.jvnet.jaxb.lang.CopyTo, org.jvnet.jaxb.lang.Equals, org.jvnet.jaxb.lang.HashCode, org.jvnet.jaxb.lang.MergeFrom, org.jvnet.jaxb.lang.ToString
Java class for InsertObservationType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="InsertObservationType"> <complexContent> <extension base="{http://www.opengis.net/swes/2.0}ExtensibleRequestType"> <sequence> <element name="offering" type="{http://www.w3.org/2001/XMLSchema}anyURI" maxOccurs="unbounded"/> <element name="observation" maxOccurs="unbounded"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element ref="{http://www.opengis.net/om/2.0}OM_Observation"/> </sequence> </restriction> </complexContent> </complexType> </element> </sequence> </extension> </complexContent> </complexType>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classInsertObservationType.ObservationJava class for anonymous complex type.
-
Field Summary
Fields Modifier and Type Field Description protected List<InsertObservationType.Observation>observationprotected List<String>offering-
Fields inherited from class net.opengis.swes.v_2_0.ExtensibleRequestType
extension, service, version
-
-
Constructor Summary
Constructors Constructor Description InsertObservationType()Default no-arg constructorInsertObservationType(List<String> offering, List<InsertObservationType.Observation> observation)Fully-initialising value constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringBuilderappend(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy)StringBuilderappendFields(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy)Objectclone()ObjectcopyTo(Object target)ObjectcopyTo(org.jvnet.jaxb.locator.ObjectLocator locator, Object target, org.jvnet.jaxb.lang.CopyStrategy strategy)ObjectcreateNewInstance()booleanequals(Object object)booleanequals(org.jvnet.jaxb.locator.ObjectLocator thisLocator, org.jvnet.jaxb.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb.lang.EqualsStrategy strategy)List<InsertObservationType.Observation>getObservation()Gets the value of the observation property.List<String>getOffering()Gets the value of the offering property.inthashCode()inthashCode(org.jvnet.jaxb.locator.ObjectLocator locator, org.jvnet.jaxb.lang.HashCodeStrategy strategy)booleanisSetObservation()booleanisSetOffering()voidmergeFrom(Object left, Object right)voidmergeFrom(org.jvnet.jaxb.locator.ObjectLocator leftLocator, org.jvnet.jaxb.locator.ObjectLocator rightLocator, Object left, Object right, org.jvnet.jaxb.lang.MergeStrategy strategy)voidsetObservation(List<InsertObservationType.Observation> value)voidsetOffering(List<String> value)StringtoString()voidunsetObservation()voidunsetOffering()InsertObservationTypewithObservation(Collection<InsertObservationType.Observation> values)InsertObservationTypewithObservation(List<InsertObservationType.Observation> value)InsertObservationTypewithObservation(InsertObservationType.Observation... values)InsertObservationTypewithOffering(String... values)InsertObservationTypewithOffering(Collection<String> values)InsertObservationTypewithOffering(List<String> value)-
Methods inherited from class net.opengis.swes.v_2_0.ExtensibleRequestType
getExtension, getService, getVersion, isSetExtension, isSetService, isSetVersion, setExtension, setService, setVersion, unsetExtension, withExtension, withExtension, withExtension, withService, withVersion
-
-
-
-
Field Detail
-
observation
protected List<InsertObservationType.Observation> observation
-
-
Constructor Detail
-
InsertObservationType
public InsertObservationType()
Default no-arg constructor
-
InsertObservationType
public InsertObservationType(List<String> offering, List<InsertObservationType.Observation> observation)
Fully-initialising value constructor
-
-
Method Detail
-
getOffering
public List<String> getOffering()
Gets the value of the offering 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 Jakarta XML Binding object. This is why there is not a
setmethod for the offering property.For example, to add a new item, do as follows:
getOffering().add(newItem);Objects of the following type(s) are allowed in the list
String
-
isSetOffering
public boolean isSetOffering()
-
unsetOffering
public void unsetOffering()
-
getObservation
public List<InsertObservationType.Observation> getObservation()
Gets the value of the observation 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 Jakarta XML Binding object. This is why there is not a
setmethod for the observation property.For example, to add a new item, do as follows:
getObservation().add(newItem);Objects of the following type(s) are allowed in the list
InsertObservationType.Observation
-
isSetObservation
public boolean isSetObservation()
-
unsetObservation
public void unsetObservation()
-
toString
public String toString()
- Overrides:
toStringin classExtensibleRequestType
-
append
public StringBuilder append(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy)
- Specified by:
appendin interfaceorg.jvnet.jaxb.lang.ToString- Overrides:
appendin classExtensibleRequestType
-
appendFields
public StringBuilder appendFields(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy)
- Specified by:
appendFieldsin interfaceorg.jvnet.jaxb.lang.ToString- Overrides:
appendFieldsin classExtensibleRequestType
-
equals
public boolean equals(org.jvnet.jaxb.locator.ObjectLocator thisLocator, org.jvnet.jaxb.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb.lang.EqualsStrategy strategy)- Specified by:
equalsin interfaceorg.jvnet.jaxb.lang.Equals- Overrides:
equalsin classExtensibleRequestType
-
equals
public boolean equals(Object object)
- Overrides:
equalsin classExtensibleRequestType
-
hashCode
public int hashCode(org.jvnet.jaxb.locator.ObjectLocator locator, org.jvnet.jaxb.lang.HashCodeStrategy strategy)- Specified by:
hashCodein interfaceorg.jvnet.jaxb.lang.HashCode- Overrides:
hashCodein classExtensibleRequestType
-
hashCode
public int hashCode()
- Overrides:
hashCodein classExtensibleRequestType
-
clone
public Object clone()
- Overrides:
clonein classExtensibleRequestType
-
copyTo
public Object copyTo(Object target)
- Specified by:
copyToin interfaceorg.jvnet.jaxb.lang.CopyTo- Overrides:
copyToin classExtensibleRequestType
-
copyTo
public Object copyTo(org.jvnet.jaxb.locator.ObjectLocator locator, Object target, org.jvnet.jaxb.lang.CopyStrategy strategy)
- Specified by:
copyToin interfaceorg.jvnet.jaxb.lang.CopyTo- Overrides:
copyToin classExtensibleRequestType
-
createNewInstance
public Object createNewInstance()
- Specified by:
createNewInstancein interfaceorg.jvnet.jaxb.lang.CopyTo- Specified by:
createNewInstancein interfaceorg.jvnet.jaxb.lang.MergeFrom
-
mergeFrom
public void mergeFrom(Object left, Object right)
- Specified by:
mergeFromin interfaceorg.jvnet.jaxb.lang.MergeFrom- Overrides:
mergeFromin classExtensibleRequestType
-
mergeFrom
public void mergeFrom(org.jvnet.jaxb.locator.ObjectLocator leftLocator, org.jvnet.jaxb.locator.ObjectLocator rightLocator, Object left, Object right, org.jvnet.jaxb.lang.MergeStrategy strategy)- Specified by:
mergeFromin interfaceorg.jvnet.jaxb.lang.MergeFrom- Overrides:
mergeFromin classExtensibleRequestType
-
setObservation
public void setObservation(List<InsertObservationType.Observation> value)
-
withOffering
public InsertObservationType withOffering(String... values)
-
withOffering
public InsertObservationType withOffering(Collection<String> values)
-
withObservation
public InsertObservationType withObservation(InsertObservationType.Observation... values)
-
withObservation
public InsertObservationType withObservation(Collection<InsertObservationType.Observation> values)
-
withOffering
public InsertObservationType withOffering(List<String> value)
-
withObservation
public InsertObservationType withObservation(List<InsertObservationType.Observation> value)
-
-