net.opengis.kml.v_2_3
Class Vec2Type

java.lang.Object
  extended by net.opengis.kml.v_2_3.Vec2Type
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 Vec2Type
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 vec2Type complex type.

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

 <complexType name="vec2Type">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <attribute name="x" type="{http://www.w3.org/2001/XMLSchema}double" default="1.0" />
       <attribute name="y" type="{http://www.w3.org/2001/XMLSchema}double" default="1.0" />
       <attribute name="xunits" type="{http://www.opengis.net/kml/2.2}unitsEnumType" default="fraction" />
       <attribute name="yunits" type="{http://www.opengis.net/kml/2.2}unitsEnumType" default="fraction" />
       <anyAttribute processContents='lax' namespace='##other'/>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  Double x
           
protected  UnitsEnumType xunits
           
protected  Double y
           
protected  UnitsEnumType yunits
           
 
Constructor Summary
Vec2Type()
           
 
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)
           
 Map<QName,String> getOtherAttributes()
          Gets a map that contains attributes that aren't bound to any typed property on this class.
 double getX()
          Gets the value of the x property.
 UnitsEnumType getXunits()
          Gets the value of the xunits property.
 double getY()
          Gets the value of the y property.
 UnitsEnumType getYunits()
          Gets the value of the yunits property.
 int hashCode()
           
 int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
           
 boolean isSetX()
           
 boolean isSetXunits()
           
 boolean isSetY()
           
 boolean isSetYunits()
           
 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 setX(double value)
          Sets the value of the x property.
 void setXunits(UnitsEnumType value)
          Sets the value of the xunits property.
 void setY(double value)
          Sets the value of the y property.
 void setYunits(UnitsEnumType value)
          Sets the value of the yunits property.
 String toString()
           
 void unsetX()
           
 void unsetY()
           
 Vec2Type withX(double value)
           
 Vec2Type withXunits(UnitsEnumType value)
           
 Vec2Type withY(double value)
           
 Vec2Type withYunits(UnitsEnumType value)
           
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

x

protected Double x

y

protected Double y

xunits

protected UnitsEnumType xunits

yunits

protected UnitsEnumType yunits
Constructor Detail

Vec2Type

public Vec2Type()
Method Detail

getX

public double getX()
Gets the value of the x property.

Returns:
possible object is Double

setX

public void setX(double value)
Sets the value of the x property.

Parameters:
value - allowed object is Double

isSetX

public boolean isSetX()

unsetX

public void unsetX()

getY

public double getY()
Gets the value of the y property.

Returns:
possible object is Double

setY

public void setY(double value)
Sets the value of the y property.

Parameters:
value - allowed object is Double

isSetY

public boolean isSetY()

unsetY

public void unsetY()

getXunits

public UnitsEnumType getXunits()
Gets the value of the xunits property.

Returns:
possible object is UnitsEnumType

setXunits

public void setXunits(UnitsEnumType value)
Sets the value of the xunits property.

Parameters:
value - allowed object is UnitsEnumType

isSetXunits

public boolean isSetXunits()

getYunits

public UnitsEnumType getYunits()
Gets the value of the yunits property.

Returns:
possible object is UnitsEnumType

setYunits

public void setYunits(UnitsEnumType value)
Sets the value of the yunits property.

Parameters:
value - allowed object is UnitsEnumType

isSetYunits

public boolean isSetYunits()

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

withX

public Vec2Type withX(double value)

withY

public Vec2Type withY(double value)

withXunits

public Vec2Type withXunits(UnitsEnumType value)

withYunits

public Vec2Type withYunits(UnitsEnumType value)


Copyright © 2008-2015. All Rights Reserved.