public class CodelistMutableBeanImpl extends ItemSchemeMutableBeanImpl<CodeMutableBean> implements CodelistMutableBean
Constructor and Description |
---|
CodelistMutableBeanImpl() |
CodelistMutableBeanImpl(CodelistBean bean) |
CodelistMutableBeanImpl(SDMX_STRUCTURE_TYPE structureType) |
CodelistMutableBeanImpl(SdmxReader reader) |
Modifier and Type | Method and Description |
---|---|
CodeMutableBean |
createItem(java.lang.String id,
java.lang.String name)
Creates an item and adds it to the scheme
|
CodeMutableBean |
getCodeById(java.lang.String id)
Returns the code with the given id, returns null if no such code exists
|
CodelistBean |
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.
|
void |
setIsPartial(boolean isPartial) |
addItem, getItems, isPartial, removeItem, setItems, setPartial
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
isPartial
addItem, getItems, removeItem, setItems, setPartial
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 CodelistMutableBeanImpl()
public CodelistMutableBeanImpl(SdmxReader reader)
public CodelistMutableBeanImpl(SDMX_STRUCTURE_TYPE structureType)
public CodelistMutableBeanImpl(CodelistBean bean)
public CodeMutableBean createItem(java.lang.String id, java.lang.String name)
ItemSchemeMutableBean
createItem
in interface ItemSchemeMutableBean<CodeMutableBean>
public CodeMutableBean getCodeById(java.lang.String id)
CodelistMutableBean
getCodeById
in interface CodelistMutableBean
public CodelistBean getImmutableInstance()
CodelistMutableBean
getImmutableInstance
in interface MaintainableMutableBean
getImmutableInstance
in interface CodelistMutableBean
public void setIsPartial(boolean isPartial)
setIsPartial
in interface CodelistMutableBean