com.foursoft.vecmodel.vec113.VecMeasurementPointReference Maven / Gradle / Ivy
//
// 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: 2021.08.10 at 09:49:21 AM UTC
//
package com.foursoft.vecmodel.vec113;
import java.io.Serializable;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlIDREF;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlTransient;
import javax.xml.bind.annotation.XmlType;
import com.foursoft.vecmodel.common.HasIdentification;
import com.foursoft.vecmodel.common.HasModifiableIdentification;
import com.foursoft.vecmodel.vec113.visitor.Visitable;
import com.foursoft.vecmodel.vec113.visitor.Visitor;
import com.foursoft.xml.ExtendedUnmarshaller;
import com.foursoft.xml.annotations.XmlBackReference;
import com.foursoft.xml.annotations.XmlParent;
/**
* AMeasurementPointReferenceis the instance of aMeasurementPointin the context of anOccurrenceOrUsage.
*
* Java class for MeasurementPointReference complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="MeasurementPointReference">
* <complexContent>
* <extension base="{http://www.prostep.org/ecad-if/2011/vec}DimensionAnchor">
* <sequence>
* <element name="Identification" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="MeasurementPoint" type="{http://www.w3.org/2001/XMLSchema}IDREF"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "MeasurementPointReference", propOrder = {
"identification",
"measurementPoint"
})
public class VecMeasurementPointReference
extends VecDimensionAnchor
implements Serializable, HasIdentification, HasModifiableIdentification, Visitable
{
private final static long serialVersionUID = 1L;
/**
* Specifies a unique identification of the MeasurementPointReference. The identification is guaranteed to be unique within the containing PlaceableElementRole.
*
*/
@XmlElement(name = "Identification", required = true)
protected String identification;
/**
* References theMeasurementPointthat is instanced by thisMeasurementPointReference.
*
*
*/
@XmlElement(name = "MeasurementPoint", required = true, type = java.lang.Object.class)
@XmlIDREF
@XmlSchemaType(name = "IDREF")
@XmlBackReference(destinationField = "refMeasurementPointReference")
protected VecMeasurementPoint measurementPoint;
@XmlTransient
@XmlParent
private VecPlaceableElementRole parentPlaceableElementRole;
/**
* Gets the value of the identification property.
*
*
Specifies a unique identification of the MeasurementPointReference. The identification is guaranteed to be unique within the containing PlaceableElementRole.
*
* @return
* possible object is
* {@link String }
*
*/
public String getIdentification() {
return identification;
}
/**
* Sets the value of the identification property.
*
* @param value
* allowed object is
* {@link String }
*
* @see #getIdentification()
*/
public void setIdentification(String value) {
this.identification = value;
}
/**
* Gets the value of the measurementPoint property.
*
*
References theMeasurementPointthat is instanced by thisMeasurementPointReference.
*
*
* @return
* possible object is
* {@link Object }
*
*/
public VecMeasurementPoint getMeasurementPoint() {
return measurementPoint;
}
/**
* Sets the value of the measurementPoint property.
*
* @param value
* allowed object is
* {@link Object }
*
* @see #getMeasurementPoint()
*/
public void setMeasurementPoint(VecMeasurementPoint value) {
this.measurementPoint = value;
}
/**
* Gets a reference to the parent of this object in the XML DOM Tree. If this class can have different parents in DOM, this property is initialized with the parent, if the parent is a {@link VecPlaceableElementRole } otherwise it will be null
* Warning!: This is a readonly property! It has to be initialized during the unmarshalling process by the {@link ExtendedUnmarshaller }.
This property is consistent to the state of object model at the time of unmarshalling. It does not reflect any changes done in the object model after the unmarshalling.
* This property has no effect when the object is marshalled to xml.
*
*/
public VecPlaceableElementRole getParentPlaceableElementRole() {
return parentPlaceableElementRole;
}
publicR accept(Visitor aVisitor)
throws E
{
return aVisitor.visitVecMeasurementPointReference(this);
}
}