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

com.foursoft.harness.kbl.v24.KblTransformation Maven / Gradle / Ivy

There is a newer version: 5.2.0
Show newest version
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.0 
// See https://javaee.github.io/jaxb-v2/ 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2022.07.05 at 05:22:49 PM UTC 
//


package com.foursoft.harness.kbl.v24;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.Marshaller;
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.XmlID;
import javax.xml.bind.annotation.XmlIDREF;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import com.foursoft.harness.kbl.v24.visitor.Visitable;
import com.foursoft.harness.kbl.v24.visitor.Visitor;
import com.foursoft.jaxb.navext.runtime.annotations.XmlBackReference;
import com.foursoft.jaxb.navext.runtime.model.Identifiable;
import com.foursoft.jaxb.navext.runtime.model.ModifiableIdentifiable;


/**
 * 

Java class for Transformation complex type. * *

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

 * <complexType name="Transformation">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="U" type="{http://www.w3.org/2001/XMLSchema}double" maxOccurs="3" minOccurs="2"/>
 *         <element name="V" type="{http://www.w3.org/2001/XMLSchema}double" maxOccurs="3" minOccurs="2"/>
 *         <element name="Cartesian_point" type="{http://www.w3.org/2001/XMLSchema}IDREF"/>
 *       </sequence>
 *       <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}ID" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "Transformation", namespace = "http://www.prostep.org/Car_electric_container/KBL2.3/KBLSchema", propOrder = { "us", "vs", "cartesianPoint" }) public class KblTransformation implements Serializable, Visitable, Identifiable, ModifiableIdentifiable { private final static long serialVersionUID = 1L; @XmlElement(name = "U", type = Double.class) protected List us; @XmlElement(name = "V", type = Double.class) protected List vs; /** * ref to Cartesian_point * */ @XmlElement(name = "Cartesian_point", required = true, type = java.lang.Object.class) @XmlIDREF @XmlSchemaType(name = "IDREF") @XmlBackReference(destinationField = "refTransformation") protected KblCartesianPoint cartesianPoint; @XmlAttribute(name = "id", required = true) @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlID @XmlSchemaType(name = "ID") protected String xmlId; /** * Gets the value of the us 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 us property. * *

* For example, to add a new item, do as follows: *

     *    getUS().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Double } * * */ public List getUS() { if (us == null) { us = new ArrayList(); } return this.us; } /** * Gets the value of the vs 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 vs property. * *

* For example, to add a new item, do as follows: *

     *    getVS().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Double } * * */ public List getVS() { if (vs == null) { vs = new ArrayList(); } return this.vs; } /** * Gets the value of the cartesianPoint property. *

* ref to Cartesian_point * * @return * possible object is * {@link Object } * */ public KblCartesianPoint getCartesianPoint() { return cartesianPoint; } /** * Sets the value of the cartesianPoint property. * * @param value * allowed object is * {@link Object } * * @see #getCartesianPoint() */ public void setCartesianPoint(KblCartesianPoint value) { this.cartesianPoint = value; } /** * Gets the value of the xmlId property. * * @return * possible object is * {@link String } * */ public String getXmlId() { return xmlId; } /** * Sets the value of the xmlId property. * * @param value * allowed object is * {@link String } * */ public void setXmlId(String value) { this.xmlId = value; } publicR accept(Visitor aVisitor) throws E { return aVisitor.visitKblTransformation(this); } public boolean beforeMarshal(Marshaller marshaller) { if ((us!= null)&&us.isEmpty()) { us = null; } if ((vs!= null)&&vs.isEmpty()) { vs = null; } return true; } @Override public String toString() { return this.getClass().getSimpleName() + "[" + this.getXmlId() + "]"; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy