ca.infoway.messagebuilder.terminology.codeset.domain
Class CodedValue

Package class diagram package CodedValue
java.lang.Object
  extended by ca.infoway.messagebuilder.terminology.codeset.domain.CodedValue

public class CodedValue
extends Object

A single term taken from a code system.

Author:
Intelliware Development

Constructor Summary
CodedValue()
          Instantiates a new coded value.
 
Method Summary
 int compareTo(Object obj)
          Compare to.
 boolean equals(Object o)
          
 List<CodedValue> getChildren()
          Gets the children.
 String getCode()
          Gets the code.
 CodeSystem getCodeSystem()
          Gets the code system.
 Date getCreateDatetime()
          Gets the creates the datetime.
 String getCreateUserId()
          Gets the creates the user id.
 Map<String,String> getDescriptions()
          Gets the descriptions.
 Long getId()
          Gets the id.
 Date getLastUpdateDatetime()
          Gets the last update datetime.
 List<CodedValue> getParents()
          Gets the parents.
 int hashCode()
          
 void setChildren(List<CodedValue> children)
          Sets the children.
 void setCode(String code)
          Sets the code.
 void setCodeSystem(CodeSystem system)
          Sets the code system.
 void setCreateDatetime(Date createDatetime)
          Sets the creates the datetime.
 void setCreateUserId(String createUserId)
          Sets the creates the user id.
 void setDescriptions(Map<String,String> descriptions)
          Sets the descriptions.
 void setId(Long id)
          Sets the id.
 void setLastUpdateDatetime(Date lastUpdateDatetime)
          Sets the last update datetime.
 void setParents(List<CodedValue> parents)
          Sets the parents.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CodedValue

public CodedValue()

Instantiates a new coded value.

Method Detail

getId

public Long getId()

Gets the id.

Returns:
the id

setId

public void setId(Long id)

Sets the id.

Parameters:
id - the new id

getCode

public String getCode()

Gets the code.

Returns:
the code

setCode

public void setCode(String code)

Sets the code.

Parameters:
code - the new code

getCodeSystem

public CodeSystem getCodeSystem()

Gets the code system.

Returns:
the code system

setCodeSystem

public void setCodeSystem(CodeSystem system)

Sets the code system.

Parameters:
system - the new code system

compareTo

public int compareTo(Object obj)

Compare to.

Parameters:
obj - the obj
Returns:
the int

equals

public boolean equals(Object o)

Overrides:
equals in class Object

hashCode

public int hashCode()

Overrides:
hashCode in class Object

getCreateDatetime

public Date getCreateDatetime()

Gets the creates the datetime.

Returns:
the creates the datetime

setCreateDatetime

public void setCreateDatetime(Date createDatetime)

Sets the creates the datetime.

Parameters:
createDatetime - the new creates the datetime

getCreateUserId

public String getCreateUserId()

Gets the creates the user id.

Returns:
the creates the user id

setCreateUserId

public void setCreateUserId(String createUserId)

Sets the creates the user id.

Parameters:
createUserId - the new creates the user id

getLastUpdateDatetime

public Date getLastUpdateDatetime()

Gets the last update datetime.

Returns:
the last update datetime

setLastUpdateDatetime

public void setLastUpdateDatetime(Date lastUpdateDatetime)

Sets the last update datetime.

Parameters:
lastUpdateDatetime - the new last update datetime

getDescriptions

public Map<String,String> getDescriptions()

Gets the descriptions.

Returns:
the descriptions

setDescriptions

public void setDescriptions(Map<String,String> descriptions)

Sets the descriptions.

Parameters:
descriptions - the descriptions

getParents

public List<CodedValue> getParents()

Gets the parents.

Returns:
the parents

setParents

public void setParents(List<CodedValue> parents)

Sets the parents.

Parameters:
parents - the new parents

getChildren

public List<CodedValue> getChildren()

Gets the children.

Returns:
the children

setChildren

public void setChildren(List<CodedValue> children)

Sets the children.

Parameters:
children - the new children


Copyright © 2013. All Rights Reserved.