Class VecPartWithSubComponentsRole

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

public class VecPartWithSubComponentsRole extends VecRole implements Serializable, Visitable

A PartWithSubComponentsRole defines the instance specific properties and relationships of a part with subcomponents. A PartWithSubComponents is a composite part like an Assembly, a Module, Harness.

Java class for PartWithSubComponentsRole complex type.

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


 <complexType name="PartWithSubComponentsRole">
   <complexContent>
     <extension base="{http://www.prostep.org/ecad-if/2011/vec}Role">
       <sequence>
         <element name="PartStructureSpecification" type="{http://www.w3.org/2001/XMLSchema}IDREF"/>
         <element name="SubComponent" type="{http://www.w3.org/2001/XMLSchema}IDREFS"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 
See Also:
  • Field Details

    • partStructureSpecification

      protected VecPartStructureSpecification partStructureSpecification

      References thePartStructureSpecificationthat is instantiated by thisPartWithSubComponentsRole.

    • subComponent

      protected List<VecOccurrenceOrUsage> subComponent

      References the subcomponents that belong to this instance of a PartWithSubComponents.

  • Constructor Details

    • VecPartWithSubComponentsRole

      public VecPartWithSubComponentsRole()
  • Method Details

    • getPartStructureSpecification

      public VecPartStructureSpecification getPartStructureSpecification()
      Gets the value of the partStructureSpecification property.

      References thePartStructureSpecificationthat is instantiated by thisPartWithSubComponentsRole.

      Returns:
      possible object is Object
    • setPartStructureSpecification

      public void setPartStructureSpecification(VecPartStructureSpecification value)
      Sets the value of the partStructureSpecification property.
      Parameters:
      value - allowed object is Object
      See Also:
    • getRefModuleFamily

      public Set<VecModuleFamily> getRefModuleFamily()
      Gets a Set of all VecModuleFamily 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.
    • getRefModuleList

      public Set<VecModuleList> getRefModuleList()
      Gets a Set of all VecModuleList 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.
    • getSubComponent

      public List<VecOccurrenceOrUsage> getSubComponent()
      Gets the value of the subComponent 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 subComponent property.

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

          getSubComponent().add(newItem);
       

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

      References the subcomponents that belong to this instance of a PartWithSubComponents.

    • accept

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