package org.ohdsi.webapi.model;

import java.util.Date;

public class CohortAttribute {
	
	public static final String COHORT_DEFINITION_ID = "COHORT_DEFINITION_ID";
	public static final String COHORT_START_DATE = "COHORT_START_DATE";
	public static final String COHORT_END_DATE = "COHORT_END_DATE";
	public static final String SUBJECT_ID = "SUBJECT_ID";
	public static final String ATTRIBUTE_DEFINITION_JD = "ATTRIBUTE_DEFINITION_ID";
	public static final String VALUE_AS_NUMBER = "VALUE_AS_NUMBER";
	public static final String VALUE_AS_CONCEPT_ID = "VALUE_AS_CONCEPT_ID";

	private int cohortDefinitionId;
	
	private Date cohortStartDate;
	
	private Date cohrotEndDate;
	
	private int subjectId;
	
	private int attributeDefinitionId;
	
	private double valueAsNumber;
	
	private int valueAsConceptId;

	public int getCohortDefinitionId() {
		return cohortDefinitionId;
	}

	public void setCohortDefinitionId(int cohortDefinitionId) {
		this.cohortDefinitionId = cohortDefinitionId;
	}

	public Date getCohortStartDate() {
		return cohortStartDate;
	}

	public void setCohortStartDate(Date cohortStartDate) {
		this.cohortStartDate = cohortStartDate;
	}

	public Date getCohrotEndDate() {
		return cohrotEndDate;
	}

	public void setCohrotEndDate(Date cohrotEndDate) {
		this.cohrotEndDate = cohrotEndDate;
	}

	public int getSubjectId() {
		return subjectId;
	}

	public void setSubjectId(int subjectId) {
		this.subjectId = subjectId;
	}

	public int getAttributeDefinitionId() {
		return attributeDefinitionId;
	}

	public void setAttributeDefinitionId(int attributeDefinitionId) {
		this.attributeDefinitionId = attributeDefinitionId;
	}

	public double getValueAsNumber() {
		return valueAsNumber;
	}

	public void setValueAsNumber(double valueAsNumber) {
		this.valueAsNumber = valueAsNumber;
	}

	public int getValueAsConceptId() {
		return valueAsConceptId;
	}

	public void setValueAsConceptId(int valueAsConceptId) {
		this.valueAsConceptId = valueAsConceptId;
	}
}

@@ -396,17 +396,17 @@
 INITION_
-J
+I
 D = %22ATT
@@ -644,34 +644,34 @@
 private Date coh
-r
 o
+r
 tEndDate;%0A%09%0A%09pri
@@ -1162,26 +1162,26 @@
  Date getCoh
-r
 o
+r
 tEndDate() %7B
@@ -1189,26 +1189,26 @@
 %09%09return coh
-r
 o
+r
 tEndDate;%0A%09%7D
@@ -1228,18 +1228,18 @@
 d setCoh
-r
 o
+r
 tEndDate
@@ -1271,18 +1271,18 @@
 this.coh
-r
 o
+r
 tEndDate

fix typos