Fixed javadocs in xml creation classes.

main
fjc40 8 years ago
parent 321359be07
commit ec82e65ae7

@ -63,10 +63,10 @@ public class XMLUtilities {
* @param c The XML class to convert to. * @param c The XML class to convert to.
* @param <T> The XML class to convert to. * @param <T> The XML class to convert to.
* @return The XML class object. * @return The XML class object.
* @throws ParserConfigurationException * @throws ParserConfigurationException Thrown if input cannot be converted to class.
* @throws IOException * @throws IOException Thrown if input cannot be converted to class.
* @throws SAXException * @throws SAXException Thrown if input cannot be converted to class.
* @throws JAXBException * @throws JAXBException Thrown if input cannot be converted to class.
*/ */
public static <T> T xmlToClass(InputStream i, URL schemaURL, Class<T> c) throws ParserConfigurationException, IOException, SAXException, JAXBException { public static <T> T xmlToClass(InputStream i, URL schemaURL, Class<T> c) throws ParserConfigurationException, IOException, SAXException, JAXBException {
DocumentBuilder parser = DocumentBuilderFactory.newInstance().newDocumentBuilder(); DocumentBuilder parser = DocumentBuilderFactory.newInstance().newDocumentBuilder();

@ -184,7 +184,7 @@ public class BoatConfig {
* Objects of the following type(s) are allowed in the list * Objects of the following type(s) are allowed in the list
* {@link BoatConfig.Boats.Boat } * {@link BoatConfig.Boats.Boat }
* *
* * @return List of Boat entries.
*/ */
public List<BoatConfig.Boats.Boat> getBoat() { public List<BoatConfig.Boats.Boat> getBoat() {
if (boat == null) { if (boat == null) {
@ -327,7 +327,7 @@ public class BoatConfig {
/** /**
* Gets the value of the sourceID property. * Gets the value of the sourceID property.
* * @return source id.
*/ */
public int getSourceID() { public int getSourceID() {
return sourceID; return sourceID;
@ -335,7 +335,7 @@ public class BoatConfig {
/** /**
* Sets the value of the sourceID property. * Sets the value of the sourceID property.
* * @param value new source id.
*/ */
public void setSourceID(int value) { public void setSourceID(int value) {
this.sourceID = value; this.sourceID = value;
@ -494,7 +494,7 @@ public class BoatConfig {
/** /**
* Gets the value of the y property. * Gets the value of the y property.
* * @return Y value.
*/ */
public double getY() { public double getY() {
return y; return y;
@ -502,7 +502,7 @@ public class BoatConfig {
/** /**
* Sets the value of the y property. * Sets the value of the y property.
* * @param value new y value.
*/ */
public void setY(double value) { public void setY(double value) {
this.y = value; this.y = value;
@ -510,7 +510,7 @@ public class BoatConfig {
/** /**
* Gets the value of the z property. * Gets the value of the z property.
* * @return z value.
*/ */
public double getZ() { public double getZ() {
return z; return z;
@ -518,7 +518,7 @@ public class BoatConfig {
/** /**
* Sets the value of the z property. * Sets the value of the z property.
* * @param value new z value.
*/ */
public void setZ(double value) { public void setZ(double value) {
this.z = value; this.z = value;

@ -38,7 +38,7 @@ public class ObjectFactory {
/** /**
* Create an instance of {@link BoatConfig } * Create an instance of {@link BoatConfig }
* * @return BoatConfig.
*/ */
public BoatConfig createBoatConfig() { public BoatConfig createBoatConfig() {
return new BoatConfig(); return new BoatConfig();
@ -46,7 +46,7 @@ public class ObjectFactory {
/** /**
* Create an instance of {@link BoatConfig.Boats } * Create an instance of {@link BoatConfig.Boats }
* * @return Boats.
*/ */
public BoatConfig.Boats createBoatConfigBoats() { public BoatConfig.Boats createBoatConfigBoats() {
return new BoatConfig.Boats(); return new BoatConfig.Boats();
@ -54,7 +54,7 @@ public class ObjectFactory {
/** /**
* Create an instance of {@link BoatConfig.Boats.Boat } * Create an instance of {@link BoatConfig.Boats.Boat }
* * @return Boat.
*/ */
public BoatConfig.Boats.Boat createBoatConfigBoatsBoat() { public BoatConfig.Boats.Boat createBoatConfigBoatsBoat() {
return new BoatConfig.Boats.Boat(); return new BoatConfig.Boats.Boat();
@ -62,7 +62,7 @@ public class ObjectFactory {
/** /**
* Create an instance of {@link BoatConfig.Boats.Boat.GPSposition } * Create an instance of {@link BoatConfig.Boats.Boat.GPSposition }
* * @return GPSposition.
*/ */
public BoatConfig.Boats.Boat.GPSposition createBoatConfigBoatsBoatGPSposition() { public BoatConfig.Boats.Boat.GPSposition createBoatConfigBoatsBoatGPSposition() {
return new BoatConfig.Boats.Boat.GPSposition(); return new BoatConfig.Boats.Boat.GPSposition();

@ -74,7 +74,7 @@ public class RegattaConfig {
/** /**
* Gets the value of the regattaID property. * Gets the value of the regattaID property.
* * @return regatta id.
*/ */
public int getRegattaID() { public int getRegattaID() {
return regattaID; return regattaID;
@ -82,7 +82,7 @@ public class RegattaConfig {
/** /**
* Sets the value of the regattaID property. * Sets the value of the regattaID property.
* * @param value new regatta id.
*/ */
public void setRegattaID(int value) { public void setRegattaID(int value) {
this.regattaID = value; this.regattaID = value;
@ -138,7 +138,7 @@ public class RegattaConfig {
/** /**
* Gets the value of the centralLatitude property. * Gets the value of the centralLatitude property.
* * @return central latitude.
*/ */
public double getCentralLatitude() { public double getCentralLatitude() {
return centralLatitude; return centralLatitude;
@ -146,7 +146,7 @@ public class RegattaConfig {
/** /**
* Sets the value of the centralLatitude property. * Sets the value of the centralLatitude property.
* * @param value new central latitude.
*/ */
public void setCentralLatitude(double value) { public void setCentralLatitude(double value) {
this.centralLatitude = value; this.centralLatitude = value;
@ -154,7 +154,7 @@ public class RegattaConfig {
/** /**
* Gets the value of the centralLongitude property. * Gets the value of the centralLongitude property.
* * @return central longitude.
*/ */
public double getCentralLongitude() { public double getCentralLongitude() {
return centralLongitude; return centralLongitude;
@ -162,7 +162,7 @@ public class RegattaConfig {
/** /**
* Sets the value of the centralLongitude property. * Sets the value of the centralLongitude property.
* * @param value new central longitude.
*/ */
public void setCentralLongitude(double value) { public void setCentralLongitude(double value) {
this.centralLongitude = value; this.centralLongitude = value;
@ -170,7 +170,7 @@ public class RegattaConfig {
/** /**
* Gets the value of the centralAltitude property. * Gets the value of the centralAltitude property.
* * @return central altitude.
*/ */
public double getCentralAltitude() { public double getCentralAltitude() {
return centralAltitude; return centralAltitude;
@ -178,7 +178,7 @@ public class RegattaConfig {
/** /**
* Sets the value of the centralAltitude property. * Sets the value of the centralAltitude property.
* * @param value new central altitude.
*/ */
public void setCentralAltitude(double value) { public void setCentralAltitude(double value) {
this.centralAltitude = value; this.centralAltitude = value;
@ -186,7 +186,7 @@ public class RegattaConfig {
/** /**
* Gets the value of the utcOffset property. * Gets the value of the utcOffset property.
* * @return utc offset.
*/ */
public double getUtcOffset() { public double getUtcOffset() {
return utcOffset; return utcOffset;
@ -194,7 +194,7 @@ public class RegattaConfig {
/** /**
* Sets the value of the utcOffset property. * Sets the value of the utcOffset property.
* * @param value new utc offset.
*/ */
public void setUtcOffset(double value) { public void setUtcOffset(double value) {
this.utcOffset = value; this.utcOffset = value;
@ -202,7 +202,7 @@ public class RegattaConfig {
/** /**
* Gets the value of the magneticVariation property. * Gets the value of the magneticVariation property.
* * @return magnetic variation.
*/ */
public double getMagneticVariation() { public double getMagneticVariation() {
return magneticVariation; return magneticVariation;
@ -210,7 +210,7 @@ public class RegattaConfig {
/** /**
* Sets the value of the magneticVariation property. * Sets the value of the magneticVariation property.
* * @param value new magnetic variation.
*/ */
public void setMagneticVariation(double value) { public void setMagneticVariation(double value) {
this.magneticVariation = value; this.magneticVariation = value;

Loading…
Cancel
Save