|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jembi.sdmxhd.dsd.DSD
public class DSD
Constructor Summary | |
---|---|
DSD()
|
Method Summary | |
---|---|
java.util.List<Attribute> |
getAllAttributes()
Convenience method to return a list of all the attributes in this DSD. |
java.util.List<java.util.List<DimensionWrapper>> |
getAllCombinationOfDimensions(java.lang.String keyFamilyId)
|
java.util.List<java.util.List<DimensionWrapper>> |
getAllCombinationOfDimensions(java.lang.String keyFamilyId,
java.util.List<Dimension> restrictToTheseDimensions)
|
java.util.List<java.util.List<DimensionWrapper>> |
getAllCombinationofDimensionsForIndicator(java.lang.String indicatorName,
java.lang.String keyFamilyId)
This finds all the combinations of this dimension hierarchy and their codes for a specific Indicator. |
java.util.List<Dimension> |
getAllDimensions()
Convenience method to return a list of all the dimensions in this DSD. |
java.util.List<Dimension> |
getAllDimensionsForIndicator(java.lang.String sdmxhdIndicatorName,
java.lang.String keyFamilyId)
Convenience method to return a list of all the dimensions in this DSD that are user specified. |
java.util.List<Dimension> |
getAllIndicatorDimensions(java.lang.String keyFamilyId)
Convenience method to return a list of all the dimensions in this DSD for a particular keyFamily that are related to indicators. |
java.util.List<Dimension> |
getAllNonStanadrdDimensions()
Convenience method to return a list of all the dimensions in this DSD that are user specified. |
java.util.List<Dimension> |
getAllNonStanadrdDimensions(java.lang.String keyFamilyId)
Convenience method to return a list of all the dimensions in this DSD that are user specified. |
java.util.List<Attribute> |
getAttributes(java.lang.String attachementLevel,
java.lang.String assignmentStatus)
Convenience method to return a list of all the attributes in this DSD with the supplied attachementLevel and assignmentStatus. |
java.util.List<Attribute> |
getAttributes(java.lang.String keyFamilyId,
java.lang.String attachementLevel,
java.lang.String assignmentStatus)
Convenience method to return a list of all the attributes in this DSD in the specified keyFamily and with the supplied attachementLevel and assignmentStatus. |
CodeList |
getCodeList(java.lang.String id)
Gets a codelist this the specified id. |
CodeList |
getCodeListByAlias(java.lang.String alias)
Gets the codelist that has the specified alias defined in a SDMX-HD hierarchical codelist. |
java.util.List<CodeList> |
getCodeLists()
|
java.util.List<ConceptScheme> |
getConceptSchemes()
|
Dimension |
getDimension(CodeList codeList)
Gets the dimension that relates to the given codelist |
Dimension |
getDimension(java.lang.String conceptRef)
Gets the dimension that with the given conceptRef |
Dimension |
getDimension(java.lang.String conceptRef,
java.lang.String keyFamilyId)
Gets the dimension that with the given conceptRef for a paticular keyFamily |
java.util.List<DimensionWrapper> |
getDimensionHierarchy(java.lang.String indicatorName,
java.lang.String keyFamilyId)
Convenience method to return a list of disaggregation dimensions for a particular keyFamily using the given indicator name. |
Header |
getHeader()
|
HierarchicalCodelist |
getHierarchicalCodeList(java.lang.String hierarchicalCodelistId)
|
java.util.List<HierarchicalCodelist> |
getHierarchicalCodelists()
|
java.util.Set<LocalizedString> |
getIndicatorNames(java.lang.String keyFamilyId)
Convenience method to return a list of all the names of the indicators in this DSD for the given keyFamily. |
Dimension |
getIndicatorOrDataElementDimension(java.lang.String keyFamilyId)
|
java.util.List<KeyFamily> |
getKeyFamilies()
|
KeyFamily |
getKeyFamily(java.lang.String keyFamilyID)
Gets the KeyFamily in this DSD that has the specified ID. |
java.util.List<OrganisationScheme> |
getOrganisationSchemes()
|
void |
setCodeLists(java.util.List<CodeList> codeLists)
|
void |
setConceptSchemes(java.util.List<ConceptScheme> conceptSchemes)
|
void |
setHeader(Header header)
|
void |
setHierarchicalCodelists(java.util.List<HierarchicalCodelist> hierarchicalCodelists)
|
void |
setKeyFamilies(java.util.List<KeyFamily> keyFamilies)
|
void |
setOrganisationSchemes(java.util.List<OrganisationScheme> organisationSchemes)
|
java.lang.String |
toXML()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DSD()
Method Detail |
---|
public java.lang.String toXML() throws java.lang.Exception
java.lang.Exception
public java.util.Set<LocalizedString> getIndicatorNames(java.lang.String keyFamilyId)
public java.util.List<Dimension> getAllDimensions()
public java.util.List<Dimension> getAllIndicatorDimensions(java.lang.String keyFamilyId)
public java.util.List<Dimension> getAllDimensionsForIndicator(java.lang.String sdmxhdIndicatorName, java.lang.String keyFamilyId)
public java.util.List<Dimension> getAllNonStanadrdDimensions()
public java.util.List<Dimension> getAllNonStanadrdDimensions(java.lang.String keyFamilyId)
public java.util.List<Attribute> getAllAttributes()
public java.util.List<Attribute> getAttributes(java.lang.String attachementLevel, java.lang.String assignmentStatus)
attachementLevel
- one of "DataSet", "Group", "Series" or "Observation"assignmentStatus
- one of "Mandatory" or "Conditional"
public java.util.List<Attribute> getAttributes(java.lang.String keyFamilyId, java.lang.String attachementLevel, java.lang.String assignmentStatus)
attachementLevel
- one of "DataSet", "Group", "Series" or "Observation"assignmentStatus
- one of "Mandatory" or "Conditional"
public java.util.List<DimensionWrapper> getDimensionHierarchy(java.lang.String indicatorName, java.lang.String keyFamilyId)
indicatorName
-
public HierarchicalCodelist getHierarchicalCodeList(java.lang.String hierarchicalCodelistId)
public Dimension getIndicatorOrDataElementDimension(java.lang.String keyFamilyId)
public java.util.List<java.util.List<DimensionWrapper>> getAllCombinationofDimensionsForIndicator(java.lang.String indicatorName, java.lang.String keyFamilyId)
indicatorName
-
public java.util.List<java.util.List<DimensionWrapper>> getAllCombinationOfDimensions(java.lang.String keyFamilyId)
public java.util.List<java.util.List<DimensionWrapper>> getAllCombinationOfDimensions(java.lang.String keyFamilyId, java.util.List<Dimension> restrictToTheseDimensions)
public Dimension getDimension(CodeList codeList)
codeList
-
public Dimension getDimension(java.lang.String conceptRef)
conceptRef
-
public Dimension getDimension(java.lang.String conceptRef, java.lang.String keyFamilyId)
conceptRef
-
public CodeList getCodeList(java.lang.String id)
id
-
public CodeList getCodeListByAlias(java.lang.String alias)
alias
-
public KeyFamily getKeyFamily(java.lang.String keyFamilyID)
keyFamilyID
-
public java.util.List<ConceptScheme> getConceptSchemes()
public void setConceptSchemes(java.util.List<ConceptScheme> conceptSchemes)
public java.util.List<CodeList> getCodeLists()
public void setCodeLists(java.util.List<CodeList> codeLists)
public java.util.List<KeyFamily> getKeyFamilies()
public void setKeyFamilies(java.util.List<KeyFamily> keyFamilies)
public java.util.List<HierarchicalCodelist> getHierarchicalCodelists()
public void setHierarchicalCodelists(java.util.List<HierarchicalCodelist> hierarchicalCodelists)
public Header getHeader()
public void setHeader(Header header)
public java.util.List<OrganisationScheme> getOrganisationSchemes()
public void setOrganisationSchemes(java.util.List<OrganisationScheme> organisationSchemes)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |