Package no.nsd.qddt.domain.embedded
Class Urn
- java.lang.Object
-
- no.nsd.qddt.domain.embedded.Urn
-
@Embeddable public class Urn extends java.lang.ObjectURN's are the ID's that are used for all entities that can be exported out of this solution. This Solution will also need to keep track of these while importing entities from external systems, so that entities will keep their relationship even when they are reintroduced into this system.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)AgencygetAgency()java.util.UUIDgetId()VersiongetVersion()inthashCode()voidsetAgency(Agency agency)voidsetId(java.util.UUID guid)voidsetVersion(Version version)java.lang.StringtoString()
-
-
-
Method Detail
-
getId
public java.util.UUID getId()
-
setId
public void setId(java.util.UUID guid)
-
getAgency
public Agency getAgency()
-
setAgency
public void setAgency(Agency agency)
-
getVersion
public Version getVersion()
-
setVersion
public void setVersion(Version version)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-