Package in.cdac.medinfo.csnotk.csnolib.model

## Class Component

- java.lang.Object
- - in.cdac.medinfo.csnotk.csnolib.model.VersionedComponent
  - - in.cdac.medinfo.csnotk.csnolib.model.Component

- Direct Known Subclasses:
    `Concept`, `ConcreteRelationship`, `Description`, `Relationship`, `SimpleMapRefset`

      public abstract class Component
      extends VersionedComponent

  Component is an abstract class which has been derived from `VersionedComponent` class. Component refers to SNOMED CT component which can be- `Concept`, `Description` or `Relationship`. Every component has a unique id and it derives its other attributes from its parent class VersionedComponent.

- - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `java.lang.String` | `getId()` | Returns the component identifier.
    `void` | `setId​(java.lang.String id)` | Sets the id for a particular Component.

    - ### Methods inherited from class in.cdac.medinfo.csnotk.csnolib.model.VersionedComponent

      `getActiveStatus, getModuleId, getTime, setActiveStatus, setModuleId, setTime`

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### getId

          public java.lang.String getId()

      Returns the component identifier.
      Returns:
        id of the component.

    - #### setId

          public void setId​(java.lang.String id)

      Sets the id for a particular Component.
      Parameters:
        `id` - represents Component id.