Class Curve2Type
java.lang.Object
org.javastro.ivoa.entities.stc.v1.StcBaseType
org.javastro.ivoa.entities.stc.v1.Curve2Type
- All Implemented Interfaces:
org.jvnet.jaxb.lang.MergeFrom,org.jvnet.jaxb.lang.ToString
@Generated(value="com.sun.tools.xjc.Driver",
comments="JAXB RI v4.0.4",
date="2024-08-01T13:15:43+01:00")
public class Curve2Type
extends StcBaseType
implements org.jvnet.jaxb.lang.MergeFrom, org.jvnet.jaxb.lang.ToString
A curve in 2-D space, defined by its end points and a shape attribute (default: line or great circle)
Java class for curve2Type complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType name="curve2Type">
<complexContent>
<extension base="{http://www.ivoa.net/xml/STC/stc-v1.30.xsd}stcBaseType">
<sequence>
<element name="P1" type="{http://www.ivoa.net/xml/STC/stc-v1.30.xsd}double2Type"/>
<element name="P2" type="{http://www.ivoa.net/xml/STC/stc-v1.30.xsd}double2Type"/>
</sequence>
<attribute name="curve_shape" type="{http://www.w3.org/2001/XMLSchema}string" default="line" />
</extension>
</complexContent>
</complexType>
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDefault no-arg constructorCurve2Type(String id, Object idref, String ucd, String type, String href, String idType, String idrefType, Double2Type p1, Double2Type p2, String curveShape) Fully-initialising value constructor -
Method Summary
Modifier and TypeMethodDescriptionappend(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy) appendFields(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy) booleanGets the value of the curveShape property.getP1()Gets the value of the p1 property.getP2()Gets the value of the p2 property.inthashCode()voidvoidmergeFrom(org.jvnet.jaxb.locator.ObjectLocator leftLocator, org.jvnet.jaxb.locator.ObjectLocator rightLocator, Object left, Object right, org.jvnet.jaxb.lang.MergeStrategy strategy) voidsetCurveShape(String value) Sets the value of the curveShape property.voidsetP1(Double2Type value) Sets the value of the p1 property.voidsetP2(Double2Type value) Sets the value of the p2 property.toString()withCurveShape(String value) withIDREFType(String value) withIDType(String value) withP1(Double2Type value) withP2(Double2Type value) Methods inherited from class org.javastro.ivoa.entities.stc.v1.StcBaseType
getHref, getId, getIdref, getIDREFType, getIDType, getType, getUcd, setHref, setId, setIdref, setIDREFType, setIDType, setType, setUcd
-
Field Details
-
p1
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") protected Double2Type p1 -
p2
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") protected Double2Type p2 -
curveShape
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") protected String curveShape
-
-
Constructor Details
-
Curve2Type
public Curve2Type()Default no-arg constructor -
Curve2Type
public Curve2Type(String id, Object idref, String ucd, String type, String href, String idType, String idrefType, Double2Type p1, Double2Type p2, String curveShape) Fully-initialising value constructor
-
-
Method Details
-
getP1
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public Double2Type getP1()Gets the value of the p1 property.- Returns:
- possible object is
Double2Type
-
setP1
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public void setP1(Double2Type value) Sets the value of the p1 property.- Parameters:
value- allowed object isDouble2Type
-
getP2
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public Double2Type getP2()Gets the value of the p2 property.- Returns:
- possible object is
Double2Type
-
setP2
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public void setP2(Double2Type value) Sets the value of the p2 property.- Parameters:
value- allowed object isDouble2Type
-
getCurveShape
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public String getCurveShape()Gets the value of the curveShape property.- Returns:
- possible object is
String
-
setCurveShape
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public void setCurveShape(String value) Sets the value of the curveShape property.- Parameters:
value- allowed object isString
-
equals
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public boolean equals(Object object) - Overrides:
equalsin classStcBaseType
-
hashCode
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public int hashCode()- Overrides:
hashCodein classStcBaseType
-
toString
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public String toString()- Overrides:
toStringin classStcBaseType
-
append
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public StringBuilder append(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy) - Specified by:
appendin interfaceorg.jvnet.jaxb.lang.ToString- Overrides:
appendin classStcBaseType
-
appendFields
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public StringBuilder appendFields(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy) - Specified by:
appendFieldsin interfaceorg.jvnet.jaxb.lang.ToString- Overrides:
appendFieldsin classStcBaseType
-
withP1
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public Curve2Type withP1(Double2Type value) -
withP2
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public Curve2Type withP2(Double2Type value) -
withCurveShape
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public Curve2Type withCurveShape(String value) -
withId
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public Curve2Type withId(String value) - Overrides:
withIdin classStcBaseType
-
withIdref
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public Curve2Type withIdref(Object value) - Overrides:
withIdrefin classStcBaseType
-
withUcd
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public Curve2Type withUcd(String value) - Overrides:
withUcdin classStcBaseType
-
withType
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public Curve2Type withType(String value) - Overrides:
withTypein classStcBaseType
-
withHref
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public Curve2Type withHref(String value) - Overrides:
withHrefin classStcBaseType
-
withIDType
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public Curve2Type withIDType(String value) - Overrides:
withIDTypein classStcBaseType
-
withIDREFType
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public Curve2Type withIDREFType(String value) - Overrides:
withIDREFTypein classStcBaseType
-
mergeFrom
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public void mergeFrom(Object left, Object right) - Specified by:
mergeFromin interfaceorg.jvnet.jaxb.lang.MergeFrom- Overrides:
mergeFromin classStcBaseType
-
mergeFrom
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public void mergeFrom(org.jvnet.jaxb.locator.ObjectLocator leftLocator, org.jvnet.jaxb.locator.ObjectLocator rightLocator, Object left, Object right, org.jvnet.jaxb.lang.MergeStrategy strategy) - Specified by:
mergeFromin interfaceorg.jvnet.jaxb.lang.MergeFrom- Overrides:
mergeFromin classStcBaseType
-
createNewInstance
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public Object createNewInstance()- Specified by:
createNewInstancein interfaceorg.jvnet.jaxb.lang.MergeFrom
-