Package fi.tut.mei.resdescapi.rdapi
Class DataContainer
- java.lang.Object
-
- fi.tut.mei.resdescapi.rdapi.DataContainer
-
public class DataContainer extends Object
Datacontainer storing application wide data. Singleton implementation- Author:
- nikke
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DataContainer
getInstance()
Gets the data container object.ResourceDescription
getRdData()
Gets the resource description(RD).void
setRdData(ResourceDescription rdData)
-
-
-
Method Detail
-
getInstance
public static DataContainer getInstance()
Gets the data container object. Only single instance of the object exists.- Returns:
- the only instance of this class
DataContainer
-
getRdData
public ResourceDescription getRdData()
Gets the resource description(RD).- Returns:
- resource description object
ResourceDescription
-
setRdData
public void setRdData(ResourceDescription rdData)
-
-