|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jscience.ml.om.SchemaElement
org.jscience.ml.om.Target
org.jscience.ml.om.extension.deepsky.DeepSkyTarget
org.jscience.ml.om.extension.deepsky.DeepSkyTargetGX
public class DeepSkyTargetGX
DeepSkyTargetGX extends the org.jscience.ml.om.extension.deepsky.DeepSkyTarget class.
Its specialised for Galaxies.
| Field Summary |
|---|
| Fields inherited from interface org.jscience.ml.om.ITarget |
|---|
XML_ELEMENT_ALIASNAME, XML_ELEMENT_CONSTELLATION, XML_ELEMENT_DATASOURCE, XML_ELEMENT_NAME, XML_ELEMENT_TARGET, XML_XSI_TYPE |
| Fields inherited from interface org.jscience.ml.om.ISchemaElement |
|---|
XML_ELEMENT_ATTRIBUTE_ID |
| Constructor Summary | |
|---|---|
DeepSkyTargetGX(org.w3c.dom.Node targetElement,
IObserver[] observers)
Constructs a new instance of a DeepSkyTargetGX from a given DOM target Element. |
|
DeepSkyTargetGX(java.lang.String name,
IObserver observer)
Constructs a new instance of a DeepSkyTargetGX. |
|
DeepSkyTargetGX(java.lang.String name,
java.lang.String datasource)
Constructs a new instance of a DeepSkyTargetGX. |
|
| Method Summary | |
|---|---|
org.w3c.dom.Element |
addToXmlElement(org.w3c.dom.Element element)
Adds this Target to a given parent XML DOM Element. |
java.lang.String |
getHubbleType()
Returns the hubble type of the galaxy. |
int |
getPositionAngle()
Returns the large axis position angle of the galaxy. |
java.lang.String |
getXSIType()
Returns the XML schema instance type of the implementation. |
void |
setHubbleType(java.lang.String newHubbleType)
Sets the hubble type of the galaxy. |
void |
setPositionAngle(int newPosAngle)
Sets the large axis position angle of the galaxy. |
| Methods inherited from class org.jscience.ml.om.extension.deepsky.DeepSkyTarget |
|---|
createXmlDeepSkyTargetElement, equals, getLargeDiameter, getSmallDiameter, getSurfaceBrightness, getVisibleMagnitude, setLargeDiameter, setSmallDiameter, setSurfaceBrightness, setVisibleMagnitude, toString |
| Methods inherited from class org.jscience.ml.om.Target |
|---|
addAliasName, addAliasNames, addAsLinkToXmlElement, createXmlTargetElement, getAliasNames, getConstellation, getDatasource, getDisplayName, getName, getObserver, getPosition, removeAliasName, setAliasNames, setConstellation, setDatasource, setName, setObserver, setPosition |
| Methods inherited from class org.jscience.ml.om.SchemaElement |
|---|
getID, setID |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.jscience.ml.om.ISchemaElement |
|---|
getID |
| Constructor Detail |
|---|
public DeepSkyTargetGX(org.w3c.dom.Node targetElement,
IObserver[] observers)
throws SchemaException
observers - Array of IObserver that might be linked from this observation,
can be NULL if datasource element is settargetElement - The origin XML DOM SchemaException - if given targetElement was null
public DeepSkyTargetGX(java.lang.String name,
java.lang.String datasource)
name - The name of the galaxydatasource - The datasource of the galaxy
public DeepSkyTargetGX(java.lang.String name,
IObserver observer)
name - The name of the galaxyobserver - The observer who is the originator of the galaxy| Method Detail |
|---|
public org.w3c.dom.Element addToXmlElement(org.w3c.dom.Element element)
addToXmlElement in interface ITargetaddToXmlElement in class DeepSkyTargetparent - The parent element for this Target
null if parent was null.Elementpublic java.lang.String getXSIType()
getXSIType in interface IExtendableSchemaElementgetXSIType in class DeepSkyTargetpublic int getPositionAngle()
-1 if the value was never setpublic java.lang.String getHubbleType()
null if the value was never setpublic void setPositionAngle(int newPosAngle)
newPosAngle - The new position angle of the galaxy.public void setHubbleType(java.lang.String newHubbleType)
newHubbleType - The new hubble type of the galaxy as String
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||