- All Implemented Interfaces:
Identifiable,ModifiableIdentifiable,Visitable,Serializable
A PartRelation can define Accessories to a specific Part. For example a fixing can need an additional cable tie. Accessories can either be mandatory, optional or one out of a group. (see KBLFRM-311)
Java class for PartRelation complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="PartRelation">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="RelationType" type="{http://www.prostep.org/ecad-if/2011/vec}PartRelationType"/>
<element name="AccessoryPart" type="{http://www.w3.org/2001/XMLSchema}IDREFS"/>
</sequence>
<attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}ID" />
</restriction>
</complexContent>
</complexType>
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<VecPartVersion>protected VecPartRelationTypeSpecifies the type of the relation.protected String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<R,E extends Throwable>
RGets the value of the accessoryPart property.Gets a reference to the parent of this object in the XML DOM Tree.Gets the value of the relationType property.getXmlId()Gets the value of the xmlId property.voidSets the value of the relationType property.voidSets the value of the xmlId property.toString()
-
Field Details
-
relationType
Specifies the type of the relation.
-
accessoryPart
-
xmlId
-
-
Constructor Details
-
VecPartRelation
public VecPartRelation()
-
-
Method Details
-
getRelationType
Gets the value of the relationType property.Specifies the type of the relation.
- Returns:
- possible object is
VecPartRelationType
-
setRelationType
Sets the value of the relationType property.- Parameters:
value- allowed object isVecPartRelationType- See Also:
-
getXmlId
Gets the value of the xmlId property.- Specified by:
getXmlIdin interfaceIdentifiable- Returns:
- possible object is
String
-
setXmlId
Sets the value of the xmlId property.- Specified by:
setXmlIdin interfaceModifiableIdentifiable- Parameters:
value- allowed object isString
-
getAccessoryPart
Gets the value of the accessoryPart 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 accessoryPart property.For example, to add a new item, do as follows:
getAccessoryPart().add(newItem);Objects of the following type(s) are allowed in the list
Object -
getParentGeneralTechnicalPartSpecification
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 aVecGeneralTechnicalPartSpecificationotherwise 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
-
toString
-