Class VecItemEquivalence

java.lang.Object
com.foursoft.harness.vec.v113.VecExtendableElement
com.foursoft.harness.vec.v113.VecItemEquivalence
All Implemented Interfaces:
Identifiable, ModifiableIdentifiable, HasCustomProperties<VecCustomProperty>, Visitable, Serializable

public class VecItemEquivalence extends VecExtendableElement implements Serializable, Visitable

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 Details

    • companyName

      protected String companyName

      Specifies the company which states the ItemEquivalence.

    • item

      protected List<VecItemVersion> item
  • Constructor Details

    • VecItemEquivalence

      public VecItemEquivalence()
  • Method Details

    • getCompanyName

      public String getCompanyName()
      Gets the value of the companyName property.

      Specifies the company which states the ItemEquivalence.

      Returns:
      possible object is String
    • setCompanyName

      public void setCompanyName(String value)
      Sets the value of the companyName property.
      Parameters:
      value - allowed object is String
      See Also:
    • getItem

      public List<VecItemVersion> 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 set method 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

      public VecDocumentVersion 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 a VecDocumentVersion 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