public class ConceptSchemeBeanImpl extends ItemSchemeBeanImpl<ConceptBean> implements ConceptSchemeBean
DEFAULT_SCHEME_ID, DEFAULT_SCHEME_NAME, DEFAULT_SCHEME_VERSION
DEFAULT_VERSION
Constructor and Description |
---|
ConceptSchemeBeanImpl(ConceptSchemeMutableBean conceptScheme) |
ConceptSchemeBeanImpl(org.sdmx.resources.sdmxml.schemas.v21.structure.ConceptSchemeType bean) |
ConceptSchemeBeanImpl(org.sdmx.resources.sdmxml.schemas.v20.structure.ConceptSchemeType bean) |
ConceptSchemeBeanImpl(java.util.List<org.sdmx.resources.sdmxml.schemas.v20.structure.ConceptType> concepts,
java.lang.String agencyId)
Default Scheme
|
ConceptSchemeBeanImpl(java.lang.String agencyId,
java.util.List<org.sdmx.resources.sdmxml.schemas.v10.xmlbeans.structure.ConceptType> concepts)
Default Scheme
|
Modifier and Type | Method and Description |
---|---|
boolean |
deepEquals(SDMXBean bean,
boolean includeFinalProperties)
Returns true if this SdmxBean equals the given bean in every respect (except for the validTo property of a maintainable artefact, this is not taken into consideration)
This method calls deepEquals on any SdmxBean composites.
|
ConceptBean |
getItemById(java.lang.String id)
Returns the conncept by id, or null if there is no concept with the given id
|
ConceptSchemeMutableBean |
getMutableInstance()
Returns a representation of itself in a bean which can be modified, modifications to the mutable bean
are not reflected in the instance of the MaintainableBean.
|
ConceptSchemeBean |
getStub(java.net.URL actualLocation,
boolean isServiceUrl)
Returns a stub reference of itself.
|
boolean |
isDefaultScheme()
Returns true if this is the default concept scheme
|
filterItems, getCompositesInternal, getItems, isPartial
addAnnotations, compareTo, getAgencyId, getEndDate, getServiceURL, getStartDate, getStructureURL, getVersion, isExternalReference, isFinal
getAllTextTypes, getDescription, getDescriptions, getName, getNames
asReference, equals, getFullIdPath, getId, getUri, getUrn, hashCode, toString
getAnnotations, getAnnotationsByTitle, getAnnotationsByType, hasAnnotationType
getIdentifiableComposites, getIdentifiableParent, getMaintainableParent, getParent, getStructureType
getComposites, getComposites, getCrossReferences, getParent
filterItems, getItems, isPartial
addAnnotations, getAgencyId, getEndDate, getServiceURL, getStartDate, getStructureURL, getVersion, isExternalReference, isFinal
getDescription, getDescriptions, getName, getNames
asReference, getAllTextTypes, getFullIdPath, getId, getUri, getUrn
getAnnotations, getAnnotationsByTitle, getAnnotationsByType, hasAnnotationType
getIdentifiableComposites, getIdentifiableParent, getMaintainableParent, getParent
getComposites, getComposites, getCrossReferences, getParent, getStructureType
public ConceptSchemeBeanImpl(ConceptSchemeMutableBean conceptScheme)
public ConceptSchemeBeanImpl(org.sdmx.resources.sdmxml.schemas.v21.structure.ConceptSchemeType bean)
public ConceptSchemeBeanImpl(org.sdmx.resources.sdmxml.schemas.v20.structure.ConceptSchemeType bean)
public ConceptSchemeBeanImpl(java.util.List<org.sdmx.resources.sdmxml.schemas.v20.structure.ConceptType> concepts, java.lang.String agencyId)
bean
- public ConceptSchemeBeanImpl(java.lang.String agencyId, java.util.List<org.sdmx.resources.sdmxml.schemas.v10.xmlbeans.structure.ConceptType> concepts)
bean
- public boolean deepEquals(SDMXBean bean, boolean includeFinalProperties)
SDMXBean
deepEquals
in interface SDMXBean
deepEquals
in class SDMXBeanImpl
bean
- if null, then false will be returnedincludeFinalProperties
- - if true, then this method will check every single property from this bean is
equal to the passed in bean. If false, then this method will ignore the following properties:
public ConceptBean getItemById(java.lang.String id)
ConceptSchemeBean
getItemById
in interface ConceptSchemeBean
public ConceptSchemeBean getStub(java.net.URL actualLocation, boolean isServiceUrl)
ConceptSchemeBean
getStub
in interface MaintainableBean
getStub
in interface ConceptSchemeBean
actualLocation
- the URL indicating where the full structure can be returned fromisServiceUrl
- if true this URL will be present on the serviceURL attribute, otherwise it will be treated as a structureURL attributepublic boolean isDefaultScheme()
ConceptSchemeBean
isDefaultScheme
in interface ConceptSchemeBean
public ConceptSchemeMutableBean getMutableInstance()
ConceptSchemeBean
getMutableInstance
in interface MaintainableBean
getMutableInstance
in interface ConceptSchemeBean