Package de.fraunhofer.iese.mydata.client
Class ClientId
- java.lang.Object
-
- de.fraunhofer.iese.mydata.common.MyDataEntity
-
- de.fraunhofer.iese.mydata.client.ClientId
-
- All Implemented Interfaces:
Serializable
@Embeddable public class ClientId extends MyDataEntity implements Serializable
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
static String
getClientIdentifier(ClientId clientId)
int
hashCode()
String
toString()
-
Methods inherited from class de.fraunhofer.iese.mydata.common.MyDataEntity
fromJson, getGson, getGson, toJson, validate, validateAndNullCheck
-
-
-
-
Constructor Detail
-
ClientId
public ClientId()
default constructor
-
ClientId
public ClientId(String id)
- Parameters:
id
- : the urn
-
-
Method Detail
-
toString
public String toString()
- Overrides:
toString
in classMyDataEntity
-
getClientIdentifier
public static String getClientIdentifier(ClientId clientId) throws InvalidEntityException
- Parameters:
clientId
-- Returns:
- the identifier part of the urn
- Throws:
InvalidEntityException
-
-