Class VecPartVersion

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

public class VecPartVersion extends VecItemVersion implements Serializable, Visitable

The PartVersion is one of the two anchors for PDM information in the VEC. All technical information about a PartVersion is contained in one or more documents. These describing elements are normally referencing to the PartVersion.

Java class for PartVersion complex type.

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


 <complexType name="PartVersion">
   <complexContent>
     <extension base="{http://www.prostep.org/ecad-if/2011/vec}ItemVersion">
       <sequence>
         <element name="PartNumber" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="PartVersion" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="PrimaryPartType" type="{http://www.prostep.org/ecad-if/2011/vec}PrimaryPartType"/>
         <element name="IsPreferredPart" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="PreferredUseCase" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="AliasId" type="{http://www.prostep.org/ecad-if/2011/vec}AliasIdentification" maxOccurs="unbounded" minOccurs="0"/>
         <element name="Nature" type="{http://www.prostep.org/ecad-if/2011/vec}PartNature" minOccurs="0"/>
         <element name="Project" type="{http://www.w3.org/2001/XMLSchema}IDREF" minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 
See Also:
  • Field Details

    • partNumber

      protected String partNumber

      The partNumber is the major identifier of a PartVersion. The format is user defined and respectively company specific. Over all VEC-documents a PartVersion-instance can be trusted to be identical if the combination of partNumber, partVersion and companyName is identical.

    • partVersion

      protected String partVersion

      The partVersion specifies the version index of a part (see also partNumber).

    • primaryPartType

      protected VecPrimaryPartType primaryPartType

      The primary type of the part defines the type of the part (e.g. ConnectorHousing, Fixing, etc.) Since the VEC supports dual use parts (e.g. Fixing & WireProtection) the primary part type is necessary to define which specification associated to part is the primary character of the part. Therefore all primary part types correspond to a PartOrUsageRelatedSpecification (e.g. ConnectorHousing --> ConnectorHousingSpecification).

    • isPreferredPart

      protected String isPreferredPart

      Flags a part as "preferred" by the means of being a preferred part out of a group of parts with identical technical properties. The preferred part should be used, if the other properties of a couple of parts do not allow a distinct decision. (see KBLFRM-311)

    • preferredUseCase

      protected String preferredUseCase

      Defines the function for which the part was initially designed. (e.g. "Grommet for Hatch", "...passenger compartment",...) This is an important information for searching and selecting parts in the context of KOMP.

    • aliasIds

      protected List<VecAliasIdentification> aliasIds

      Room to specify additional identifiers for the PartVersion. This field must not be used for alternative PartNumbers. It is intended for identifiers others than PartNumbers, such as human readable identifiers printed on the part e.g. a number of fuse or a relay. Therefore it does not have to be strictly unique.

    • nature

      protected String nature

      Thenaturespecifies how thePartVersioncan be used in the different processes or the significance of thePartVersionin the process.

      Thenatureof aPartVersionis normaly inherent and does not change. If thenaturethe underlying part changes a new (other)partNumberis assigned to the part and respectively a newPartVersionis created.

      It used to differentiate for example normal (productive) part numbers from preliminary (prototypic) part numbers.

    • project

      protected VecProject project
  • Constructor Details

    • VecPartVersion

      public VecPartVersion()
  • Method Details

    • getPartNumber

      public String getPartNumber()
      Gets the value of the partNumber property.

      The partNumber is the major identifier of a PartVersion. The format is user defined and respectively company specific. Over all VEC-documents a PartVersion-instance can be trusted to be identical if the combination of partNumber, partVersion and companyName is identical.

      Returns:
      possible object is String
    • setPartNumber

      public void setPartNumber(String value)
      Sets the value of the partNumber property.
      Parameters:
      value - allowed object is String
      See Also:
    • getPartVersion

      public String getPartVersion()
      Gets the value of the partVersion property.

      The partVersion specifies the version index of a part (see also partNumber).

      Returns:
      possible object is String
    • setPartVersion

      public void setPartVersion(String value)
      Sets the value of the partVersion property.
      Parameters:
      value - allowed object is String
      See Also:
    • getPrimaryPartType

      public VecPrimaryPartType getPrimaryPartType()
      Gets the value of the primaryPartType property.

      The primary type of the part defines the type of the part (e.g. ConnectorHousing, Fixing, etc.) Since the VEC supports dual use parts (e.g. Fixing & WireProtection) the primary part type is necessary to define which specification associated to part is the primary character of the part. Therefore all primary part types correspond to a PartOrUsageRelatedSpecification (e.g. ConnectorHousing --> ConnectorHousingSpecification).

      Returns:
      possible object is VecPrimaryPartType
    • setPrimaryPartType

      public void setPrimaryPartType(VecPrimaryPartType value)
      Sets the value of the primaryPartType property.
      Parameters:
      value - allowed object is VecPrimaryPartType
      See Also:
    • getIsPreferredPart

      public String getIsPreferredPart()
      Gets the value of the isPreferredPart property.

      Flags a part as "preferred" by the means of being a preferred part out of a group of parts with identical technical properties. The preferred part should be used, if the other properties of a couple of parts do not allow a distinct decision. (see KBLFRM-311)

      Returns:
      possible object is String
    • setIsPreferredPart

      public void setIsPreferredPart(String value)
      Sets the value of the isPreferredPart property.
      Parameters:
      value - allowed object is String
      See Also:
    • getPreferredUseCase

      public String getPreferredUseCase()
      Gets the value of the preferredUseCase property.

      Defines the function for which the part was initially designed. (e.g. "Grommet for Hatch", "...passenger compartment",...) This is an important information for searching and selecting parts in the context of KOMP.

      Returns:
      possible object is String
    • setPreferredUseCase

      public void setPreferredUseCase(String value)
      Sets the value of the preferredUseCase property.
      Parameters:
      value - allowed object is String
      See Also:
    • getAliasIds

      public List<VecAliasIdentification> getAliasIds()
      Gets the value of the aliasIds 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 aliasIds property.

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

          getAliasIds().add(newItem);
       

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

      Room to specify additional identifiers for the PartVersion. This field must not be used for alternative PartNumbers. It is intended for identifiers others than PartNumbers, such as human readable identifiers printed on the part e.g. a number of fuse or a relay. Therefore it does not have to be strictly unique.

      Returns:
      The value of the aliasIds property.
    • getNature

      public String getNature()
      Gets the value of the nature property.

      Thenaturespecifies how thePartVersioncan be used in the different processes or the significance of thePartVersionin the process.

      Thenatureof aPartVersionis normaly inherent and does not change. If thenaturethe underlying part changes a new (other)partNumberis assigned to the part and respectively a newPartVersionis created.

      It used to differentiate for example normal (productive) part numbers from preliminary (prototypic) part numbers.

      Returns:
      possible object is String
    • setNature

      public void setNature(String value)
      Sets the value of the nature property.
      Parameters:
      value - allowed object is String
      See Also:
    • getProject

      public VecProject getProject()
      Gets the value of the project property.
      Returns:
      possible object is Object
    • setProject

      public void setProject(VecProject value)
      Sets the value of the project property.
      Parameters:
      value - allowed object is Object
    • getRefDocumentVersion

      public Set<VecDocumentVersion> getRefDocumentVersion()
      Gets a Set of all VecDocumentVersion 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.
    • getRefContactSystem

      public Set<VecContactSystem> getRefContactSystem()
      Gets a Set of all VecContactSystem 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.
    • getRefExtensionSlot

      public Set<VecExtensionSlot> getRefExtensionSlot()
      Gets a Set of all VecExtensionSlot 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.
    • getRefMapping

      public Set<VecMapping> getRefMapping()
      Gets a Set of all VecMapping 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.
    • getRefModularSlot

      public Set<VecModularSlot> getRefModularSlot()
      Gets a Set of all VecModularSlot 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.
    • getRefPartOccurrence

      public Set<VecPartOccurrence> getRefPartOccurrence()
      Gets a Set of all VecPartOccurrence 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.
    • getRefPartOrUsageRelatedSpecification

      public Set<VecPartOrUsageRelatedSpecification> getRefPartOrUsageRelatedSpecification()
      Gets a Set of all VecPartOrUsageRelatedSpecification 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.
    • getRefPartRelation

      public Set<VecPartRelation> getRefPartRelation()
      Gets a Set of all VecPartRelation 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.
    • getRefPartSubstitutionSpecification

      public Set<VecPartSubstitutionSpecification> getRefPartSubstitutionSpecification()
      Gets a Set of all VecPartSubstitutionSpecification 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.
    • getRefSheetOrChapter

      public Set<VecSheetOrChapter> getRefSheetOrChapter()
      Gets a Set of all VecSheetOrChapter 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.
    • getRefUsageConstraintSpecification

      public Set<VecUsageConstraintSpecification> getRefUsageConstraintSpecification()
      Gets a Set of all VecUsageConstraintSpecification 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.
    • getParentVecContent

      public VecContent getParentVecContent()
      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 VecContent 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