All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.hashmapinc.tempus.WitsmlObjects.v1311.CsProjectionx Maven / Gradle / Ivy

Go to download

This library assists in serializing and deserializing WITSML 1.3.1.1 and 1.4.1.1 Objects

There is a newer version: 1.1.48.1
Show newest version
package com.hashmapinc.tempus.WitsmlObjects.v1311;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;

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.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;


/**
 * WITSML Element Types
 * 
 * 

Java class for cs_projectionx complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 {@code
 * 
 *   
 *     
 *       
 *         
 *         
 *         
 *         
 *         
 *         
 *         
 *         
 *         
 *         
 *         
 *         
 *         
 *         
 *         
 *         
 *         
 *         
 *         
 *         
 *         
 *         
 *         
 *         
 *         
 *         
 *         
 *       
 *     
 *   
 * 
 * } 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "cs_projectionx", propOrder = { "nameCRS", "projectionCode", "projectedFrom", "stdParallel1", "stdParallel2", "centralMeridian", "originLatitude", "originLongitude", "latitude1", "longitude1", "latitude2", "longitude2", "latitudeForScale", "longitudeForScale", "trueScaleLatitude", "spheroidRadius", "scaleFactor", "methodVariant", "perspectiveHeight", "zone", "nadType", "falseEasting", "falseNorthing", "bearing", "hemisphere", "description", "parameter" }) @JsonInclude(JsonInclude.Include.NON_NULL) public class CsProjectionx { protected WellKnownNameStruct nameCRS; @XmlSchemaType(name = "string") protected Projection projectionCode; protected RefNameString projectedFrom; protected PlaneAngleMeasure stdParallel1; protected PlaneAngleMeasure stdParallel2; protected PlaneAngleMeasure centralMeridian; protected PlaneAngleMeasure originLatitude; protected PlaneAngleMeasure originLongitude; protected PlaneAngleMeasure latitude1; protected PlaneAngleMeasure longitude1; protected PlaneAngleMeasure latitude2; protected PlaneAngleMeasure longitude2; protected PlaneAngleMeasure latitudeForScale; protected PlaneAngleMeasure longitudeForScale; protected PlaneAngleMeasure trueScaleLatitude; protected LengthMeasure spheroidRadius; protected Double scaleFactor; @XmlSchemaType(name = "string") protected ProjectionVariantsObliqueMercator methodVariant; protected LengthMeasure perspectiveHeight; protected String zone; @XmlElement(name = "NADType") @XmlSchemaType(name = "string") protected NADTypes nadType; protected LengthMeasure falseEasting; protected LengthMeasure falseNorthing; protected PlaneAngleMeasure bearing; @XmlSchemaType(name = "string") protected Hemispheres hemisphere; protected String description; protected List parameter; /** * Gets the value of the nameCRS property. * * @return * possible object is * {@link WellKnownNameStruct } * */ public WellKnownNameStruct getNameCRS() { return nameCRS; } /** * Sets the value of the nameCRS property. * * @param value * allowed object is * {@link WellKnownNameStruct } * */ public void setNameCRS(WellKnownNameStruct value) { this.nameCRS = value; } /** * Gets the value of the projectionCode property. * * @return * possible object is * {@link Projection } * */ public Projection getProjectionCode() { return projectionCode; } /** * Sets the value of the projectionCode property. * * @param value * allowed object is * {@link Projection } * */ public void setProjectionCode(Projection value) { this.projectionCode = value; } /** * Gets the value of the projectedFrom property. * * @return * possible object is * {@link RefNameString } * */ public RefNameString getProjectedFrom() { return projectedFrom; } /** * Sets the value of the projectedFrom property. * * @param value * allowed object is * {@link RefNameString } * */ public void setProjectedFrom(RefNameString value) { this.projectedFrom = value; } /** * Gets the value of the stdParallel1 property. * * @return * possible object is * {@link PlaneAngleMeasure } * */ public PlaneAngleMeasure getStdParallel1() { return stdParallel1; } /** * Sets the value of the stdParallel1 property. * * @param value * allowed object is * {@link PlaneAngleMeasure } * */ public void setStdParallel1(PlaneAngleMeasure value) { this.stdParallel1 = value; } /** * Gets the value of the stdParallel2 property. * * @return * possible object is * {@link PlaneAngleMeasure } * */ public PlaneAngleMeasure getStdParallel2() { return stdParallel2; } /** * Sets the value of the stdParallel2 property. * * @param value * allowed object is * {@link PlaneAngleMeasure } * */ public void setStdParallel2(PlaneAngleMeasure value) { this.stdParallel2 = value; } /** * Gets the value of the centralMeridian property. * * @return * possible object is * {@link PlaneAngleMeasure } * */ public PlaneAngleMeasure getCentralMeridian() { return centralMeridian; } /** * Sets the value of the centralMeridian property. * * @param value * allowed object is * {@link PlaneAngleMeasure } * */ public void setCentralMeridian(PlaneAngleMeasure value) { this.centralMeridian = value; } /** * Gets the value of the originLatitude property. * * @return * possible object is * {@link PlaneAngleMeasure } * */ public PlaneAngleMeasure getOriginLatitude() { return originLatitude; } /** * Sets the value of the originLatitude property. * * @param value * allowed object is * {@link PlaneAngleMeasure } * */ public void setOriginLatitude(PlaneAngleMeasure value) { this.originLatitude = value; } /** * Gets the value of the originLongitude property. * * @return * possible object is * {@link PlaneAngleMeasure } * */ public PlaneAngleMeasure getOriginLongitude() { return originLongitude; } /** * Sets the value of the originLongitude property. * * @param value * allowed object is * {@link PlaneAngleMeasure } * */ public void setOriginLongitude(PlaneAngleMeasure value) { this.originLongitude = value; } /** * Gets the value of the latitude1 property. * * @return * possible object is * {@link PlaneAngleMeasure } * */ public PlaneAngleMeasure getLatitude1() { return latitude1; } /** * Sets the value of the latitude1 property. * * @param value * allowed object is * {@link PlaneAngleMeasure } * */ public void setLatitude1(PlaneAngleMeasure value) { this.latitude1 = value; } /** * Gets the value of the longitude1 property. * * @return * possible object is * {@link PlaneAngleMeasure } * */ public PlaneAngleMeasure getLongitude1() { return longitude1; } /** * Sets the value of the longitude1 property. * * @param value * allowed object is * {@link PlaneAngleMeasure } * */ public void setLongitude1(PlaneAngleMeasure value) { this.longitude1 = value; } /** * Gets the value of the latitude2 property. * * @return * possible object is * {@link PlaneAngleMeasure } * */ public PlaneAngleMeasure getLatitude2() { return latitude2; } /** * Sets the value of the latitude2 property. * * @param value * allowed object is * {@link PlaneAngleMeasure } * */ public void setLatitude2(PlaneAngleMeasure value) { this.latitude2 = value; } /** * Gets the value of the longitude2 property. * * @return * possible object is * {@link PlaneAngleMeasure } * */ public PlaneAngleMeasure getLongitude2() { return longitude2; } /** * Sets the value of the longitude2 property. * * @param value * allowed object is * {@link PlaneAngleMeasure } * */ public void setLongitude2(PlaneAngleMeasure value) { this.longitude2 = value; } /** * Gets the value of the latitudeForScale property. * * @return * possible object is * {@link PlaneAngleMeasure } * */ public PlaneAngleMeasure getLatitudeForScale() { return latitudeForScale; } /** * Sets the value of the latitudeForScale property. * * @param value * allowed object is * {@link PlaneAngleMeasure } * */ public void setLatitudeForScale(PlaneAngleMeasure value) { this.latitudeForScale = value; } /** * Gets the value of the longitudeForScale property. * * @return * possible object is * {@link PlaneAngleMeasure } * */ public PlaneAngleMeasure getLongitudeForScale() { return longitudeForScale; } /** * Sets the value of the longitudeForScale property. * * @param value * allowed object is * {@link PlaneAngleMeasure } * */ public void setLongitudeForScale(PlaneAngleMeasure value) { this.longitudeForScale = value; } /** * Gets the value of the trueScaleLatitude property. * * @return * possible object is * {@link PlaneAngleMeasure } * */ public PlaneAngleMeasure getTrueScaleLatitude() { return trueScaleLatitude; } /** * Sets the value of the trueScaleLatitude property. * * @param value * allowed object is * {@link PlaneAngleMeasure } * */ public void setTrueScaleLatitude(PlaneAngleMeasure value) { this.trueScaleLatitude = value; } /** * Gets the value of the spheroidRadius property. * * @return * possible object is * {@link LengthMeasure } * */ public LengthMeasure getSpheroidRadius() { return spheroidRadius; } /** * Sets the value of the spheroidRadius property. * * @param value * allowed object is * {@link LengthMeasure } * */ public void setSpheroidRadius(LengthMeasure value) { this.spheroidRadius = value; } /** * Gets the value of the scaleFactor property. * * @return * possible object is * {@link Double } * */ public Double getScaleFactor() { return scaleFactor; } /** * Sets the value of the scaleFactor property. * * @param value * allowed object is * {@link Double } * */ public void setScaleFactor(Double value) { this.scaleFactor = value; } /** * Gets the value of the methodVariant property. * * @return * possible object is * {@link ProjectionVariantsObliqueMercator } * */ public ProjectionVariantsObliqueMercator getMethodVariant() { return methodVariant; } /** * Sets the value of the methodVariant property. * * @param value * allowed object is * {@link ProjectionVariantsObliqueMercator } * */ public void setMethodVariant(ProjectionVariantsObliqueMercator value) { this.methodVariant = value; } /** * Gets the value of the perspectiveHeight property. * * @return * possible object is * {@link LengthMeasure } * */ public LengthMeasure getPerspectiveHeight() { return perspectiveHeight; } /** * Sets the value of the perspectiveHeight property. * * @param value * allowed object is * {@link LengthMeasure } * */ public void setPerspectiveHeight(LengthMeasure value) { this.perspectiveHeight = value; } /** * Gets the value of the zone property. * * @return * possible object is * {@link String } * */ public String getZone() { return zone; } /** * Sets the value of the zone property. * * @param value * allowed object is * {@link String } * */ public void setZone(String value) { this.zone = value; } /** * Gets the value of the nadType property. * * @return * possible object is * {@link NADTypes } * */ @JsonProperty("nADType") public NADTypes getNADType() { return nadType; } /** * Sets the value of the nadType property. * * @param value * allowed object is * {@link NADTypes } * */ public void setNADType(NADTypes value) { this.nadType = value; } /** * Gets the value of the falseEasting property. * * @return * possible object is * {@link LengthMeasure } * */ public LengthMeasure getFalseEasting() { return falseEasting; } /** * Sets the value of the falseEasting property. * * @param value * allowed object is * {@link LengthMeasure } * */ public void setFalseEasting(LengthMeasure value) { this.falseEasting = value; } /** * Gets the value of the falseNorthing property. * * @return * possible object is * {@link LengthMeasure } * */ public LengthMeasure getFalseNorthing() { return falseNorthing; } /** * Sets the value of the falseNorthing property. * * @param value * allowed object is * {@link LengthMeasure } * */ public void setFalseNorthing(LengthMeasure value) { this.falseNorthing = value; } /** * Gets the value of the bearing property. * * @return * possible object is * {@link PlaneAngleMeasure } * */ public PlaneAngleMeasure getBearing() { return bearing; } /** * Sets the value of the bearing property. * * @param value * allowed object is * {@link PlaneAngleMeasure } * */ public void setBearing(PlaneAngleMeasure value) { this.bearing = value; } /** * Gets the value of the hemisphere property. * * @return * possible object is * {@link Hemispheres } * */ public Hemispheres getHemisphere() { return hemisphere; } /** * Sets the value of the hemisphere property. * * @param value * allowed object is * {@link Hemispheres } * */ public void setHemisphere(Hemispheres value) { this.hemisphere = 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 parameter 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 parameter property. * * * For example, to add a new item, do as follows: *
 {@code
     *    getParameter().add(newItem);
     * } 
* * * * Objects of the following type(s) are allowed in the list * {@link IndexedObject } * * */ public List getParameter() { if (parameter == null) { parameter = new ArrayList(); } return this.parameter; } public void setParameter(List paramList) { this.parameter = paramList; } //========================================================================= // conversion methods for 1.3.1.1/1.4.1.1/2.0 interop //========================================================================= public com.hashmapinc.tempus.WitsmlObjects.v1411.CsProjectionx to1411CsProjectionx() { com.hashmapinc.tempus.WitsmlObjects.v1411.CsProjectionx projection = new com.hashmapinc.tempus.WitsmlObjects.v1411.CsProjectionx(); // assign fields projection.setScaleFactor(this.getScaleFactor()); projection.setZone(this.getZone()); projection.setDescription(this.getDescription()); // nameCRS if (null != this.getNameCRS()) projection.setNameCRS(this.getNameCRS().to1411WellKnownNameStruct()); // projectionCode if (null != this.getProjectionCode()) projection.setProjectionCode(com.hashmapinc.tempus.WitsmlObjects.v1411.Projection.fromValue(this.getProjectionCode().value())); // projectedFrom if (null != this.getProjectedFrom()) projection.setProjectedFrom(this.getProjectedFrom().to1411RefNameString()); // stdParallel1 if (null != this.getStdParallel1()) projection.setStdParallel1(this.getStdParallel1().to1411PlaneAngleMeasure()); // stdParallel2 if (null != this.getStdParallel2()) projection.setStdParallel2(this.getStdParallel2().to1411PlaneAngleMeasure()); // centralMeridian if (null != this.getCentralMeridian()) projection.setCentralMeridian(this.getCentralMeridian().to1411PlaneAngleMeasure()); // originLatitude if (null != this.getOriginLatitude()) projection.setOriginLatitude(this.getOriginLatitude().to1411PlaneAngleMeasure()); // originLongitude if (null != this.getOriginLongitude()) projection.setOriginLongitude(this.getOriginLongitude().to1411PlaneAngleMeasure()); // latitude1 if (null != this.getLatitude1()) projection.setLatitude1(this.getLatitude1().to1411PlaneAngleMeasure()); // longitude1 if (null != this.getLongitude1()) projection.setLongitude1(this.getLongitude1().to1411PlaneAngleMeasure()); // latitude2 if (null != this.getLatitude2()) projection.setLatitude2(this.getLatitude2().to1411PlaneAngleMeasure()); // longitude2 if (null != this.getLongitude2()) projection.setLongitude2(this.getLongitude2().to1411PlaneAngleMeasure()); // latitudeForScale if (null != this.getLatitudeForScale()) projection.setLatitudeForScale(this.getLatitudeForScale().to1411PlaneAngleMeasure()); // longitudeForScale if (null != this.getLongitudeForScale()) projection.setLongitudeForScale(this.getLongitudeForScale().to1411PlaneAngleMeasure()); // trueScaleLatitude if (null != this.getTrueScaleLatitude()) projection.setTrueScaleLatitude(this.getTrueScaleLatitude().to1411PlaneAngleMeasure()); // spheroidRadius if (null != this.getSpheroidRadius()) projection.setSpheroidRadius(this.getSpheroidRadius().to1411Length()); // methodVariant if (null != this.getMethodVariant()) projection.setMethodVariant(com.hashmapinc.tempus.WitsmlObjects.v1411.ProjectionVariantsObliqueMercator.fromValue(this.getMethodVariant().value())); // perspectiveHeight if (null != this.getPerspectiveHeight()) projection.setPerspectiveHeight(this.getPerspectiveHeight().to1411Length()); // nadType if (null != this.getNADType()) projection.setNADType(com.hashmapinc.tempus.WitsmlObjects.v1411.NADTypes.fromValue(this.getNADType().value())); // falseEasting if (null != this.getFalseEasting()) projection.setFalseEasting(this.getFalseEasting().to1411Length()); // falseNorthing if (null != this.getFalseNorthing()) projection.setFalseNorthing(this.getFalseNorthing().to1411Length()); // bearing if (null != this.getBearing()) projection.setBearing(this.getBearing().to1411PlaneAngleMeasure()); // hemisphere if (null != this.getHemisphere()) projection.setHemisphere(com.hashmapinc.tempus.WitsmlObjects.v1411.Hemispheres.fromValue(this.getHemisphere().value())); // parameter if (null != this.getParameter()) { List destWellCRSParamList = new ArrayList<>(); for (com.hashmapinc.tempus.WitsmlObjects.v1311.IndexedObject srcWellCRSParam: this.getParameter()) destWellCRSParamList.add(srcWellCRSParam.to1411IndexedObject()); projection.setParameter(destWellCRSParamList); } return projection; } //========================================================================= }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy