net.opengis.swes.v_2_0
Class SWESEventType

java.lang.Object
  extended by net.opengis.swes.v_2_0.AbstractSWESType
      extended by net.opengis.swes.v_2_0.SWESEventType
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
Direct Known Subclasses:
OfferingChangedType, SensorChangedType

public class SWESEventType
extends AbstractSWESType
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

Java class for SWESEventType complex type.

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

 <complexType name="SWESEventType">
   <complexContent>
     <extension base="{http://www.opengis.net/swes/2.0}AbstractSWESType">
       <sequence>
         <element name="eventTime" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
         <element name="code" type="{http://www.opengis.net/swes/2.0}EventCodeType"/>
         <element name="message" type="{http://www.opengis.net/ows/1.1}LanguageStringType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="service">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <element ref="{http://www.w3.org/2005/08/addressing}EndpointReference"/>
                 </sequence>
               </restriction>
             </complexContent>
           </complexType>
         </element>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 


Nested Class Summary
static class SWESEventType.Service
          Java class for anonymous complex type.
 
Field Summary
protected  String code
           
protected  XMLGregorianCalendar eventTime
           
protected  List<LanguageStringType> message
           
protected  SWESEventType.Service service
           
 
Fields inherited from class net.opengis.swes.v_2_0.AbstractSWESType
description, extension, id, identifier, name
 
Constructor Summary
SWESEventType()
           
 
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)
           
 String getCode()
          Gets the value of the code property.
 XMLGregorianCalendar getEventTime()
          Gets the value of the eventTime property.
 List<LanguageStringType> getMessage()
          Gets the value of the message property.
 SWESEventType.Service getService()
          Gets the value of the service property.
 int hashCode()
           
 int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
           
 boolean isSetCode()
           
 boolean isSetEventTime()
           
 boolean isSetMessage()
           
 boolean isSetService()
           
 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 setCode(String value)
          Sets the value of the code property.
 void setEventTime(XMLGregorianCalendar value)
          Sets the value of the eventTime property.
 void setMessage(List<LanguageStringType> value)
           
 void setService(SWESEventType.Service value)
          Sets the value of the service property.
 String toString()
           
 void unsetMessage()
           
 SWESEventType withCode(String value)
           
 SWESEventType withDescription(String value)
           
 SWESEventType withEventTime(XMLGregorianCalendar value)
           
 SWESEventType withExtension(Collection<Object> values)
           
 SWESEventType withExtension(List<Object> value)
           
 SWESEventType withExtension(Object... values)
           
 SWESEventType withId(String value)
           
 SWESEventType withIdentifier(String value)
           
 SWESEventType withMessage(Collection<LanguageStringType> values)
           
 SWESEventType withMessage(LanguageStringType... values)
           
 SWESEventType withMessage(List<LanguageStringType> value)
           
 SWESEventType withName(CodeType... values)
           
 SWESEventType withName(Collection<CodeType> values)
           
 SWESEventType withName(List<CodeType> value)
           
 SWESEventType withService(SWESEventType.Service value)
           
 
Methods inherited from class net.opengis.swes.v_2_0.AbstractSWESType
getDescription, getExtension, getId, getIdentifier, getName, isSetDescription, isSetExtension, isSetId, isSetIdentifier, isSetName, setDescription, setExtension, setId, setIdentifier, setName, unsetExtension, unsetName
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

eventTime

protected XMLGregorianCalendar eventTime

code

protected String code

message

protected List<LanguageStringType> message

service

protected SWESEventType.Service service
Constructor Detail

SWESEventType

public SWESEventType()
Method Detail

getEventTime

public XMLGregorianCalendar getEventTime()
Gets the value of the eventTime property.

Returns:
possible object is XMLGregorianCalendar

setEventTime

public void setEventTime(XMLGregorianCalendar value)
Sets the value of the eventTime property.

Parameters:
value - allowed object is XMLGregorianCalendar

isSetEventTime

public boolean isSetEventTime()

getCode

public String getCode()
Gets the value of the code property.

Returns:
possible object is String

setCode

public void setCode(String value)
Sets the value of the code property.

Parameters:
value - allowed object is String

isSetCode

public boolean isSetCode()

getMessage

public List<LanguageStringType> getMessage()
Gets the value of the message 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 message property.

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

    getMessage().add(newItem);
 

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


isSetMessage

public boolean isSetMessage()

unsetMessage

public void unsetMessage()

getService

public SWESEventType.Service getService()
Gets the value of the service property.

Returns:
possible object is SWESEventType.Service

setService

public void setService(SWESEventType.Service value)
Sets the value of the service property.

Parameters:
value - allowed object is SWESEventType.Service

isSetService

public boolean isSetService()

toString

public String toString()
Overrides:
toString in class AbstractSWESType

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 AbstractSWESType

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 AbstractSWESType

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 AbstractSWESType

equals

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

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 AbstractSWESType

hashCode

public int hashCode()
Overrides:
hashCode in class AbstractSWESType

clone

public Object clone()
Overrides:
clone in class AbstractSWESType

copyTo

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

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 AbstractSWESType

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

mergeFrom

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

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 AbstractSWESType

setMessage

public void setMessage(List<LanguageStringType> value)

withEventTime

public SWESEventType withEventTime(XMLGregorianCalendar value)

withCode

public SWESEventType withCode(String value)

withMessage

public SWESEventType withMessage(LanguageStringType... values)

withMessage

public SWESEventType withMessage(Collection<LanguageStringType> values)

withService

public SWESEventType withService(SWESEventType.Service value)

withMessage

public SWESEventType withMessage(List<LanguageStringType> value)

withDescription

public SWESEventType withDescription(String value)
Overrides:
withDescription in class AbstractSWESType

withIdentifier

public SWESEventType withIdentifier(String value)
Overrides:
withIdentifier in class AbstractSWESType

withName

public SWESEventType withName(CodeType... values)
Overrides:
withName in class AbstractSWESType

withName

public SWESEventType withName(Collection<CodeType> values)
Overrides:
withName in class AbstractSWESType

withExtension

public SWESEventType withExtension(Object... values)
Overrides:
withExtension in class AbstractSWESType

withExtension

public SWESEventType withExtension(Collection<Object> values)
Overrides:
withExtension in class AbstractSWESType

withId

public SWESEventType withId(String value)
Overrides:
withId in class AbstractSWESType

withName

public SWESEventType withName(List<CodeType> value)
Overrides:
withName in class AbstractSWESType

withExtension

public SWESEventType withExtension(List<Object> value)
Overrides:
withExtension in class AbstractSWESType


Copyright © 2008-2015. All Rights Reserved.