Class VecPartOrUsageRelatedSpecification

All Implemented Interfaces:
Identifiable, ModifiableIdentifiable, HasCustomProperties<VecCustomProperty>, HasDescription<VecAbstractLocalizedString>, HasIdentification, HasModifiableIdentification, Visitable, Serializable
Direct Known Subclasses:
VecCableDuctSpecification, VecCableTieSpecification, VecCavityPartSpecification, VecConnectorHousingCapSpecification, VecConnectorHousingSpecification, VecEEComponentSpecification, VecFixingSpecification, VecGeneralTechnicalPartSpecification, VecGrommetSpecification, VecPartStructureSpecification, VecPlaceableElementSpecification, VecTerminalSpecification, VecWireEndAccessorySpecification, VecWireProtectionSpecification, VecWireSpecification

public class VecPartOrUsageRelatedSpecification extends VecSpecification implements Serializable, Visitable

Base class for all specifications which are describing aPartVersionor aPartUsage. APartOrUsageRelatedSpecificationspecifies a certain aspect of the described part or usage (e.g. general technical part information, connector housing aspects or wire aspects).

Java class for PartOrUsageRelatedSpecification complex type.

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


 <complexType name="PartOrUsageRelatedSpecification">
   <complexContent>
     <extension base="{http://www.prostep.org/ecad-if/2011/vec}Specification">
       <sequence>
         <element name="SpecialPartType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="DescribedPart" type="{http://www.w3.org/2001/XMLSchema}IDREFS" minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 
See Also:
  • Field Details

    • specialPartType

      protected String specialPartType

      The specialPartType allows the specification of subclassifications for a PartOrUsageRelatedSpecification (e.g. different types of connector housings).

    • describedPart

      protected List<VecPartVersion> describedPart
  • Constructor Details

    • VecPartOrUsageRelatedSpecification

      public VecPartOrUsageRelatedSpecification()
  • Method Details

    • getSpecialPartType

      public String getSpecialPartType()
      Gets the value of the specialPartType property.

      The specialPartType allows the specification of subclassifications for a PartOrUsageRelatedSpecification (e.g. different types of connector housings).

      Returns:
      possible object is String
    • setSpecialPartType

      public void setSpecialPartType(String value)
      Sets the value of the specialPartType property.
      Parameters:
      value - allowed object is String
      See Also:
    • getDescribedPart

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

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

          getDescribedPart().add(newItem);
       

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

    • getRefPartUsage

      public Set<VecPartUsage> getRefPartUsage()
      Gets a Set of all VecPartUsage 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.
    • getRefSpecificRole

      public Set<VecSpecificRole> getRefSpecificRole()
      Gets a Set of all VecSpecificRole 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