Class VecPermission

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

public class VecPermission extends VecExtendableElement implements Serializable, Visitable

Describes an act of acceptance together with information about the responsible person, department and company who directly provoked the approval level and status as described in the referenced Approval-instance. (see KBLFRM-229)

Java class for Permission complex type.

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


 <complexType name="Permission">
   <complexContent>
     <extension base="{http://www.prostep.org/ecad-if/2011/vec}ExtendableElement">
       <sequence>
         <element name="Permission" type="{http://www.prostep.org/ecad-if/2011/vec}TypeOfPermission"/>
         <element name="PermissionDate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
         <element name="Permitter" type="{http://www.prostep.org/ecad-if/2011/vec}Person" minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 
See Also:
  • Field Details

    • permission

      protected String permission

      Specifies the type of permission. Predefined values are: Seen, Checked, Released.

    • permissionDate

      protected XMLGregorianCalendar permissionDate

      Specifies the date when the permission was stated.

    • permitter

      protected VecPerson permitter

      Specifies the person who was involved in the approval process giving a certain Permission.

  • Constructor Details

    • VecPermission

      public VecPermission()
  • Method Details

    • getPermission

      public String getPermission()
      Gets the value of the permission property.

      Specifies the type of permission. Predefined values are: Seen, Checked, Released.

      Returns:
      possible object is String
    • setPermission

      public void setPermission(String value)
      Sets the value of the permission property.
      Parameters:
      value - allowed object is String
      See Also:
    • getPermissionDate

      public XMLGregorianCalendar getPermissionDate()
      Gets the value of the permissionDate property.

      Specifies the date when the permission was stated.

      Returns:
      possible object is XMLGregorianCalendar
    • setPermissionDate

      public void setPermissionDate(XMLGregorianCalendar value)
      Sets the value of the permissionDate property.
      Parameters:
      value - allowed object is XMLGregorianCalendar
      See Also:
    • getPermitter

      public VecPerson getPermitter()
      Gets the value of the permitter property.

      Specifies the person who was involved in the approval process giving a certain Permission.

      Returns:
      possible object is VecPerson
    • setPermitter

      public void setPermitter(VecPerson value)
      Sets the value of the permitter property.
      Parameters:
      value - allowed object is VecPerson
      See Also:
    • getParentApproval

      public VecApproval getParentApproval()
      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 VecApproval 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