com.foursoft.vecmodel.vec113.VecConnectorHousingRole 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 java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
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.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;
/**
* A ConnectorHousingRole defines the instance specific properties and relationships of a connector housing.
*
* Java class for ConnectorHousingRole complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="ConnectorHousingRole">
* <complexContent>
* <extension base="{http://www.prostep.org/ecad-if/2011/vec}Role">
* <sequence>
* <element name="SealState" type="{http://www.prostep.org/ecad-if/2011/vec}SealState" minOccurs="0"/>
* <element name="ComponentNode" type="{http://www.w3.org/2001/XMLSchema}IDREF" minOccurs="0"/>
* <element name="ConnectorHousingSpecification" type="{http://www.w3.org/2001/XMLSchema}IDREF"/>
* <element name="SlotReference" type="{http://www.prostep.org/ecad-if/2011/vec}AbstractSlotReference" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ConnectorHousingRole", propOrder = {
"sealState",
"componentNode",
"connectorHousingSpecification",
"slotReferences"
})
public class VecConnectorHousingRole
extends VecRole
implements Serializable, Visitable
{
private final static long serialVersionUID = 1L;
/**
* Specifies if this instance of a connector housing should be sealed (waterproof).
*
*/
@XmlElement(name = "SealState")
protected String sealState;
/**
* References the ComponentNode that is realized by the referenced ConnectorHousing (OccurrenceOrUsage with ConnectorHousingRole). This can especially be relevant for inliners. KBLFRM-341.
*
*/
@XmlElement(name = "ComponentNode", type = java.lang.Object.class)
@XmlIDREF
@XmlSchemaType(name = "IDREF")
@XmlBackReference(destinationField = "refConnectorHousingRole")
protected VecComponentNode componentNode;
/**
* References theConnectorHousingSpecificationthat is instanced by thisConnectorHousingRole.
*
*
*/
@XmlElement(name = "ConnectorHousingSpecification", required = true, type = java.lang.Object.class)
@XmlIDREF
@XmlSchemaType(name = "IDREF")
@XmlBackReference(destinationField = "refConnectorHousingRole")
protected VecConnectorHousingSpecification connectorHousingSpecification;
@XmlElement(name = "SlotReference")
protected List slotReferences;
@XmlTransient
private Set refCouplingPoint = new HashSet();
@XmlTransient
private Set refModularSlotReference = new HashSet();
@XmlTransient
@XmlParent
private VecHousingComponentReference parentHousingComponentReference;
/**
* Gets the value of the sealState property.
*
*
Specifies if this instance of a connector housing should be sealed (waterproof).
*
* @return
* possible object is
* {@link String }
*
*/
public String getSealState() {
return sealState;
}
/**
* Sets the value of the sealState property.
*
* @param value
* allowed object is
* {@link String }
*
* @see #getSealState()
*/
public void setSealState(String value) {
this.sealState = value;
}
/**
* Gets the value of the componentNode property.
*
*
References the ComponentNode that is realized by the referenced ConnectorHousing (OccurrenceOrUsage with ConnectorHousingRole). This can especially be relevant for inliners. KBLFRM-341.
*
* @return
* possible object is
* {@link Object }
*
*/
public VecComponentNode getComponentNode() {
return componentNode;
}
/**
* Sets the value of the componentNode property.
*
* @param value
* allowed object is
* {@link Object }
*
* @see #getComponentNode()
*/
public void setComponentNode(VecComponentNode value) {
this.componentNode = value;
}
/**
* Gets the value of the connectorHousingSpecification property.
*
*
References theConnectorHousingSpecificationthat is instanced by thisConnectorHousingRole.
*
*
* @return
* possible object is
* {@link Object }
*
*/
public VecConnectorHousingSpecification getConnectorHousingSpecification() {
return connectorHousingSpecification;
}
/**
* Sets the value of the connectorHousingSpecification property.
*
* @param value
* allowed object is
* {@link Object }
*
* @see #getConnectorHousingSpecification()
*/
public void setConnectorHousingSpecification(VecConnectorHousingSpecification value) {
this.connectorHousingSpecification = value;
}
/**
* Gets the value of the slotReferences 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 slotReferences property.
*
*
* For example, to add a new item, do as follows:
*
* getSlotReferences().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link VecAbstractSlotReference }
*
*
*/
public List getSlotReferences() {
if (slotReferences == null) {
slotReferences = new ArrayList();
}
return this.slotReferences;
}
/**
* Gets a {@link Set } of all {@link VecCouplingPoint } that have a outgoing reference to this object.
* 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 Set getRefCouplingPoint() {
return refCouplingPoint;
}
/**
* Gets a {@link Set } of all {@link VecModularSlotReference } that have a outgoing reference to this object.
* 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 Set getRefModularSlotReference() {
return refModularSlotReference;
}
/**
* 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 VecHousingComponentReference } 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 VecHousingComponentReference getParentHousingComponentReference() {
return parentHousingComponentReference;
}
publicR accept(Visitor aVisitor)
throws E
{
return aVisitor.visitVecConnectorHousingRole(this);
}
}