Package pro.taskana.task.internal.models
Class ObjectReferenceImpl
java.lang.Object
pro.taskana.task.internal.models.ObjectReferenceImpl
- All Implemented Interfaces:
ObjectReference
ObjectReference entity.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()Duplicates this ObjectReference without the id and taskId.booleanReturns 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.inthashCode()voidsetCompany(String company) Sets the company of the ObjectReference.voidvoidSets the system of the ObjectReference.voidsetSystemInstance(String systemInstance) Sets the system instance of the ObjectReference.voidvoidSets the type of the ObjectReference.voidSets the value of the ObjectReference.toString()static voidvalidate(ObjectReference objectReference, String objRefType, String objName)
-
Constructor Details
-
ObjectReferenceImpl
public ObjectReferenceImpl() -
ObjectReferenceImpl
-
-
Method Details
-
getId
Description copied from interface:ObjectReferenceReturns the id of the ObjectReference.- Specified by:
getIdin interfaceObjectReference- Returns:
- the id of the ObjectReference.
-
setId
-
getTaskId
Description copied from interface:ObjectReferenceReturns the id of the associated Task.- Specified by:
getTaskIdin interfaceObjectReference- Returns:
- taskId
-
setTaskId
-
getCompany
Description copied from interface:ObjectReferenceReturns the company of the ObjectReference.- Specified by:
getCompanyin interfaceObjectReference- Returns:
- company
-
setCompany
Description copied from interface:ObjectReferenceSets the company of the ObjectReference.- Specified by:
setCompanyin interfaceObjectReference- Parameters:
company- the company of the ObjectReference
-
getSystem
Description copied from interface:ObjectReferenceReturns the system of the ObjectReference.- Specified by:
getSystemin interfaceObjectReference- Returns:
- system
-
setSystem
Description copied from interface:ObjectReferenceSets the system of the ObjectReference.- Specified by:
setSystemin interfaceObjectReference- Parameters:
system- the system of the ObjectReference
-
getSystemInstance
Description copied from interface:ObjectReferenceReturns the systemInstance of the ObjectReference.- Specified by:
getSystemInstancein interfaceObjectReference- Returns:
- systemInstance
-
setSystemInstance
Description copied from interface:ObjectReferenceSets the system instance of the ObjectReference.- Specified by:
setSystemInstancein interfaceObjectReference- Parameters:
systemInstance- the systemInstance of the ObjectReference
-
getType
Description copied from interface:ObjectReferenceReturns the type of the ObjectReference.- Specified by:
getTypein interfaceObjectReference- Returns:
- type
-
setType
Description copied from interface:ObjectReferenceSets the type of the ObjectReference.- Specified by:
setTypein interfaceObjectReference- Parameters:
type- the type of the ObjectReference
-
getValue
Description copied from interface:ObjectReferenceReturns the value of the ObjectReference.- Specified by:
getValuein interfaceObjectReference- Returns:
- value
-
setValue
Description copied from interface:ObjectReferenceSets the value of the ObjectReference.- Specified by:
setValuein interfaceObjectReference- Parameters:
value- the value of the ObjectReference
-
copy
Description copied from interface:ObjectReferenceDuplicates this ObjectReference without the id and taskId.- Specified by:
copyin interfaceObjectReference- Returns:
- a copy of this ObjectReference
-
validate
public static void validate(ObjectReference objectReference, String objRefType, String objName) throws InvalidArgumentException - Throws:
InvalidArgumentException
-
hashCode
public int hashCode() -
equals
-
toString
-