Class VecWireElementReference

All Implemented Interfaces:
Identifiable, ModifiableIdentifiable, HasCustomProperties<VecCustomProperty>, HasIdentification, HasModifiableIdentification, Visitable, Serializable

public class VecWireElementReference extends VecRoutableElement implements Serializable, HasIdentification, HasModifiableIdentification, Visitable

A WireElementReference represents the usage of a WireElement in the context of a PartUsage or PartOccurrence. For contacting purposes a WireElementReference has WireEnds. KBLFRM-384

Java class for WireElementReference complex type.

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


 <complexType name="WireElementReference">
   <complexContent>
     <extension base="{http://www.prostep.org/ecad-if/2011/vec}RoutableElement">
       <sequence>
         <element name="Identification" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="Connection" type="{http://www.w3.org/2001/XMLSchema}IDREF" minOccurs="0"/>
         <element name="ReferencedWireElement" type="{http://www.w3.org/2001/XMLSchema}IDREF"/>
         <element name="Signal" type="{http://www.w3.org/2001/XMLSchema}IDREF" minOccurs="0"/>
         <element name="WireEnd" type="{http://www.prostep.org/ecad-if/2011/vec}WireEnd" maxOccurs="unbounded" minOccurs="0"/>
         <element name="WireLength" type="{http://www.prostep.org/ecad-if/2011/vec}WireLength" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 
See Also:
  • Field Details

    • identification

      protected String identification

      Specifies a unique identification of the WireElementReference. The identification is guaranteed to be unique within the WireRole.

    • connection

      protected VecConnection connection
    • referencedWireElement

      protected VecWireElement referencedWireElement

      References the WireElement that is represented by the WireElementReference.

    • signal

      protected VecSignal signal
    • wireEnds

      protected List<VecWireEnd> wireEnds
    • wireLengths

      protected List<VecWireLength> wireLengths
  • Constructor Details

    • VecWireElementReference

      public VecWireElementReference()
  • Method Details

    • getIdentification

      public String getIdentification()
      Gets the value of the identification property.

      Specifies a unique identification of the WireElementReference. The identification is guaranteed to be unique within the WireRole.

      Specified by:
      getIdentification in interface HasIdentification
      Returns:
      possible object is String
    • setIdentification

      public void setIdentification(String value)
      Sets the value of the identification property.
      Specified by:
      setIdentification in interface HasModifiableIdentification
      Parameters:
      value - allowed object is String
      See Also:
    • getConnection

      public VecConnection getConnection()
      Gets the value of the connection property.
      Returns:
      possible object is Object
    • setConnection

      public void setConnection(VecConnection value)
      Sets the value of the connection property.
      Parameters:
      value - allowed object is Object
    • getReferencedWireElement

      public VecWireElement getReferencedWireElement()
      Gets the value of the referencedWireElement property.

      References the WireElement that is represented by the WireElementReference.

      Returns:
      possible object is Object
    • setReferencedWireElement

      public void setReferencedWireElement(VecWireElement value)
      Sets the value of the referencedWireElement property.
      Parameters:
      value - allowed object is Object
      See Also:
    • getSignal

      public VecSignal getSignal()
      Gets the value of the signal property.
      Returns:
      possible object is Object
    • setSignal

      public void setSignal(VecSignal value)
      Sets the value of the signal property.
      Parameters:
      value - allowed object is Object
    • getWireEnds

      public List<VecWireEnd> getWireEnds()
      Gets the value of the wireEnds 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 Jakarta XML Binding object. This is why there is not a set method for the wireEnds property.

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

          getWireEnds().add(newItem);
       

      Objects of the following type(s) are allowed in the list VecWireEnd

      Returns:
      The value of the wireEnds property.
    • getWireLengths

      public List<VecWireLength> getWireLengths()
      Gets the value of the wireLengths 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 Jakarta XML Binding object. This is why there is not a set method for the wireLengths property.

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

          getWireLengths().add(newItem);
       

      Objects of the following type(s) are allowed in the list VecWireLength

      Returns:
      The value of the wireLengths property.
    • getRefWireGrouping

      public Set<VecWireGrouping> getRefWireGrouping()
      Gets a Set of all VecWireGrouping 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 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.
    • getParentWireRole

      public VecWireRole getParentWireRole()
      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 VecWireRole otherwise it will be null.
      Warning!: This is a readonly property! It has to be initialized during the unmarshalling process by the 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.
    • accept

      public <R, E extends Throwable> R accept(Visitor<R,E> aVisitor) throws E
      Specified by:
      accept in interface Visitable
      Throws:
      E extends Throwable