public class ReportingTaxonomyMutableBeanImpl extends ItemSchemeMutableBeanImpl<ReportingCategoryMutableBean> implements ReportingTaxonomyMutableBean
Constructor and Description |
---|
ReportingTaxonomyMutableBeanImpl() |
ReportingTaxonomyMutableBeanImpl(ReportingTaxonomyBean bean) |
Modifier and Type | Method and Description |
---|---|
void |
addReportingCategory(ReportingCategoryMutableBean category) |
ReportingCategoryMutableBean |
createItem(java.lang.String id,
java.lang.String name)
Creates an item and adds it to the scheme
|
ReportingTaxonomyBean |
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.
|
boolean |
removeItem(java.lang.String id)
removes the item with the given id, if it exists
|
addItem, getItems, isPartial, 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
addItem, getItems, isPartial, 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 ReportingTaxonomyMutableBeanImpl()
public ReportingTaxonomyMutableBeanImpl(ReportingTaxonomyBean bean)
public ReportingCategoryMutableBean createItem(java.lang.String id, java.lang.String name)
ItemSchemeMutableBean
createItem
in interface ItemSchemeMutableBean<ReportingCategoryMutableBean>
public boolean removeItem(java.lang.String id)
ItemSchemeMutableBean
removeItem
in interface ItemSchemeMutableBean<ReportingCategoryMutableBean>
removeItem
in class ItemSchemeMutableBeanImpl<ReportingCategoryMutableBean>
public ReportingTaxonomyBean getImmutableInstance()
ReportingTaxonomyMutableBean
getImmutableInstance
in interface MaintainableMutableBean
getImmutableInstance
in interface ReportingTaxonomyMutableBean
public void addReportingCategory(ReportingCategoryMutableBean category)