|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.opengis.kml.v_2_3.Vec2Type
public class Vec2Type
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 |
|---|
protected Double x
protected Double y
protected UnitsEnumType xunits
protected UnitsEnumType yunits
| Constructor Detail |
|---|
public Vec2Type()
| Method Detail |
|---|
public double getX()
Doublepublic void setX(double value)
value - allowed object is
Doublepublic boolean isSetX()
public void unsetX()
public double getY()
Doublepublic void setY(double value)
value - allowed object is
Doublepublic boolean isSetY()
public void unsetY()
public UnitsEnumType getXunits()
UnitsEnumTypepublic void setXunits(UnitsEnumType value)
value - allowed object is
UnitsEnumTypepublic boolean isSetXunits()
public UnitsEnumType getYunits()
UnitsEnumTypepublic void setYunits(UnitsEnumType value)
value - allowed object is
UnitsEnumTypepublic boolean isSetYunits()
public Map<QName,String> getOtherAttributes()
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.
public String toString()
toString in class Object
public 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.ToString2
public 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.ToString2
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)
equals in interface org.jvnet.jaxb2_commons.lang.Equals2public boolean equals(Object object)
equals in class Object
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode2public int hashCode()
hashCode in class Objectpublic Object clone()
clone in class Objectpublic Object copyTo(Object target)
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTo2
public 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.CopyTo2public Object createNewInstance()
createNewInstance in interface org.jvnet.jaxb2_commons.lang.CopyTo2createNewInstance in interface org.jvnet.jaxb2_commons.lang.MergeFrom2
public void mergeFrom(Object left,
Object right)
mergeFrom in interface org.jvnet.jaxb2_commons.lang.MergeFrom2
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)
mergeFrom in interface org.jvnet.jaxb2_commons.lang.MergeFrom2public Vec2Type withX(double value)
public Vec2Type withY(double value)
public Vec2Type withXunits(UnitsEnumType value)
public Vec2Type withYunits(UnitsEnumType value)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||