public class AllowedTokensType extends AbstractSWEType implements Serializable, org.jvnet.jaxb2_commons.lang.ToString
Clase Java para AllowedTokensType complex type.
El siguiente fragmento de esquema especifica el contenido que se espera que haya en esta clase.
<complexType name="AllowedTokensType">
<complexContent>
<extension base="{http://www.opengis.net/swe/2.0}AbstractSWEType">
<sequence>
<element name="value" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
<element name="pattern" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
pattern |
protected List<String> |
value |
extension, id| Constructor and Description |
|---|
AllowedTokensType() |
| Modifier and Type | Method and Description |
|---|---|
StringBuilder |
append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
StringBuilder |
appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
String |
getPattern()
Obtiene el valor de la propiedad pattern.
|
List<String> |
getValue()
Gets the value of the value property.
|
boolean |
isSetPattern() |
boolean |
isSetValue() |
void |
setPattern(String value)
Define el valor de la propiedad pattern.
|
String |
toString() |
void |
unsetValue() |
AllowedTokensType |
withExtension(Collection<Object> values) |
AllowedTokensType |
withExtension(Object... values) |
AllowedTokensType |
withId(String value) |
AllowedTokensType |
withPattern(String value) |
AllowedTokensType |
withValue(Collection<String> values) |
AllowedTokensType |
withValue(String... values) |
getExtension, getId, isSetExtension, isSetId, setId, unsetExtensionpublic List<String> getValue()
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 value property.
For example, to add a new item, do as follows:
getValue().add(newItem);
Objects of the following type(s) are allowed in the list
String
public boolean isSetValue()
public void unsetValue()
public String getPattern()
Stringpublic void setPattern(String value)
value - allowed object is
Stringpublic boolean isSetPattern()
public String toString()
toString in class AbstractSWETypepublic StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
append in interface org.jvnet.jaxb2_commons.lang.ToStringappend in class AbstractSWETypepublic StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
appendFields in interface org.jvnet.jaxb2_commons.lang.ToStringappendFields in class AbstractSWETypepublic AllowedTokensType withValue(String... values)
public AllowedTokensType withValue(Collection<String> values)
public AllowedTokensType withPattern(String value)
public AllowedTokensType withExtension(Object... values)
withExtension in class AbstractSWETypepublic AllowedTokensType withExtension(Collection<Object> values)
withExtension in class AbstractSWETypepublic AllowedTokensType withId(String value)
withId in class AbstractSWETypeCopyright © 2014. All Rights Reserved.