Class AffiliationId
java.lang.Object
de.fraunhofer.iese.mydata.common.MyDataEntity
de.fraunhofer.iese.mydata.affiliation.AffiliationId
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
-
Method Summary
Methods inherited from class de.fraunhofer.iese.mydata.common.MyDataEntity
fromJson, getGson, getGson, toJson, validate, validateAndNullCheck
-
Constructor Details
-
AffiliationId
public AffiliationId()default constructor -
AffiliationId
- Parameters:
urnOrIdentifier
- will be set to the urn if starts with "urn:affiliation:", else the prefix will be add and set as urn
-
-
Method Details
-
setUrn
- Parameters:
urnOrIdentifier
- will be set to the urn if starts with "urn:affiliation:", else the prefix will be add and set as urn
-
getIdentifier
- Returns:
- the identifier part (without urn:affiliation) of this affiliationid
- Throws:
InvalidEntityException
- in case of an invalid affiliationid
-
setIdentifier
- Throws:
InvalidEntityException
-
toString
- Overrides:
toString
in classMyDataEntity
-
equals
-
hashCode
public int hashCode()
-