net.opengis.swecommon.v_2_0
Class AllowedTokensType

java.lang.Object
  extended by net.opengis.swecommon.v_2_0.AbstractSWEType
      extended by net.opengis.swecommon.v_2_0.AllowedTokensType
All Implemented Interfaces:
Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.MergeFrom, org.jvnet.jaxb2_commons.lang.ToString

public class AllowedTokensType
extends AbstractSWEType
implements Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.MergeFrom, org.jvnet.jaxb2_commons.lang.ToString

Java class for AllowedTokensType complex type.

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

 <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>
 


Field Summary
protected  String pattern
           
protected  List<String> value
           
 
Fields inherited from class net.opengis.swecommon.v_2_0.AbstractSWEType
extension, id
 
Constructor Summary
AllowedTokensType()
           
 
Method Summary
 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)
           
 Object clone()
           
 Object copyTo(Object target)
           
 Object copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, Object target, org.jvnet.jaxb2_commons.lang.CopyStrategy 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.EqualsStrategy strategy)
           
 String getPattern()
          Gets the value of the pattern property.
 List<String> getValue()
          Gets the value of the value property.
 int hashCode()
           
 int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
           
 boolean isSetPattern()
           
 boolean isSetValue()
           
 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.MergeStrategy strategy)
           
 void mergeFrom(Object left, Object right)
           
 void setPattern(String value)
          Sets the value of the pattern property.
 void setValue(List<String> value)
           
 String toString()
           
 void unsetValue()
           
 AllowedTokensType withExtension(Collection<Object> values)
           
 AllowedTokensType withExtension(List<Object> value)
           
 AllowedTokensType withExtension(Object... values)
           
 AllowedTokensType withId(String value)
           
 AllowedTokensType withPattern(String value)
           
 AllowedTokensType withValue(Collection<String> values)
           
 AllowedTokensType withValue(List<String> value)
           
 AllowedTokensType withValue(String... values)
           
 
Methods inherited from class net.opengis.swecommon.v_2_0.AbstractSWEType
getExtension, getId, isSetExtension, isSetId, setExtension, setId, unsetExtension
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

value

protected List<String> value

pattern

protected String pattern
Constructor Detail

AllowedTokensType

public AllowedTokensType()
Method Detail

getValue

public List<String> getValue()
Gets the value of the value 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 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


isSetValue

public boolean isSetValue()

unsetValue

public void unsetValue()

getPattern

public String getPattern()
Gets the value of the pattern property.

Returns:
possible object is String

setPattern

public void setPattern(String value)
Sets the value of the pattern property.

Parameters:
value - allowed object is String

isSetPattern

public boolean isSetPattern()

toString

public String toString()
Overrides:
toString in class AbstractSWEType

append

public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                            StringBuilder buffer,
                            org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
Specified by:
append in interface org.jvnet.jaxb2_commons.lang.ToString
Overrides:
append in class AbstractSWEType

appendFields

public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                                  StringBuilder buffer,
                                  org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
Specified by:
appendFields in interface org.jvnet.jaxb2_commons.lang.ToString
Overrides:
appendFields in class AbstractSWEType

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.EqualsStrategy strategy)
Specified by:
equals in interface org.jvnet.jaxb2_commons.lang.Equals
Overrides:
equals in class AbstractSWEType

equals

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

hashCode

public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                    org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
Specified by:
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode
Overrides:
hashCode in class AbstractSWEType

hashCode

public int hashCode()
Overrides:
hashCode in class AbstractSWEType

clone

public Object clone()
Overrides:
clone in class AbstractSWEType

copyTo

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

copyTo

public Object copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                     Object target,
                     org.jvnet.jaxb2_commons.lang.CopyStrategy strategy)
Specified by:
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTo
Overrides:
copyTo in class AbstractSWEType

createNewInstance

public Object createNewInstance()
Specified by:
createNewInstance in interface org.jvnet.jaxb2_commons.lang.CopyTo
Specified by:
createNewInstance in interface org.jvnet.jaxb2_commons.lang.MergeFrom
Overrides:
createNewInstance in class AbstractSWEType

mergeFrom

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

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.MergeStrategy strategy)
Specified by:
mergeFrom in interface org.jvnet.jaxb2_commons.lang.MergeFrom
Overrides:
mergeFrom in class AbstractSWEType

setValue

public void setValue(List<String> value)

withValue

public AllowedTokensType withValue(String... values)

withValue

public AllowedTokensType withValue(Collection<String> values)

withPattern

public AllowedTokensType withPattern(String value)

withValue

public AllowedTokensType withValue(List<String> value)

withExtension

public AllowedTokensType withExtension(Object... values)
Overrides:
withExtension in class AbstractSWEType

withExtension

public AllowedTokensType withExtension(Collection<Object> values)
Overrides:
withExtension in class AbstractSWEType

withId

public AllowedTokensType withId(String value)
Overrides:
withId in class AbstractSWEType

withExtension

public AllowedTokensType withExtension(List<Object> value)
Overrides:
withExtension in class AbstractSWEType


Copyright © 2008-2015. All Rights Reserved.