public interface ReferenceValueBean extends SDMXBean
Modifier and Type | Interface and Description |
---|---|
static class |
ReferenceValueBean.TARGET_TYPE |
Modifier and Type | Method and Description |
---|---|
CrossReferenceBean |
getContentConstraintReference()
Returns the reference to the content constraint, if there is one
|
java.util.List<DataKeyBean> |
getDataKeys()
Returns a list of data keys, will return an empty list if isDatasetReference() is false
|
java.lang.String |
getDatasetId()
Returns the id of the dataset this bean is referencing, returns null if this is not a dataset reference.
|
java.lang.String |
getId()
Returns the id of this reference value
|
CrossReferenceBean |
getIdentifiableReference()
Returns a reference to any identifiable structure, if this is a dataset reference this will return a reference to a data provider.
|
SdmxDate |
getReportPeriod()
Returns the date for which this report is relevant
|
ReferenceValueBean.TARGET_TYPE |
getTargetType()
Returns an enum defining what this reference value is referencing
|
boolean |
isContentConstriantReference()
Returns true if this is a content constraint reference, if true getContentConstraintReference() will return a not null value
|
boolean |
isDatakeyReference()
Returns true if this is a datakey reference, if true getDataKeys() will return 1 or more items
|
boolean |
isDatasetReference()
Returns true if this is a dataset reference, if true getIdentifiableReference() AND getDatasetId() will NOT be null
|
boolean |
isIdentifiableReference()
Returns true if this is an identifiable structure reference, if true getIdentifiableReference() will NOT be null
|
deepEquals, getComposites, getComposites, getCrossReferences, getParent, getParent, getStructureType
java.lang.String getId()
java.lang.String getDatasetId()
SdmxDate getReportPeriod()
CrossReferenceBean getIdentifiableReference()
CrossReferenceBean getContentConstraintReference()
java.util.List<DataKeyBean> getDataKeys()
ReferenceValueBean.TARGET_TYPE getTargetType()
boolean isDatasetReference()
boolean isIdentifiableReference()
boolean isDatakeyReference()
boolean isContentConstriantReference()