Class ComponentId
- java.lang.Object
-
- de.fraunhofer.iese.mydata.common.MyDataEntity
-
- de.fraunhofer.iese.mydata.component.ComponentId
-
- All Implemented Interfaces:
Serializable
@Embeddable public class ComponentId extends MyDataEntity implements Serializable
A component ID uniquely names an IND²UCE component. The ID is an URN which must follow the format "urn:component:<solution>:<p*p>:<name>", where "<p*p>" can be pap, pdp, pep, pip, pmp, ms, prp, or pxp.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ComponentId()
Parameterless constructor is required for JPA.ComponentId(String urn)
Instantiates a new component component_id.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
ComponentType
getComponentType()
int
hashCode()
String
toString()
-
Methods inherited from class de.fraunhofer.iese.mydata.common.MyDataEntity
fromJson, getGson, getGson, toJson, validate, validateAndNullCheck
-
-
-
-
Constructor Detail
-
ComponentId
public ComponentId()
Parameterless constructor is required for JPA.
-
ComponentId
public ComponentId(String urn)
Instantiates a new component component_id.- Parameters:
urn
- the urn
-
-
Method Detail
-
toString
public String toString()
- Overrides:
toString
in classMyDataEntity
-
getComponentType
public ComponentType getComponentType()
-
-