@Configurable(preConstruction=true) public class EDIWorkspaceImpl extends java.lang.Object implements EDIWorkspace
Constructor and Description |
---|
EDIWorkspaceImpl(ReadableDataLocation ediDocument) |
Modifier and Type | Method and Description |
---|---|
java.util.List<SdmxBeans> |
getBeans()
Returns a list of the SdmxBeans created by
|
DataReaderEngine |
getDataReader(DataStructureBean keyFamily,
DataflowBean dataflowBean)
Returns a data reader for the key family, only the workspaces that match the given key family bean will be used
|
DataReaderEngine |
getDataReader(SdmxBeanRetrievalManager beanRetrieval)
Returns a dataset reader engine that can be used to iterate over the contained datasets.
|
java.util.List<DatasetHeaderBean> |
getDatasetHeaders()
Returns a list of all the dataset headers contained in the workspace
If hasData() returns false then there will be dataset headers and an empty list will be returned
|
java.util.List<EDIDataDocument> |
getEDIDataDocument() |
HeaderBean |
getHeader()
Returns the header of an EDI message
|
SdmxBeans |
getMergedBeans()
If there are more then one SdmxBeans, this method will return the beans in one merged container.
|
boolean |
hasData()
Returns true if there are any EDIDataDocuments in this workspace
|
boolean |
hasStructures()
Returns true if there are any SdmxBeans in this workspace
|
public EDIWorkspaceImpl(ReadableDataLocation ediDocument)
public HeaderBean getHeader()
EDIWorkspace
getHeader
in interface EDIWorkspace
public java.util.List<DatasetHeaderBean> getDatasetHeaders()
EDIWorkspace
getDatasetHeaders
in interface EDIWorkspace
public DataReaderEngine getDataReader(SdmxBeanRetrievalManager beanRetrieval)
EDIWorkspace
getDataReader
in interface EDIWorkspace
public DataReaderEngine getDataReader(DataStructureBean keyFamily, DataflowBean dataflowBean)
EDIWorkspace
getDataReader
in interface EDIWorkspace
dataflowBean
- (optional) if provided it will be accessible from the data readerpublic java.util.List<EDIDataDocument> getEDIDataDocument()
public java.util.List<SdmxBeans> getBeans()
EDIWorkspace
getBeans
in interface EDIWorkspace
public SdmxBeans getMergedBeans()
EDIWorkspace
getMergedBeans
in interface EDIWorkspace
public boolean hasData()
EDIWorkspace
hasData
in interface EDIWorkspace
public boolean hasStructures()
EDIWorkspace
hasStructures
in interface EDIWorkspace