java.lang.Object
com.foursoft.harness.vec.v113.VecExtendableElement
com.foursoft.harness.vec.v113.VecApproval
All Implemented Interfaces:
Identifiable, ModifiableIdentifiable, HasCustomProperties<VecCustomProperty>, HasDescription<VecAbstractLocalizedString>, HasIdentification, HasModifiableIdentification, Visitable, Serializable

Defines the approval of an ItemVersion. This consists of the StatusOfApproval and the Permissions issued for the approval.

Java class for Approval complex type.

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


 <complexType name="Approval">
   <complexContent>
     <extension base="{http://www.prostep.org/ecad-if/2011/vec}ExtendableElement">
       <sequence>
         <element name="Identification" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="Description" type="{http://www.prostep.org/ecad-if/2011/vec}AbstractLocalizedString" maxOccurs="unbounded" minOccurs="0"/>
         <element name="CompanyInScope" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
         <element name="Status" type="{http://www.prostep.org/ecad-if/2011/vec}StatusOfApproval"/>
         <element name="LevelOfApproval" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="Permission" type="{http://www.prostep.org/ecad-if/2011/vec}Permission" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 
See Also:
  • Field Details

    • identification

      protected String identification

      Specifies a unique identification of the approval. The identification is guaranteed to be unique over all VEC-documents. Normally this would reference to a company specific approval number or something similar. KBLFRM-349

    • descriptions

      protected List<VecAbstractLocalizedString> descriptions

      Room for additional information about the item.

    • companyInScopes

      protected List<String> companyInScopes

      Room to specify for which companies the Approval is valid. It might be e.g. that an approved Item may only be delivered by some specific company.

    • status

      protected String status

      The approval level concerning approval status. Predefined are the values: NotYetApproved, Approved and Withdrawn. KBLFRM-349

    • levelOfApproval

      protected String levelOfApproval

      Describes activities that can be started after release for example building pilot tools or production tools.

    • permissions

      protected List<VecPermission> permissions

      Specifies the permission issued with the approval.

  • Constructor Details

    • VecApproval

      public VecApproval()
  • Method Details

    • getIdentification

      public String getIdentification()
      Gets the value of the identification property.

      Specifies a unique identification of the approval. The identification is guaranteed to be unique over all VEC-documents. Normally this would reference to a company specific approval number or something similar. KBLFRM-349

      Specified by:
      getIdentification in interface HasIdentification
      Returns:
      possible object is String
    • setIdentification

      public void setIdentification(String value)
      Sets the value of the identification property.
      Specified by:
      setIdentification in interface HasModifiableIdentification
      Parameters:
      value - allowed object is String
      See Also:
    • getDescriptions

      public List<VecAbstractLocalizedString> getDescriptions()
      Gets the value of the descriptions 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 descriptions property.

      For example, to add a new item, do as follows:

          getDescriptions().add(newItem);
       

      Objects of the following type(s) are allowed in the list VecAbstractLocalizedString

      Room for additional information about the item.

      Specified by:
      getDescriptions in interface HasDescription<VecAbstractLocalizedString>
      Returns:
      The value of the descriptions property.
    • getCompanyInScopes

      public List<String> getCompanyInScopes()
      Gets the value of the companyInScopes 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 companyInScopes property.

      For example, to add a new item, do as follows:

          getCompanyInScopes().add(newItem);
       

      Objects of the following type(s) are allowed in the list String

      Room to specify for which companies the Approval is valid. It might be e.g. that an approved Item may only be delivered by some specific company.

      Returns:
      The value of the companyInScopes property.
    • getStatus

      public String getStatus()
      Gets the value of the status property.

      The approval level concerning approval status. Predefined are the values: NotYetApproved, Approved and Withdrawn. KBLFRM-349

      Returns:
      possible object is String
    • setStatus

      public void setStatus(String value)
      Sets the value of the status property.
      Parameters:
      value - allowed object is String
      See Also:
    • getLevelOfApproval

      public String getLevelOfApproval()
      Gets the value of the levelOfApproval property.

      Describes activities that can be started after release for example building pilot tools or production tools.

      Returns:
      possible object is String
    • setLevelOfApproval

      public void setLevelOfApproval(String value)
      Sets the value of the levelOfApproval property.
      Parameters:
      value - allowed object is String
      See Also:
    • getPermissions

      public List<VecPermission> getPermissions()
      Gets the value of the permissions 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 permissions property.

      For example, to add a new item, do as follows:

          getPermissions().add(newItem);
       

      Objects of the following type(s) are allowed in the list VecPermission

      Specifies the permission issued with the approval.

      Returns:
      The value of the permissions property.
    • getParentItemVersion

      public VecItemVersion getParentItemVersion()
      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 VecItemVersion 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