Package pro.taskana.task.api.models
Interface ObjectReference
- All Known Implementing Classes:
ObjectReferenceImpl
public interface ObjectReference
ObjectReference-Interface to specify ObjectReference Attributes.
-
Method Summary
Modifier and TypeMethodDescriptioncopy()Duplicates this ObjectReference without the id and taskId.Returns the company of the ObjectReference.getId()Returns the id of the ObjectReference.Returns the system of the ObjectReference.Returns the systemInstance of the ObjectReference.Returns the id of the associated Task.getType()Returns the type of the ObjectReference.getValue()Returns the value of the ObjectReference.voidsetCompany(String company) Sets the company of the ObjectReference.voidSets the system of the ObjectReference.voidsetSystemInstance(String systemInstance) Sets the system instance of the ObjectReference.voidSets the type of the ObjectReference.voidSets the value of the ObjectReference.
-
Method Details
-
getId
String getId()Returns the id of the ObjectReference.- Returns:
- the id of the ObjectReference.
-
getTaskId
String getTaskId()Returns the id of the associated Task.- Returns:
- taskId
-
getCompany
String getCompany()Returns the company of the ObjectReference.- Returns:
- company
-
setCompany
Sets the company of the ObjectReference.- Parameters:
company- the company of the ObjectReference
-
getSystem
String getSystem()Returns the system of the ObjectReference.- Returns:
- system
-
setSystem
Sets the system of the ObjectReference.- Parameters:
system- the system of the ObjectReference
-
getSystemInstance
String getSystemInstance()Returns the systemInstance of the ObjectReference.- Returns:
- systemInstance
-
setSystemInstance
Sets the system instance of the ObjectReference.- Parameters:
systemInstance- the systemInstance of the ObjectReference
-
getType
String getType()Returns the type of the ObjectReference.- Returns:
- type
-
setType
Sets the type of the ObjectReference.- Parameters:
type- the type of the ObjectReference
-
getValue
String getValue()Returns the value of the ObjectReference.- Returns:
- value
-
setValue
Sets the value of the ObjectReference.- Parameters:
value- the value of the ObjectReference
-
copy
ObjectReference copy()Duplicates this ObjectReference without the id and taskId.- Returns:
- a copy of this ObjectReference
-