java.lang.Object
com.foursoft.harness.vec.v113.VecExtendableElement
com.foursoft.harness.vec.v113.VecContract
- All Implemented Interfaces:
Identifiable,ModifiableIdentifiable,HasCustomProperties<VecCustomProperty>,Visitable,Serializable
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 Summary
FieldsModifier and TypeFieldDescriptionprotected StringSpecifies the company which acts in the specified Role in the Contract Relationship.protected StringThe role the company takes in reference to the associated ItemVersion.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.Gets the value of the contractRole property.Gets a reference to the parent of this object in the XML DOM Tree.Gets aSetof allVecItemVersionthat 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.voidsetCompanyName(String value) Sets the value of the companyName property.voidsetContractRole(String value) Sets the value of the contractRole 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 acts in the specified Role in the Contract Relationship.
-
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
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
Sets the value of the companyName property.- Parameters:
value- allowed object isString- See Also:
-
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
Sets the value of the contractRole property.- Parameters:
value- allowed object isString- See Also:
-
getRefItemVersion
Gets aSetof allVecItemVersionthat 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. -
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 aVecContentotherwise 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
-