public class DataStructureMutableBeanImpl extends MaintainableMutableBeanImpl implements DataStructureMutableBean
Constructor and Description |
---|
DataStructureMutableBeanImpl() |
DataStructureMutableBeanImpl(DataStructureBean bean) |
Modifier and Type | Method and Description |
---|---|
void |
addAttribute(AttributeMutableBean attribute) |
AttributeMutableBean |
addAttribute(StructureReferenceBean conceptRef,
StructureReferenceBean codelistRef) |
void |
addDimension(DimensionMutableBean dimension) |
DimensionMutableBean |
addDimension(StructureReferenceBean conceptRef,
StructureReferenceBean codelistRef) |
void |
addGroup(GroupMutableBean group) |
PrimaryMeasureMutableBean |
addPrimaryMeasure(StructureReferenceBean conceptRef) |
AttributeMutableBean |
getAttribute(java.lang.String id)
Returns the attribute with the given id, or null if there is no match
|
AttributeListMutableBean |
getAttributeList() |
java.util.List<AttributeMutableBean> |
getAttributes()
Returns the list of attributes, this may return null or an empty list if none exist
|
DimensionMutableBean |
getDimension(java.lang.String id)
Returns the dimension with the given id, or null if there is no match
|
DimensionListMutableBean |
getDimensionList() |
java.util.List<DimensionMutableBean> |
getDimensions()
Returns the list of dimenions, this may return null or an empty list if none exist
|
java.util.List<GroupMutableBean> |
getGroups() |
DataStructureBean |
getImmutableInstance()
Returns a representation of itself in a bean which can not be modified, modifications to the mutable bean
are not reflected in the returned instance of the MaintainableBean.
|
MeasureListMutableBean |
getMeasureList() |
DataStructureMutableBean |
removeComponent(java.lang.String id)
Removes the component (dimension or attribute) with the given id
|
void |
setAttributeList(AttributeListMutableBean attributeList) |
void |
setDimensionList(DimensionListMutableBean dimensionList) |
void |
setGroups(java.util.List<GroupMutableBean> groups) |
void |
setMeasureList(MeasureListMutableBean measureList) |
void |
setPrimaryMeasure(PrimaryMeasureMutableBean primaryMeasure) |
compareTo, getAgencyId, getEndDate, getExternalReference, getFinalStructure, getServiceURL, getStartDate, getStructureURL, getVersion, isStub, setAgencyId, setEndDate, setExternalReference, setFinalStructure, setServiceURL, setStartDate, setStructureURL, setStub, setVersion
addDescription, addName, getDescriptions, getName, getNames, setDescriptions, setNames
getId, getUri, getUrn, setId, setUri, setUrn
addAnnotation, addAnnotation, getAnnotations, setAnnotations
getStructureType
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAgencyId, getEndDate, getExternalReference, getFinalStructure, getServiceURL, getStartDate, getStructureURL, getVersion, isStub, setAgencyId, setEndDate, setExternalReference, setFinalStructure, setServiceURL, setStartDate, setStructureURL, setStub, setVersion
addDescription, addName, getDescriptions, getName, getNames, setDescriptions, setNames
getId, getUri, getUrn, setId, setUri
addAnnotation, addAnnotation, getAnnotations, setAnnotations
getStructureType
public DataStructureMutableBeanImpl()
public DataStructureMutableBeanImpl(DataStructureBean bean)
public DataStructureMutableBean removeComponent(java.lang.String id)
DataStructureMutableBean
removeComponent
in interface DataStructureMutableBean
public DimensionMutableBean getDimension(java.lang.String id)
DataStructureMutableBean
getDimension
in interface DataStructureMutableBean
public AttributeMutableBean getAttribute(java.lang.String id)
DataStructureMutableBean
getAttribute
in interface DataStructureMutableBean
public DimensionMutableBean addDimension(StructureReferenceBean conceptRef, StructureReferenceBean codelistRef)
addDimension
in interface DataStructureMutableBean
public AttributeMutableBean addAttribute(StructureReferenceBean conceptRef, StructureReferenceBean codelistRef)
addAttribute
in interface DataStructureMutableBean
public PrimaryMeasureMutableBean addPrimaryMeasure(StructureReferenceBean conceptRef)
addPrimaryMeasure
in interface DataStructureMutableBean
public java.util.List<DimensionMutableBean> getDimensions()
DataStructureMutableBean
getDimensions
in interface DataStructureMutableBean
public java.util.List<AttributeMutableBean> getAttributes()
DataStructureMutableBean
getAttributes
in interface DataStructureMutableBean
public void setPrimaryMeasure(PrimaryMeasureMutableBean primaryMeasure)
setPrimaryMeasure
in interface DataStructureMutableBean
public void addGroup(GroupMutableBean group)
addGroup
in interface DataStructureMutableBean
public DataStructureBean getImmutableInstance()
DataStructureMutableBean
getImmutableInstance
in interface MaintainableMutableBean
getImmutableInstance
in interface DataStructureMutableBean
public java.util.List<GroupMutableBean> getGroups()
getGroups
in interface DataStructureMutableBean
public void setGroups(java.util.List<GroupMutableBean> groups)
setGroups
in interface DataStructureMutableBean
public DimensionListMutableBean getDimensionList()
getDimensionList
in interface DataStructureMutableBean
public void setDimensionList(DimensionListMutableBean dimensionList)
setDimensionList
in interface DataStructureMutableBean
public AttributeListMutableBean getAttributeList()
getAttributeList
in interface DataStructureMutableBean
public void setAttributeList(AttributeListMutableBean attributeList)
setAttributeList
in interface DataStructureMutableBean
public MeasureListMutableBean getMeasureList()
getMeasureList
in interface DataStructureMutableBean
public void setMeasureList(MeasureListMutableBean measureList)
setMeasureList
in interface DataStructureMutableBean
public void addAttribute(AttributeMutableBean attribute)
addAttribute
in interface DataStructureMutableBean
public void addDimension(DimensionMutableBean dimension)
addDimension
in interface DataStructureMutableBean