public interface DataStructureSuperBean extends MaintainableSuperBean
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAttributeAttachmentGroup(java.lang.String id)
Returns the attribute attachment group for the specified attribute.
|
java.util.List<AttributeSuperBean> |
getAttributes()
Returns a list of all the attributes in this DataStructure.
|
DataStructureBean |
getBuiltFrom()
Returns the bean that was used to build this superBean
|
CodelistSuperBean |
getCodelistByComponentId(java.lang.String componentId)
Returns a referenced codelist from a component with the given id.
|
ComponentSuperBean |
getComponentById(java.lang.String componentId)
Returns a component from an id.
|
java.util.Set<ComponentSuperBean> |
getComponents()
Returns a set of all the components used within this DataStructure.
|
java.util.List<AttributeSuperBean> |
getDatasetAttributes()
Returns a subset of the key family attributes.
|
DimensionSuperBean |
getDimensionById(java.lang.String dimensionId)
Returns a dimension, that is referenced by the specified id.
|
java.util.List<DimensionSuperBean> |
getDimensions()
Returns a list of all the dimensions in the DataStructure.
|
java.util.List<DimensionSuperBean> |
getDimensions(SDMX_STRUCTURE_TYPE... include)
Returns the list of dimensions that belong to this DataStructure.
|
GroupSuperBean |
getGroup(java.lang.String id)
Returns the group with the given id.
|
java.util.Set<AttributeSuperBean> |
getGroupAttributes()
Returns a set of all the attributes attached to any group in the DataStructure.
|
java.util.List<AttributeSuperBean> |
getGroupAttributes(java.lang.String groupId,
boolean includeDimensionGroups)
Returns a subset of the DataStructure attributes.
|
java.lang.String |
getGroupId(java.util.Set<java.lang.String> dimensions)
Returns the group identifier that matches the dimensions set supplied .
|
java.util.List<GroupSuperBean> |
getGroups()
Returns all the groups in the DataStructure.
|
java.util.List<AttributeSuperBean> |
getObservationAttributes()
Returns a subset of the DataStructure attributes.
|
PrimaryMeasureSuperBean |
getPrimaryMeasure()
Returns the primary measure for this DataStructure.
|
java.util.Set<CodelistSuperBean> |
getReferencedCodelists()
Returns a set of all the codelists referenced within this DataStructure.
|
java.util.Set<ConceptSuperBean> |
getReferencedConcepts()
Returns a set of all the concepts referenced within this DataStructure.
|
java.util.List<AttributeSuperBean> |
getSeriesAttributes()
Returns a subset of the DataStructure attributes.
|
DimensionSuperBean |
getTimeDimension()
Returns the time dimension from this DataStructure.
|
getAgencyId, getVersion, isFinal
getDescription, getDescription, getDescriptions, getName, getName, getNames
getId, getUrn
getAnnotationByTitle, getAnnotationByType, getAnnotationByUrl, getAnnotations, hasAnnotations
getCompositeBeans
DataStructureBean getBuiltFrom()
SuperBean
getBuiltFrom
in interface MaintainableSuperBean
getBuiltFrom
in interface SuperBean
java.util.Set<ComponentSuperBean> getComponents()
java.util.Set<ConceptSuperBean> getReferencedConcepts()
java.util.Set<CodelistSuperBean> getReferencedCodelists()
GroupSuperBean getGroup(java.lang.String id)
id
- java.util.List<GroupSuperBean> getGroups()
java.util.List<DimensionSuperBean> getDimensions()
java.util.List<DimensionSuperBean> getDimensions(SDMX_STRUCTURE_TYPE... include)
include
- an optional parameter of dimension types to include, types not specified will be excluded - the list must be from one of the following:
DimensionSuperBean getTimeDimension()
DimensionSuperBean getDimensionById(java.lang.String dimensionId)
dimensionId
- the id that the dimension has reference toComponentSuperBean getComponentById(java.lang.String componentId)
componentId
- the id by which to refer to the component.CodelistSuperBean getCodelistByComponentId(java.lang.String componentId)
componentId
- the id by which to refer to the codelist.PrimaryMeasureSuperBean getPrimaryMeasure()
java.util.List<AttributeSuperBean> getAttributes()
java.util.List<AttributeSuperBean> getDatasetAttributes()
java.util.List<AttributeSuperBean> getGroupAttributes(java.lang.String groupId, boolean includeDimensionGroups)
groupId
- the group id of the group to return the attributes forincludeDimensionGroups
- if true, this will include attributes which are attached to a dimension group, which group the same dimensions as the
group with the given idjava.lang.IllegalArgumentException
- if the groupId does not match any groups for this Data Structurejava.util.Set<AttributeSuperBean> getGroupAttributes()
java.util.List<AttributeSuperBean> getSeriesAttributes()
java.util.List<AttributeSuperBean> getObservationAttributes()
java.lang.String getAttributeAttachmentGroup(java.lang.String id)
id
- id of the attributejava.lang.String getGroupId(java.util.Set<java.lang.String> dimensions)
dimensions
- a set containing the complete collection of dimensions to be matched with a group