package org.ihtsdo.otf.snomedboot.factory.implementation.standard;

import org.ihtsdo.otf.snomedboot.domain.Description;

public class DescriptionImpl implements Description {

	private final String id;
	private final boolean active;
	private final String term;
	private final String conceptId;

	public DescriptionImpl(String id, boolean active, String term, String conceptId) {
		this.id = id;
		this.active = active;
		this.term = term;
		this.conceptId = conceptId;
	}

	public DescriptionImpl(String term, boolean active, String conceptId) {
		this.id = "";
		this.active = active;
		this.term = term;
		this.conceptId = conceptId;
	}

	@Override
	public String getId() {
		return id;
	}

	@Override
	public boolean isActive() {
		return active;
	}

	@Override
	public String getTerm() {
		return term;
	}

	@Override
	public String getConceptId() {
		return conceptId;
	}
}

@@ -185,20 +185,18 @@
 e final 
-Stri
+Lo
 ng id;%0A%09
@@ -268,20 +268,18 @@
 e final 
-Stri
+Lo
 ng conce
@@ -381,18 +381,34 @@
 is.id = 
+Long.parseLong(
 id
+)
 ;%0A%09%09this
@@ -456,32 +456,48 @@
 his.conceptId = 
+ Long.parseLong(
 conceptId;%0A%09%7D%0A%0A%09
@@ -485,24 +485,25 @@
 ng(conceptId
+)
 ;%0A%09%7D%0A%0A%09publi
@@ -549,20 +549,18 @@
 active, 
-Stri
+Lo
 ng conce
@@ -583,10 +583,12 @@
 d = 
-%22%22
+null
 ;%0A%09%09
@@ -678,28 +678,26 @@
 ide%0A%09public 
-Stri
+Lo
 ng getId() %7B
@@ -847,28 +847,26 @@
 ide%0A%09public 
-Stri
+Lo
 ng getConcep

Bring DescriptionImpl into line with ConceptImpl ie parse Id String to Lond