net.opengis.kml.v_2_3
Class SchemaType

java.lang.Object
  extended by net.opengis.kml.v_2_3.SchemaType
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

public class SchemaType
extends Object
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 SchemaType complex type.

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

 <complexType name="SchemaType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <all>
         <element ref="{http://www.opengis.net/kml/2.2}SimpleField" maxOccurs="unbounded" minOccurs="0"/>
         <element ref="{http://www.opengis.net/kml/2.2}SimpleArrayField" maxOccurs="unbounded" minOccurs="0"/>
         <element ref="{http://www.opengis.net/kml/2.2}SchemaExtension" maxOccurs="unbounded" minOccurs="0"/>
       </all>
       <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
       <anyAttribute processContents='lax' namespace='##other'/>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  String id
           
protected  String name
           
protected  List<Object> schemaExtension
           
protected  List<SimpleArrayFieldType> simpleArrayField
           
protected  List<SimpleFieldType> simpleField
           
 
Constructor Summary
SchemaType()
           
 
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 getId()
          Gets the value of the id property.
 String getName()
          Gets the value of the name property.
 Map<QName,String> getOtherAttributes()
          Gets a map that contains attributes that aren't bound to any typed property on this class.
 List<Object> getSchemaExtension()
          Gets the value of the schemaExtension property.
 List<SimpleArrayFieldType> getSimpleArrayField()
          Gets the value of the simpleArrayField property.
 List<SimpleFieldType> getSimpleField()
          Gets the value of the simpleField property.
 int hashCode()
           
 int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
           
 boolean isSetId()
           
 boolean isSetName()
           
 boolean isSetSchemaExtension()
           
 boolean isSetSimpleArrayField()
           
 boolean isSetSimpleField()
           
 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 setId(String value)
          Sets the value of the id property.
 void setName(String value)
          Sets the value of the name property.
 void setSchemaExtension(List<Object> value)
           
 void setSimpleArrayField(List<SimpleArrayFieldType> value)
           
 void setSimpleField(List<SimpleFieldType> value)
           
 String toString()
           
 void unsetSchemaExtension()
           
 void unsetSimpleArrayField()
           
 void unsetSimpleField()
           
 SchemaType withId(String value)
           
 SchemaType withName(String value)
           
 SchemaType withSchemaExtension(Collection<Object> values)
           
 SchemaType withSchemaExtension(List<Object> value)
           
 SchemaType withSchemaExtension(Object... values)
           
 SchemaType withSimpleArrayField(Collection<SimpleArrayFieldType> values)
           
 SchemaType withSimpleArrayField(List<SimpleArrayFieldType> value)
           
 SchemaType withSimpleArrayField(SimpleArrayFieldType... values)
           
 SchemaType withSimpleField(Collection<SimpleFieldType> values)
           
 SchemaType withSimpleField(List<SimpleFieldType> value)
           
 SchemaType withSimpleField(SimpleFieldType... values)
           
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

simpleField

protected List<SimpleFieldType> simpleField

simpleArrayField

protected List<SimpleArrayFieldType> simpleArrayField

schemaExtension

protected List<Object> schemaExtension

name

protected String name

id

protected String id
Constructor Detail

SchemaType

public SchemaType()
Method Detail

getSimpleField

public List<SimpleFieldType> getSimpleField()
Gets the value of the simpleField 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 simpleField property.

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

    getSimpleField().add(newItem);
 

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


isSetSimpleField

public boolean isSetSimpleField()

unsetSimpleField

public void unsetSimpleField()

getSimpleArrayField

public List<SimpleArrayFieldType> getSimpleArrayField()
Gets the value of the simpleArrayField 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 simpleArrayField property.

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

    getSimpleArrayField().add(newItem);
 

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


isSetSimpleArrayField

public boolean isSetSimpleArrayField()

unsetSimpleArrayField

public void unsetSimpleArrayField()

getSchemaExtension

public List<Object> getSchemaExtension()
Gets the value of the schemaExtension 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 schemaExtension property.

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

    getSchemaExtension().add(newItem);
 

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


isSetSchemaExtension

public boolean isSetSchemaExtension()

unsetSchemaExtension

public void unsetSchemaExtension()

getName

public String getName()
Gets the value of the name property.

Returns:
possible object is String

setName

public void setName(String value)
Sets the value of the name property.

Parameters:
value - allowed object is String

isSetName

public boolean isSetName()

getId

public String getId()
Gets the value of the id property.

Returns:
possible object is String

setId

public void setId(String value)
Sets the value of the id property.

Parameters:
value - allowed object is String

isSetId

public boolean isSetId()

getOtherAttributes

public Map<QName,String> getOtherAttributes()
Gets a map that contains attributes that aren't bound to any typed property on this class.

the map is keyed by the name of the attribute and the value is the string value of the attribute. the map returned by this method is live, and you can add new attribute by updating the map directly. Because of this design, there's no setter.

Returns:
always non-null

toString

public String toString()
Overrides:
toString in class Object

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

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

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

equals

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

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

clone

public Object clone()
Overrides:
clone in class Object

copyTo

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

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

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

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

setSimpleField

public void setSimpleField(List<SimpleFieldType> value)

setSimpleArrayField

public void setSimpleArrayField(List<SimpleArrayFieldType> value)

setSchemaExtension

public void setSchemaExtension(List<Object> value)

withSimpleField

public SchemaType withSimpleField(SimpleFieldType... values)

withSimpleField

public SchemaType withSimpleField(Collection<SimpleFieldType> values)

withSimpleArrayField

public SchemaType withSimpleArrayField(SimpleArrayFieldType... values)

withSimpleArrayField

public SchemaType withSimpleArrayField(Collection<SimpleArrayFieldType> values)

withSchemaExtension

public SchemaType withSchemaExtension(Object... values)

withSchemaExtension

public SchemaType withSchemaExtension(Collection<Object> values)

withName

public SchemaType withName(String value)

withId

public SchemaType withId(String value)

withSimpleField

public SchemaType withSimpleField(List<SimpleFieldType> value)

withSimpleArrayField

public SchemaType withSimpleArrayField(List<SimpleArrayFieldType> value)

withSchemaExtension

public SchemaType withSchemaExtension(List<Object> value)


Copyright © 2008-2015. All Rights Reserved.