Class DocumentRef

java.lang.Object
dev.tuplle.petri4j.parser.petriflow.model.DocumentRef

public class DocumentRef extends Object

Java class for documentRef complex type.

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

 <complexType name="documentRef">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="id" type="{}nonNegativeLong"/>
         <element name="fields" type="{}nonNegativeLong" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

    • id

      protected long id
    • fields

      protected List<Long> fields
  • Constructor Details

    • DocumentRef

      public DocumentRef()
  • Method Details

    • getId

      public long getId()
      Gets the value of the id property.
    • setId

      public void setId(long value)
      Sets the value of the id property.
    • getFields

      public List<Long> getFields()
      Gets the value of the fields 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 JAXB object. This is why there is not a set method for the fields property.

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

          getFields().add(newItem);
       

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