Class VecItemHistoryEntry

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

public class VecItemHistoryEntry extends VecExtendableElement implements Serializable, Visitable

An ItemHistroyEntry defines the direct relationship between ItemVersions in the terms of predecessor and successor. There are two possible types of relationships between ItemVersions, derivation and sequence. Derivation means for example for parts, that the successor version is a new part developed on the base of the predecessor version. Sequence means the successor version is an improvement of the predecessor version. By the combination of more than one ItemHistoryEntry a linear sequence of ItemVersions can be represented.

Java class for ItemHistoryEntry complex type.

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


 <complexType name="ItemHistoryEntry">
   <complexContent>
     <extension base="{http://www.prostep.org/ecad-if/2011/vec}ExtendableElement">
       <sequence>
         <element name="Type" type="{http://www.prostep.org/ecad-if/2011/vec}HistoryEntryType"/>
         <element name="PredecessorVersion" type="{http://www.w3.org/2001/XMLSchema}IDREF"/>
         <element name="SuccessorVersion" type="{http://www.w3.org/2001/XMLSchema}IDREF"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 
See Also:
  • Field Details

  • Constructor Details

    • VecItemHistoryEntry

      public VecItemHistoryEntry()
  • Method Details

    • getType

      public VecHistoryEntryType getType()
      Gets the value of the type property.

      Specifies the type of relationship between the ItemVersions.

      Returns:
      possible object is VecHistoryEntryType
    • setType

      public void setType(VecHistoryEntryType value)
      Sets the value of the type property.
      Parameters:
      value - allowed object is VecHistoryEntryType
      See Also:
    • getPredecessorVersion

      public VecItemVersion getPredecessorVersion()
      Gets the value of the predecessorVersion property.
      Returns:
      possible object is Object
    • setPredecessorVersion

      public void setPredecessorVersion(VecItemVersion value)
      Sets the value of the predecessorVersion property.
      Parameters:
      value - allowed object is Object
    • getSuccessorVersion

      public VecItemVersion getSuccessorVersion()
      Gets the value of the successorVersion property.
      Returns:
      possible object is Object
    • setSuccessorVersion

      public void setSuccessorVersion(VecItemVersion value)
      Sets the value of the successorVersion property.
      Parameters:
      value - allowed object is Object
    • 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