Package pl.edu.icm.unity.types.basic
Class EntityParam
java.lang.Object
pl.edu.icm.unity.types.basic.EntityParam
- All Implemented Interfaces:
InitializationValidator
Allows for flexible addressing of a subject of a method operating on a particular entity:
either using entityId or using
IdentityValue
(belonging to the entity).- Author:
- K. Benedyczak
-
Constructor Details
-
EntityParam
- Parameters:
entityId
-
-
EntityParam
-
-
Method Details
-
validateInitialization
Description copied from interface:InitializationValidator
Throws exception if some of the fields are null or incomplete.- Specified by:
validateInitialization
in interfaceInitializationValidator
- Throws:
IllegalIdentityValueException
-
getEntityId
-
getIdentity
-
toString
-
hashCode
public int hashCode() -
equals
-