public class CategorisationBeanImpl extends MaintainableBeanImpl implements CategorisationBean
DEFAULT_VERSION
Constructor and Description |
---|
CategorisationBeanImpl(CategorisationMutableBean bean) |
CategorisationBeanImpl(org.sdmx.resources.sdmxml.schemas.v21.structure.CategorisationType cs) |
CategorisationBeanImpl(CategoryBean category,
org.sdmx.resources.sdmxml.schemas.v20.structure.DataflowRefType df)
Constructs a categorisation from a category that contains a dataflow ref
|
CategorisationBeanImpl(CategoryBean category,
org.sdmx.resources.sdmxml.schemas.v20.structure.MetadataflowRefType mdf)
Constructs a categorisation from a category that contains a metadataflow ref
|
CategorisationBeanImpl(MaintainableBean referencedFrom,
org.sdmx.resources.sdmxml.schemas.v20.structure.CategoryRefType currentRef)
Constructs a categorisation from a dataflow that contains a category ref
|
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.
|
CrossReferenceBean |
getCategoryReference()
Returns a reference to the category that is categorising the structure - this can not be null
|
CategorisationMutableBean |
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.
|
CrossReferenceBean |
getStructureReference()
Returns a reference to the structure that this is categorising - this can not be null
|
CategorisationBean |
getStub(java.net.URL actualLocation,
boolean isServiceUrl)
Returns a stub reference of itself.
|
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
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 CategorisationBeanImpl(CategorisationMutableBean bean)
public CategorisationBeanImpl(org.sdmx.resources.sdmxml.schemas.v21.structure.CategorisationType cs)
public CategorisationBeanImpl(CategoryBean category, org.sdmx.resources.sdmxml.schemas.v20.structure.MetadataflowRefType mdf)
category
- mdf
- public CategorisationBeanImpl(CategoryBean category, org.sdmx.resources.sdmxml.schemas.v20.structure.DataflowRefType df)
category
- df
- public CategorisationBeanImpl(MaintainableBean referencedFrom, org.sdmx.resources.sdmxml.schemas.v20.structure.CategoryRefType currentRef)
cateogryRef
- referencedFrom
- 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 CategorisationBean getStub(java.net.URL actualLocation, boolean isServiceUrl)
CategorisationBean
getStub
in interface MaintainableBean
getStub
in interface CategorisationBean
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 CategorisationMutableBean getMutableInstance()
CategorisationBean
getMutableInstance
in interface MaintainableBean
getMutableInstance
in interface CategorisationBean
public CrossReferenceBean getCategoryReference()
CategorisationBean
getCategoryReference
in interface CategorisationBean
public CrossReferenceBean getStructureReference()
CategorisationBean
getStructureReference
in interface CategorisationBean