Class Provenance

    • Constructor Detail

      • Provenance

        public Provenance()
        Creates a new Provenance object without initial data.
    • Method Detail

      • getDataCategoryName

        public String getDataCategoryName()
        Description copied from interface: IITSItem
        Gets the id/name of this data category.
        Returns:
        the id/name of this data category.
      • validate

        public void validate()
        Description copied from interface: IITSItem
        Validates the data category. Checks if all required attributes are set properly.
      • hasUnresolvedGroup

        public boolean hasUnresolvedGroup()
        Description copied from interface: IITSItem
        Indicates if this item has currently a reference to a stand-off element that has not been resolved yet.

        This occurs for example when a unit element has a reference to a set of Provenance instances and the stand-off element has not been read yet (because the reading of the unit's element is done after the reading of its attributes.

        Specified by:
        hasUnresolvedGroup in interface IITSItem
        Overrides:
        hasUnresolvedGroup in class DataCategory
        Returns:
        true if this item has currently an unresolved reference to a stand-off element.
      • createCopy

        public IITSItem createCopy()
        Description copied from interface: IITSItem
        Creates a deep-copy clone of this item.
        Returns:
        the duplicated item.
      • getUnresolvedGroupRef

        public String getUnresolvedGroupRef()
      • setUnresolvedGroupRef

        public void setUnresolvedGroupRef​(String unresolvedGroupRef)
      • getTool

        public String getTool()
        Gets the tool attribute.
        Returns:
        the tool attribute (can be null).
      • setTool

        public void setTool​(String tool)
        Sets a new tool attribute.
        Parameters:
        tool - the new tool attribute (can be null).
      • getToolRef

        public String getToolRef()
      • setToolRef

        public void setToolRef​(String toolRef)
      • getRevTool

        public String getRevTool()
        Gets the revision tool attribute.
        Returns:
        the revision tool attribute (can be null).
      • setRevTool

        public void setRevTool​(String revTool)
        sets a new revision tool attribute.
        Parameters:
        revTool - the new revision tool attribute.
      • getRevToolRef

        public String getRevToolRef()
      • setRevToolRef

        public void setRevToolRef​(String revToolRef)
      • getOrg

        public String getOrg()
      • setOrg

        public void setOrg​(String org)
      • getOrgRef

        public String getOrgRef()
      • setOrgRef

        public void setOrgRef​(String orgRef)
      • getRevOrg

        public String getRevOrg()
      • setRevOrg

        public void setRevOrg​(String revOrg)
      • getRevOrgRef

        public String getRevOrgRef()
      • setRevOrgRef

        public void setRevOrgRef​(String revOrgRef)
      • getPerson

        public String getPerson()
      • setPerson

        public void setPerson​(String person)
      • getPersonRef

        public String getPersonRef()
      • setPersonRef

        public void setPersonRef​(String personRef)
      • getRevPerson

        public String getRevPerson()
      • setRevPerson

        public void setRevPerson​(String revPerson)
      • getRevPersonRef

        public String getRevPersonRef()
      • setRevPersonRef

        public void setRevPersonRef​(String revPersonRef)
      • getProvRef

        public String getProvRef()
      • setProvRef

        public void setProvRef​(String provRef)