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>
| Modifier and Type | Class and Description |
|---|---|
static class |
SWESEventType.Service
Java class for anonymous complex type.
|
| Modifier and Type | Field and Description |
|---|---|
protected String |
code |
protected XMLGregorianCalendar |
eventTime |
protected List<LanguageStringType> |
message |
protected SWESEventType.Service |
service |
description, extension, id, identifier, name| Constructor and Description |
|---|
SWESEventType() |
| Modifier and Type | Method and Description |
|---|---|
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) |
getDescription, getExtension, getId, getIdentifier, getName, isSetDescription, isSetExtension, isSetId, isSetIdentifier, isSetName, setDescription, setExtension, setId, setIdentifier, setName, unsetExtension, unsetNameprotected XMLGregorianCalendar eventTime
protected String code
protected List<LanguageStringType> message
protected SWESEventType.Service service
public XMLGregorianCalendar getEventTime()
XMLGregorianCalendarpublic void setEventTime(XMLGregorianCalendar value)
value - allowed object is
XMLGregorianCalendarpublic boolean isSetEventTime()
public String getCode()
Stringpublic void setCode(String value)
value - allowed object is
Stringpublic boolean isSetCode()
public List<LanguageStringType> getMessage()
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
public boolean isSetMessage()
public void unsetMessage()
public SWESEventType.Service getService()
SWESEventType.Servicepublic void setService(SWESEventType.Service value)
value - allowed object is
SWESEventType.Servicepublic boolean isSetService()
public String toString()
toString in class AbstractSWESTypepublic StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
append in interface org.jvnet.jaxb2_commons.lang.ToString2append in class AbstractSWESTypepublic StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
appendFields in interface org.jvnet.jaxb2_commons.lang.ToString2appendFields in class AbstractSWESTypepublic 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)
equals in interface org.jvnet.jaxb2_commons.lang.Equals2equals in class AbstractSWESTypepublic boolean equals(Object object)
equals in class AbstractSWESTypepublic int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode2hashCode in class AbstractSWESTypepublic int hashCode()
hashCode in class AbstractSWESTypepublic Object clone()
clone in class AbstractSWESTypepublic Object copyTo(Object target)
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTo2copyTo in class AbstractSWESTypepublic Object copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, Object target, org.jvnet.jaxb2_commons.lang.CopyStrategy2 strategy)
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTo2copyTo in class AbstractSWESTypepublic Object createNewInstance()
createNewInstance in interface org.jvnet.jaxb2_commons.lang.CopyTo2createNewInstance in interface org.jvnet.jaxb2_commons.lang.MergeFrom2public void mergeFrom(Object left, Object right)
mergeFrom in interface org.jvnet.jaxb2_commons.lang.MergeFrom2mergeFrom in class AbstractSWESTypepublic 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)
mergeFrom in interface org.jvnet.jaxb2_commons.lang.MergeFrom2mergeFrom in class AbstractSWESTypepublic void setMessage(List<LanguageStringType> value)
public SWESEventType withEventTime(XMLGregorianCalendar value)
public SWESEventType withCode(String value)
public SWESEventType withMessage(LanguageStringType... values)
public SWESEventType withMessage(Collection<LanguageStringType> values)
public SWESEventType withService(SWESEventType.Service value)
public SWESEventType withMessage(List<LanguageStringType> value)
public SWESEventType withDescription(String value)
withDescription in class AbstractSWESTypepublic SWESEventType withIdentifier(String value)
withIdentifier in class AbstractSWESTypepublic SWESEventType withName(CodeType... values)
withName in class AbstractSWESTypepublic SWESEventType withName(Collection<CodeType> values)
withName in class AbstractSWESTypepublic SWESEventType withExtension(Object... values)
withExtension in class AbstractSWESTypepublic SWESEventType withExtension(Collection<Object> values)
withExtension in class AbstractSWESTypepublic SWESEventType withId(String value)
withId in class AbstractSWESTypepublic SWESEventType withName(List<CodeType> value)
withName in class AbstractSWESTypepublic SWESEventType withExtension(List<Object> value)
withExtension in class AbstractSWESTypeCopyright © 2008–2023. All rights reserved.