Skip to content
Snippets Groups Projects
Commit 24ffdbc9 authored by cramakri's avatar cramakri
Browse files

LMS-1988 Store the data set type directly in DataSetInformation.

SVN: 19708
parent 8a0a9147
No related branches found
No related tags found
No related merge requests found
......@@ -35,8 +35,6 @@ public class DataSetRegistrationDetails<T extends DataSetInformation> implements
private String processorType;
private DataSetType dataSetType;
private LocatorType locatorType;
private T dataSetInformation;
......@@ -65,7 +63,7 @@ public class DataSetRegistrationDetails<T extends DataSetInformation> implements
public DataSetType getDataSetType(File incomingDataSetPath)
{
return dataSetType;
return getDataSetType();
}
public LocatorType getLocatorType(File incomingDataSetPath)
......@@ -111,12 +109,12 @@ public class DataSetRegistrationDetails<T extends DataSetInformation> implements
public DataSetType getDataSetType()
{
return dataSetType;
return dataSetInformation.getDataSetType();
}
public void setDataSetType(DataSetType dataSetType)
{
this.dataSetType = dataSetType;
dataSetInformation.setDataSetType(dataSetType);
}
public LocatorType getLocatorType()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment