Class Code
java.lang.Object
org.openehealth.ipf.commons.ihe.xds.core.metadata.Hl7v2Based<CE>
org.openehealth.ipf.commons.ihe.xds.core.metadata.Code
- All Implemented Interfaces:
Serializable
Represents a code.
All members of this class are allowed to be null
.
- Author:
- Jens Riemschneider, Dmytro Rud
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.openehealth.ipf.commons.ihe.xds.core.metadata.Hl7v2Based
Hl7v2Based.Holder<T extends Type>
-
Field Summary
Fields inherited from class org.openehealth.ipf.commons.ihe.xds.core.metadata.Hl7v2Based
MESSAGE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getCode()
int
hashCode()
void
void
setDisplayName
(LocalizedString displayName) void
setSchemeName
(String schemeName) toString()
Methods inherited from class org.openehealth.ipf.commons.ihe.xds.core.metadata.Hl7v2Based
getHapiObject, getIntegerValue, getLongValue, isEmpty, parse, rawRender, render, render, setAssigningAuthority, setValue, setValue
-
Constructor Details
-
Code
public Code()Constructs a code. -
Code
Constructs a code. -
Code
Constructs a code.- Parameters:
code
- the value of the code.displayName
- the display name of the code.schemeName
- the schema of the code.
-
-
Method Details
-
getCode
- Returns:
- the value of this code.
-
setCode
- Parameters:
code
- the value of this code.
-
getDisplayName
- Returns:
- the display name of this code.
-
setDisplayName
- Parameters:
displayName
- the display name of this code.
-
getSchemeName
- Returns:
- the schema of this code.
-
setSchemeName
- Parameters:
schemeName
- the schema of this code.
-
equals
-
hashCode
public int hashCode() -
toString
-