Skip to content
Snippets Groups Projects
Commit 8cf8ad7a authored by jakubs's avatar jakubs
Browse files

LMS-2885: add forgotten getContainer and isContained methods to IDataSetImmutable

SVN: 24927
parent 6c6ab307
No related branches found
No related tags found
No related merge requests found
......@@ -277,4 +277,15 @@ public class DataSet<T extends DataSetInformation> extends AbstractDataSetImmuta
throw new UnsupportedOperationException("The operation is not supported for data "
+ "sets not existing prior the transaction start.");
}
//the dataset cannot be contained before it is created
public boolean isContainedDataSet()
{
return false;
}
public String getContainerDataSet()
{
return null;
}
}
......@@ -118,4 +118,14 @@ public interface IDataSetImmutable
*/
public List<String> getContainedDataSetCodes();
/**
* Return true if this data set is contained in other data set
*/
public boolean isContainedDataSet();
/**
* Return the code of the container in which this data set is contained
*/
public String getContainerDataSet();
}
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