public class MetadataStructureDefinitionBeanImpl extends MaintainableBeanImpl implements MetadataStructureDefinitionBean
DEFAULT_VERSION
Constructor and Description |
---|
MetadataStructureDefinitionBeanImpl(MetadataStructureDefinitionMutableBean bean) |
MetadataStructureDefinitionBeanImpl(org.sdmx.resources.sdmxml.schemas.v20.structure.MetadataStructureDefinitionType bean) |
MetadataStructureDefinitionBeanImpl(org.sdmx.resources.sdmxml.schemas.v21.structure.MetadataStructureType bean) |
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.
|
MetadataTargetBean |
getMetadataTarget(java.lang.String id)
Returns the metadata target with the given id, or null if no such target exists
|
java.util.List<MetadataTargetBean> |
getMetadataTargets()
Returns all the available targets as defined by this MSD
|
MetadataStructureDefinitionMutableBean |
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.
|
ReportStructureBean |
getReportStructure(java.lang.String id)
Returns the report structure with the given id, or null if no such report structure exists
|
java.util.List<ReportStructureBean> |
getReportStructures()
Returns all the report structures defined by the MSD
|
MetadataStructureDefinitionBean |
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 MetadataStructureDefinitionBeanImpl(MetadataStructureDefinitionMutableBean bean)
public MetadataStructureDefinitionBeanImpl(org.sdmx.resources.sdmxml.schemas.v21.structure.MetadataStructureType bean)
public MetadataStructureDefinitionBeanImpl(org.sdmx.resources.sdmxml.schemas.v20.structure.MetadataStructureDefinitionType 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 MetadataStructureDefinitionBean getStub(java.net.URL actualLocation, boolean isServiceUrl)
MetadataStructureDefinitionBean
getStub
in interface MaintainableBean
getStub
in interface MetadataStructureDefinitionBean
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 MetadataStructureDefinitionMutableBean getMutableInstance()
MetadataStructureDefinitionBean
getMutableInstance
in interface MaintainableBean
getMutableInstance
in interface MetadataStructureDefinitionBean
public java.util.List<MetadataTargetBean> getMetadataTargets()
MetadataStructureDefinitionBean
getMetadataTargets
in interface MetadataStructureDefinitionBean
public java.util.List<ReportStructureBean> getReportStructures()
MetadataStructureDefinitionBean
getReportStructures
in interface MetadataStructureDefinitionBean
public MetadataTargetBean getMetadataTarget(java.lang.String id)
MetadataStructureDefinitionBean
getMetadataTarget
in interface MetadataStructureDefinitionBean
public ReportStructureBean getReportStructure(java.lang.String id)
MetadataStructureDefinitionBean
getReportStructure
in interface MetadataStructureDefinitionBean