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

public class VecContract extends VecExtendableElement implements Serializable, Visitable

A Contract-instance describes the relationship between an ItemVersion-instance and a Company-instance additionally defining the role the company takes in reference to the ItemVersion.

Java class for Contract complex type.

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


 <complexType name="Contract">
   <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="ContractRole" type="{http://www.prostep.org/ecad-if/2011/vec}ContractRole"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 
See Also:
  • Field Details

    • companyName

      protected String companyName

      Specifies the company which acts in the specified Role in the Contract Relationship.

    • contractRole

      protected String contractRole

      The role the company takes in reference to the associated ItemVersion. Predefined are the values: Oem, Supplier and Manufacturer.

  • Constructor Details

    • VecContract

      public VecContract()
  • Method Details

    • getCompanyName

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

      Specifies the company which acts in the specified Role in the Contract Relationship.

      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:
    • getContractRole

      public String getContractRole()
      Gets the value of the contractRole property.

      The role the company takes in reference to the associated ItemVersion. Predefined are the values: Oem, Supplier and Manufacturer.

      Returns:
      possible object is String
    • setContractRole

      public void setContractRole(String value)
      Sets the value of the contractRole property.
      Parameters:
      value - allowed object is String
      See Also:
    • getRefItemVersion

      public Set<VecItemVersion> getRefItemVersion()
      Gets a Set of all VecItemVersion 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