- All Implemented Interfaces:
Identifiable,ModifiableIdentifiable,HasCustomProperties<VecCustomProperty>,HasDescription<VecAbstractLocalizedString>,HasIdentification,HasModifiableIdentification,HasRoles<VecRole>,Visitable,Serializable
A PartOccurrence is an instance of a component with a specified part number (PartVersion).
Java class for PartOccurrence complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="PartOccurrence">
<complexContent>
<extension base="{http://www.prostep.org/ecad-if/2011/vec}OccurrenceOrUsage">
<sequence>
<element name="IsSecondaryAlternative" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="AlternativeOccurrence" type="{http://www.w3.org/2001/XMLSchema}IDREFS" minOccurs="0"/>
<element name="InstanciatedOccurrence" type="{http://www.w3.org/2001/XMLSchema}IDREFS" minOccurs="0"/>
<element name="Part" type="{http://www.w3.org/2001/XMLSchema}IDREF" minOccurs="0"/>
<element name="RealizedPartUsage" type="{http://www.w3.org/2001/XMLSchema}IDREF" minOccurs="0"/>
<element name="ReferenceElement" type="{http://www.w3.org/2001/XMLSchema}IDREFS" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<VecPartOccurrence>References the PartOcurrences that are an alternative for this PartOccurrence.protected List<VecPartOccurrence>References the PartOccurrence which is instantiated by the PartOccurrence.protected BooleanIf a PartUsage is realized by more than one PartOccurrence it is possible to specify which one is the preferred.protected VecPartVersionReferences the PartVersion that is instantiated by this PartOccurrence.protected VecPartUsageprotected List<VecPartOccurrence>References the PartOcurrence for which this PartOccurrence is an accessory.Fields inherited from class com.foursoft.harness.vec.v113.VecOccurrenceOrUsage
abbreviations, aliasIds, descriptions, identification, installationInstructions, realizedUsageNode, rolesFields inherited from class com.foursoft.harness.vec.v113.VecConfigurableElement
configInfoFields inherited from class com.foursoft.harness.vec.v113.VecExtendableElement
customProperties, xmlId -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<R,E extends Throwable>
RGets the value of the alternativeOccurrence property.Gets the value of the instanciatedOccurrence property.Gets a reference to the parent of this object in the XML DOM Tree.getPart()Gets the value of the part property.Gets the value of the realizedPartUsage property.Gets the value of the referenceElement property.Gets aSetof allVecModuleListthat have a outgoing reference to this object.
Warning!: This is a readonly property! It has to be initialized during the unmarshalling process by theExtendedUnmarshaller.
This property is consistent to the state of object model at the time of unmarshalling.Gets aSetof allVecPartOccurrencethat have a outgoing reference to this object.
Warning!: This is a readonly property! It has to be initialized during the unmarshalling process by theExtendedUnmarshaller.
This property is consistent to the state of object model at the time of unmarshalling.Gets aSetof allVecPartStructureSpecificationthat have a outgoing reference to this object.
Warning!: This is a readonly property! It has to be initialized during the unmarshalling process by theExtendedUnmarshaller.
This property is consistent to the state of object model at the time of unmarshalling.Gets the value of the isSecondaryAlternative property.voidsetIsSecondaryAlternative(Boolean value) Sets the value of the isSecondaryAlternative property.voidsetPart(VecPartVersion value) Sets the value of the part property.voidsetRealizedPartUsage(VecPartUsage value) Sets the value of the realizedPartUsage property.Methods inherited from class com.foursoft.harness.vec.v113.VecOccurrenceOrUsage
getAbbreviations, getAliasIds, getDescriptions, getIdentification, getInstallationInstructions, getRealizedUsageNode, getRefOccurrenceOrUsageViewItem2D, getRefOccurrenceOrUsageViewItem3D, getRefPartWithSubComponentsRole, getRoles, setIdentification, setRealizedUsageNodeMethods inherited from class com.foursoft.harness.vec.v113.VecConfigurableElement
getConfigInfo, setConfigInfoMethods inherited from class com.foursoft.harness.vec.v113.VecExtendableElement
getCustomProperties, getRefExternalMapping, getXmlId, setXmlId, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.foursoft.harness.vec.common.HasCustomProperties
getCustomPropertiesWithType, getCustomPropertyMethods inherited from interface com.foursoft.harness.vec.common.HasRoles
getRolesWithType, getRoleWithType
-
Field Details
-
isSecondaryAlternative
If a PartUsage is realized by more than one PartOccurrence it is possible to specify which one is the preferred. (see KBLFRM-264)
-
alternativeOccurrence
References the PartOcurrences that are an alternative for this PartOccurrence.
-
instanciatedOccurrence
References the PartOccurrence which is instantiated by the PartOccurrence. This reference is for example needed in the case of usage of assemblies.
-
part
References the PartVersion that is instantiated by this PartOccurrence.
-
realizedPartUsage
-
referenceElement
References the PartOcurrence for which this PartOccurrence is an accessory.
-
-
Constructor Details
-
VecPartOccurrence
public VecPartOccurrence()
-
-
Method Details
-
isIsSecondaryAlternative
Gets the value of the isSecondaryAlternative property.If a PartUsage is realized by more than one PartOccurrence it is possible to specify which one is the preferred. (see KBLFRM-264)
- Returns:
- possible object is
Boolean
-
setIsSecondaryAlternative
Sets the value of the isSecondaryAlternative property.- Parameters:
value- allowed object isBoolean- See Also:
-
getPart
Gets the value of the part property.References the PartVersion that is instantiated by this PartOccurrence.
- Returns:
- possible object is
Object
-
setPart
Sets the value of the part property. -
getRealizedPartUsage
Gets the value of the realizedPartUsage property.- Returns:
- possible object is
Object
-
setRealizedPartUsage
Sets the value of the realizedPartUsage property.- Parameters:
value- allowed object isObject
-
getRefModuleList
Gets aSetof allVecModuleListthat have a outgoing reference to this object.
Warning!: This is a readonly property! It has to be initialized during the unmarshalling process by theExtendedUnmarshaller.
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. -
getAlternativeOccurrence
Gets the value of the alternativeOccurrence 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
setmethod for the alternativeOccurrence property.For example, to add a new item, do as follows:
getAlternativeOccurrence().add(newItem);Objects of the following type(s) are allowed in the list
ObjectReferences the PartOcurrences that are an alternative for this PartOccurrence.
-
getRefPartOccurrence
Gets aSetof allVecPartOccurrencethat have a outgoing reference to this object.
Warning!: This is a readonly property! It has to be initialized during the unmarshalling process by theExtendedUnmarshaller.
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. -
getInstanciatedOccurrence
Gets the value of the instanciatedOccurrence 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
setmethod for the instanciatedOccurrence property.For example, to add a new item, do as follows:
getInstanciatedOccurrence().add(newItem);Objects of the following type(s) are allowed in the list
ObjectReferences the PartOccurrence which is instantiated by the PartOccurrence. This reference is for example needed in the case of usage of assemblies.
-
getReferenceElement
Gets the value of the referenceElement 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
setmethod for the referenceElement property.For example, to add a new item, do as follows:
getReferenceElement().add(newItem);Objects of the following type(s) are allowed in the list
ObjectReferences the PartOcurrence for which this PartOccurrence is an accessory.
-
getRefPartStructureSpecification
Gets aSetof allVecPartStructureSpecificationthat have a outgoing reference to this object.
Warning!: This is a readonly property! It has to be initialized during the unmarshalling process by theExtendedUnmarshaller.
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. -
getParentCompositionSpecification
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 aVecCompositionSpecificationotherwise it will be null.
Warning!: This is a readonly property! It has to be initialized during the unmarshalling process by theExtendedUnmarshaller.
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
-