com.hashmapinc.tempus.WitsmlObjects.v20.AbstractWellLocation Maven / Gradle / Ivy
Show all versions of WitsmlObjects Show documentation
package com.hashmapinc.tempus.WitsmlObjects.v20;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
/**
* Location Schema. This is a location that is expressed in terms of 2D coordinates. So that the location can be understood, the coordinate reference system (CRS) must be known. The survey location is given by a pair of tagged values. The pairs may be: (1) latitude/longitude, (2) easting/northing, (3) westing/southing, (4) projectedX/projectedY, or (5) localX/localY. The appropriate pair must be chosen for the data.
*
* Java class for AbstractWellLocation complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "AbstractWellLocation", namespace = "http://www.energistics.org/energyml/data/witsmlv2", propOrder = {
"original",
"description",
"extensionNameValue"
})
@XmlSeeAlso({
ProjectedWellLocation.class,
GeodeticWellLocation.class
})
public abstract class AbstractWellLocation {
@XmlElement(name = "Original")
protected Boolean original;
@XmlElement(name = "Description")
protected String description;
@XmlElement(name = "ExtensionNameValue")
protected List extensionNameValue;
@XmlAttribute(name = "uid", required = true)
protected String uid;
/**
* Gets the value of the original property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isOriginal() {
return original;
}
/**
* Sets the value of the original property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setOriginal(Boolean value) {
this.original = value;
}
/**
* Gets the value of the description property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDescription() {
return description;
}
/**
* Sets the value of the description property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDescription(String value) {
this.description = value;
}
/**
* Gets the value of the extensionNameValue property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the extensionNameValue property.
*
*
* For example, to add a new item, do as follows:
*
* getExtensionNameValue().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ExtensionNameValue }
*
*
*/
public List getExtensionNameValue() {
if (extensionNameValue == null) {
extensionNameValue = new ArrayList();
}
return this.extensionNameValue;
}
/**
* Gets the value of the uid property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getUid() {
return uid;
}
/**
* Sets the value of the uid property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setUid(String value) {
this.uid = value;
}
//=========================================================================
// conversion methods for 1.3.1.1/1.4.1.1/2.0 interop
//=========================================================================
public com.hashmapinc.tempus.WitsmlObjects.v1311.CsLocation to1311CsLocation() {
com.hashmapinc.tempus.WitsmlObjects.v1311.CsLocation location = new com.hashmapinc.tempus.WitsmlObjects.v1311.CsLocation();
// assign fields
location.setOriginal(this.isOriginal());
location.setDescription(this.getDescription());
location.setUid(this.getUid());
return location;
}
public com.hashmapinc.tempus.WitsmlObjects.v1411.CsLocation to1411CsLocation() {
com.hashmapinc.tempus.WitsmlObjects.v1411.CsLocation location = new com.hashmapinc.tempus.WitsmlObjects.v1411.CsLocation();
// assign fields
location.setOriginal(this.isOriginal());
location.setDescription(this.getDescription());
location.setUid(this.getUid());
return location;
}
//=========================================================================
}