public class Provenance extends DataCategory
| Constructor and Description |
|---|
Provenance()
Creates a new
Provenance object without initial data. |
| Modifier and Type | Method and Description |
|---|---|
IITSItem |
createCopy()
Creates a deep-copy clone of this item.
|
String |
getDataCategoryName()
Gets the id/name of this data category.
|
String |
getOrg() |
String |
getOrgRef() |
String |
getPerson() |
String |
getPersonRef() |
String |
getProvRef() |
String |
getRevOrg() |
String |
getRevOrgRef() |
String |
getRevPerson() |
String |
getRevPersonRef() |
String |
getRevTool()
Gets the revision tool attribute.
|
String |
getRevToolRef() |
String |
getTool()
Gets the tool attribute.
|
String |
getToolRef() |
String |
getUnresolvedGroupRef() |
boolean |
hasUnresolvedGroup()
Indicates if this item has currently a reference to a stand-off element that
has not been resolved yet.
|
void |
setOrg(String org) |
void |
setOrgRef(String orgRef) |
void |
setPerson(String person) |
void |
setPersonRef(String personRef) |
void |
setProvRef(String provRef) |
void |
setRevOrg(String revOrg) |
void |
setRevOrgRef(String revOrgRef) |
void |
setRevPerson(String revPerson) |
void |
setRevPersonRef(String revPersonRef) |
void |
setRevTool(String revTool)
sets a new revision tool attribute.
|
void |
setRevToolRef(String revToolRef) |
void |
setTool(String tool)
Sets a new tool attribute.
|
void |
setToolRef(String toolRef) |
void |
setUnresolvedGroupRef(String unresolvedGroupRef) |
void |
validate()
Validates the data category.
|
getAnnotatorRef, isGroup, setAnnotatorRef, setAnnotatorRefpublic Provenance()
Provenance object without initial data.public String getDataCategoryName()
IITSItempublic void validate()
IITSItempublic boolean hasUnresolvedGroup()
IITSItemThis 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.
hasUnresolvedGroup in interface IITSItemhasUnresolvedGroup in class DataCategorypublic IITSItem createCopy()
IITSItempublic String getUnresolvedGroupRef()
public void setUnresolvedGroupRef(String unresolvedGroupRef)
public String getTool()
public void setTool(String tool)
tool - the new tool attribute (can be null).public String getToolRef()
public void setToolRef(String toolRef)
public String getRevTool()
public void setRevTool(String revTool)
revTool - the new revision tool attribute.public String getRevToolRef()
public void setRevToolRef(String revToolRef)
public String getOrg()
public void setOrg(String org)
public String getOrgRef()
public void setOrgRef(String orgRef)
public String getRevOrg()
public void setRevOrg(String revOrg)
public String getRevOrgRef()
public void setRevOrgRef(String revOrgRef)
public String getPerson()
public void setPerson(String person)
public String getPersonRef()
public void setPersonRef(String personRef)
public String getRevPerson()
public void setRevPerson(String revPerson)
public String getRevPersonRef()
public void setRevPersonRef(String revPersonRef)
public String getProvRef()
public void setProvRef(String provRef)
Copyright © 2020. All rights reserved.