Class CXiAssigningAuthority
- java.lang.Object
-
- org.openehealth.ipf.commons.ihe.xds.core.metadata.Hl7v2Based<org.openehealth.ipf.commons.ihe.xds.core.metadata.Hl7v2Based.Holder<HD>>
-
- org.openehealth.ipf.commons.ihe.xds.core.metadata.AssigningAuthority
-
- org.openehealth.ipf.commons.ihe.xds.core.metadata.CXiAssigningAuthority
-
- All Implemented Interfaces:
Serializable
public class CXiAssigningAuthority extends AssigningAuthority
Assigning Authority for the CXi data type, allowing both the Namespace ID and the combination of Universal ID and Universal ID Type.All members of this class are allowed to be
null
. When transforming to HL7 this indicates that the values are empty. Trailing empty values are removed from the HL7 string.- Author:
- Jens Riemschneider, Dmytro Rud
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.openehealth.ipf.commons.ihe.xds.core.metadata.Hl7v2Based
MESSAGE
-
-
Constructor Summary
Constructors Constructor Description CXiAssigningAuthority()
CXiAssigningAuthority(HD hd)
CXiAssigningAuthority(String namespaceId, String universalId, String universalIdType)
Constructs an assigning authority.CXiAssigningAuthority(org.openehealth.ipf.commons.ihe.xds.core.metadata.Hl7v2Based.Holder<HD> hdHolder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getNamespaceId()
int
hashCode()
void
setNamespaceId(String namespaceId)
String
toString()
-
Methods inherited from class org.openehealth.ipf.commons.ihe.xds.core.metadata.AssigningAuthority
getUniversalId, getUniversalIdType, setUniversalId, setUniversalIdType
-
Methods inherited from class org.openehealth.ipf.commons.ihe.xds.core.metadata.Hl7v2Based
getHapiObject, getIntegerValue, getLongValue, isEmpty, parse, rawRender, render, render, setAssigningAuthority, setValue, setValue
-
-
-
-
Method Detail
-
getNamespaceId
public String getNamespaceId()
- Returns:
- the namespace ID (HD.1).
-
setNamespaceId
public void setNamespaceId(String namespaceId)
- Parameters:
namespaceId
- the namespace ID (HD.1).
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classAssigningAuthority
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classAssigningAuthority
-
toString
public String toString()
- Overrides:
toString
in classAssigningAuthority
-
-