com.hashmapinc.tempus.WitsmlObjects.v1411.ObjWells Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of WitsmlObjects Show documentation
Show all versions of WitsmlObjects Show documentation
This library assists in serializing and deserializing WITSML 1.3.1.1 and 1.4.1.1 Objects
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2017.06.26 at 03:00:38 PM CDT
//
package com.hashmapinc.tempus.WitsmlObjects.v1411;
import com.fasterxml.jackson.annotation.JsonInclude;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.*;
/**
* Java class for obj_wells complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
{@code
*
*
*
*
*
*
*
*
*
*
*
* }
*
*
*/
@XmlRootElement(name = "wells")
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "obj_wells", propOrder = {
"documentInfo",
"well"
})
@JsonInclude(JsonInclude.Include.NON_NULL)
public class ObjWells {
protected CsDocumentInfo documentInfo;
@XmlElement(required = true)
protected List well;
@XmlAttribute(name = "version", required = true)
protected String version = "1.4.1.1";
/**
* adds a well object to the well list. If list is null, it is instantiated
*
* @param wellObj - well to add
*/
public void addWell(ObjWell wellObj) {
if (well == null) {
well = new ArrayList();
}
well.add(wellObj);
}
/**
* Gets the value of the documentInfo property.
*
* @return
* possible object is
* {@link CsDocumentInfo }
*
*/
public CsDocumentInfo getDocumentInfo() {
return documentInfo;
}
/**
* Sets the value of the documentInfo property.
*
* @param value
* allowed object is
* {@link CsDocumentInfo }
*
*/
public void setDocumentInfo(CsDocumentInfo value) {
this.documentInfo = value;
}
/**
* Gets the value of the well 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 well property.
*
*
* For example, to add a new item, do as follows:
* {@code
* getWell().add(newItem);
* }
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ObjWell }
*
*
*/
public List getWell() {
if (well == null) {
well = new ArrayList();
}
return this.well;
}
/**
* Gets the value of the version property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getVersion() {
return version;
}
/**
* Sets the value of the version property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setVersion(String value) {
this.version = value;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy