public class Point extends Object
Java class for point complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="point"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="x" use="required"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}decimal"> </restriction> </simpleType> </attribute> <attribute name="y" use="required"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}decimal"> </restriction> </simpleType> </attribute> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected BigDecimal |
x |
protected BigDecimal |
y |
Constructor and Description |
---|
Point() |
Modifier and Type | Method and Description |
---|---|
BigDecimal |
getX()
Gets the value of the x property.
|
BigDecimal |
getY()
Gets the value of the y property.
|
void |
setX(BigDecimal value)
Sets the value of the x property.
|
void |
setY(BigDecimal value)
Sets the value of the y property.
|
protected BigDecimal x
protected BigDecimal y
public BigDecimal getX()
BigDecimal
public void setX(BigDecimal value)
value
- allowed object is
BigDecimal
public BigDecimal getY()
BigDecimal
public void setY(BigDecimal value)
value
- allowed object is
BigDecimal
Copyright © 2018. All rights reserved.