- All Implemented Interfaces:
Identifiable,ModifiableIdentifiable,HasCustomProperties<VecCustomProperty>,Visitable,Serializable
Defines two or more ItemVersions to be equivalent out of the view of a certain company. The ItemEquivalence class will most likely be used by a company to express which PartNumber a certain PartVersion has in the context of other companies. However, for every other company separate ItemVersion-instances are needed as the statement of equivalence can be very subjective.
Java class for ItemEquivalence complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ItemEquivalence">
<complexContent>
<extension base="{http://www.prostep.org/ecad-if/2011/vec}ExtendableElement">
<sequence>
<element name="CompanyName" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="Item" type="{http://www.w3.org/2001/XMLSchema}IDREFS"/>
</sequence>
</extension>
</complexContent>
</complexType>
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StringSpecifies the company which states the ItemEquivalence.protected List<VecItemVersion>Fields 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 companyName property.getItem()Gets the value of the item property.Gets a reference to the parent of this object in the XML DOM Tree.voidsetCompanyName(String value) Sets the value of the companyName property.Methods 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, getCustomProperty
-
Field Details
-
companyName
Specifies the company which states the ItemEquivalence.
-
item
-
-
Constructor Details
-
VecItemEquivalence
public VecItemEquivalence()
-
-
Method Details
-
getCompanyName
Gets the value of the companyName property.Specifies the company which states the ItemEquivalence.
- Returns:
- possible object is
String
-
setCompanyName
Sets the value of the companyName property.- Parameters:
value- allowed object isString- See Also:
-
getItem
Gets the value of the item 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 item property.For example, to add a new item, do as follows:
getItem().add(newItem);Objects of the following type(s) are allowed in the list
Object -
getParentDocumentVersion
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 aVecDocumentVersionotherwise 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
-