Class VecModularSlot

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

public class VecModularSlot extends VecAbstractSlot implements Serializable, Visitable

A ModularSlot is a place in a connector housing where different other connector housings can be placed during the assembly (e.g. by clicking them into the connector housing).

Java class for ModularSlot complex type.

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


 <complexType name="ModularSlot">
   <complexContent>
     <extension base="{http://www.prostep.org/ecad-if/2011/vec}AbstractSlot">
       <sequence>
         <element name="Optional" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
         <element name="AllowedInserts" type="{http://www.w3.org/2001/XMLSchema}IDREFS" minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 
See Also:
  • Field Details

    • optional

      protected Boolean optional

      Specifies whether the allocation of the ModularSlot is optional or not (can a usage of the connector housing leave this ModularSlot empty.

    • allowedInserts

      protected List<VecPartVersion> allowedInserts

      References thePartVersionsthat are valid inserts for thisModularSlot.

      This reference points to aPartVersionin order to allow referencing, if the description of individualPartVersionsis done with one physical VEC file perPartVersion.However, inserts for aModularSlotare always ConnectorHousings by itself. Therefore the referencedPartVersionshall have aPrimaryPartType = ConnectorHousing

  • Constructor Details

    • VecModularSlot

      public VecModularSlot()
  • Method Details

    • isOptional

      public Boolean isOptional()
      Gets the value of the optional property.

      Specifies whether the allocation of the ModularSlot is optional or not (can a usage of the connector housing leave this ModularSlot empty.

      Returns:
      possible object is Boolean
    • setOptional

      public void setOptional(Boolean value)
      Sets the value of the optional property.
      Parameters:
      value - allowed object is Boolean
      See Also:
    • getAllowedInserts

      public List<VecPartVersion> getAllowedInserts()
      Gets the value of the allowedInserts 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 allowedInserts property.

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

          getAllowedInserts().add(newItem);
       

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

      References thePartVersionsthat are valid inserts for thisModularSlot.

      This reference points to aPartVersionin order to allow referencing, if the description of individualPartVersionsis done with one physical VEC file perPartVersion.However, inserts for aModularSlotare always ConnectorHousings by itself. Therefore the referencedPartVersionshall have aPrimaryPartType = ConnectorHousing

    • getRefModularSlotAddOn

      public Set<VecModularSlotAddOn> getRefModularSlotAddOn()
      Gets a Set of all VecModularSlotAddOn 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.
    • accept

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