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

Package class diagram package VocabularyDomain
java.lang.Object
  extended by ca.infoway.messagebuilder.terminology.codeset.domain.VocabularyDomain
All Implemented Interfaces:
Describable

public class VocabularyDomain
extends Object
implements Describable

An identifier for a business concept that is used in a particular field of an HL7 message.

Author:
Intelliware Development

Constructor Summary
VocabularyDomain()
          Instantiates a new vocabulary domain.
VocabularyDomain(String type)
          Instantiates a new vocabulary domain.
 
Method Summary
 int compareTo(Object obj)
          Compare to.
 boolean equals(Object o)
          
 String getBusinessName()
          Gets the business name.
 String getDescription()
          Gets the description.
 Long getId()
          Gets the id.
 VocabularyDomain getParent()
          Gets the parent.
 VocabularyDomain getRoot()
          Gets the root.
 String getType()
          Gets the type.
 Class<?> getTypeAsClass()
          Gets the type as class.
 String getUnqualifiedType()
          Gets the unqualified type.
 int hashCode()
          
 boolean isRootType()
          Checks if is root type.
 void setBusinessName(String businessName)
          Sets the business name.
 void setDescription(String description)
          Sets the description.
 void setId(Long id)
          Sets the id.
 void setParent(VocabularyDomain parent)
          Sets the parent.
 void setRoot(VocabularyDomain root)
          Sets the root.
 void setType(String type)
          Sets the type.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VocabularyDomain

public VocabularyDomain()

Instantiates a new vocabulary domain.


VocabularyDomain

public VocabularyDomain(String type)

Instantiates a new vocabulary domain.

Parameters:
type - the type
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

getType

public String getType()

Gets the type.

Returns:
the type

getTypeAsClass

public Class<?> getTypeAsClass()

Gets the type as class.

Returns:
the type as class

getUnqualifiedType

public String getUnqualifiedType()

Gets the unqualified type.

Returns:
the unqualified type

setType

public void setType(String type)

Sets the type.

Parameters:
type - the new type

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

getBusinessName

public String getBusinessName()

Gets the business name.

Returns:
the business name

setBusinessName

public void setBusinessName(String businessName)

Sets the business name.

Parameters:
businessName - the new business name

getDescription

public String getDescription()

Gets the description.

Specified by:
getDescription in interface Describable
Returns:
the description

setDescription

public void setDescription(String description)

Sets the description.

Parameters:
description - the new description

getParent

public VocabularyDomain getParent()

Gets the parent.

Returns:
the parent

setParent

public void setParent(VocabularyDomain parent)

Sets the parent.

Parameters:
parent - the new parent

getRoot

public VocabularyDomain getRoot()

Gets the root.

Returns:
the root

setRoot

public void setRoot(VocabularyDomain root)

Sets the root.

Parameters:
root - the new root

isRootType

public boolean isRootType()

Checks if is root type.

Returns:
true, if is root type


Copyright © 2013. All Rights Reserved.