Class SolutionId
java.lang.Object
de.fraunhofer.iese.mydata.common.MyDataEntity
de.fraunhofer.iese.mydata.solution.SolutionId
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
static SolutionId
fromActionId
(ActionId aid) static SolutionId
fromClientId
(ClientId clientId) static SolutionId
fromComponentId
(ComponentId componentId) static SolutionId
fromInfoId
(InfoId iid) static SolutionId
fromPolicyId
(PolicyId pid) static SolutionId
fromTimerId
(TimerId tid) int
hashCode()
void
setIdentifier
(String identifier) void
toString()
Methods inherited from class de.fraunhofer.iese.mydata.common.MyDataEntity
fromJson, getGson, getGson, toJson, validate, validateAndNullCheck
-
Constructor Details
-
SolutionId
public SolutionId() -
SolutionId
- Parameters:
urnOrIdentifier
- will be set to the urn if starts with "urn:solution:", else the prefix will be add and set as urn
-
-
Method Details
-
fromPolicyId
- Throws:
InvalidEntityException
-
fromTimerId
- Throws:
InvalidEntityException
-
fromActionId
- Throws:
InvalidEntityException
-
fromComponentId
- Throws:
InvalidEntityException
-
fromClientId
-
fromInfoId
- Throws:
InvalidEntityException
-
setUrn
- Parameters:
urnOrIdentifier
- will be set to the urn if starts with "urn:solution:", else the prefix will be add and set as urn
-
toString
- Overrides:
toString
in classMyDataEntity
-
equals
-
hashCode
public int hashCode() -
getIdentifier
- Throws:
InvalidEntityException
-
setIdentifier
- Throws:
InvalidEntityException
-