public class RepresentationBeanImpl extends SdmxStructureBeanImpl implements RepresentationBean
Constructor and Description |
---|
RepresentationBeanImpl(RepresentationMutableBean bean,
IdentifiableBean parent) |
RepresentationBeanImpl(org.sdmx.resources.sdmxml.schemas.v21.structure.RepresentationType bean,
IdentifiableBean parent) |
RepresentationBeanImpl(org.sdmx.resources.sdmxml.schemas.v20.structure.TextFormatType textFormat,
java.lang.String codelistAgency,
java.lang.String codelistId,
java.lang.String codelistVersion,
IdentifiableBean parent) |
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 |
getRepresentation()
Returns the codelist reference, returns null if there is no reference
|
TextFormatBean |
getTextFormat()
Returns the text format, which is typically present for an uncoded component (one which does not reference a codelist).
|
getIdentifiableComposites, getIdentifiableParent, getMaintainableParent, getParent, getStructureType
getComposites, getComposites, getCrossReferences, getParent
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getIdentifiableComposites, getIdentifiableParent, getMaintainableParent, getParent
getComposites, getComposites, getCrossReferences, getParent, getStructureType
public RepresentationBeanImpl(RepresentationMutableBean bean, IdentifiableBean parent)
public RepresentationBeanImpl(org.sdmx.resources.sdmxml.schemas.v21.structure.RepresentationType bean, IdentifiableBean parent)
public RepresentationBeanImpl(org.sdmx.resources.sdmxml.schemas.v20.structure.TextFormatType textFormat, java.lang.String codelistAgency, java.lang.String codelistId, java.lang.String codelistVersion, IdentifiableBean parent)
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 TextFormatBean getTextFormat()
RepresentationBean
getTextFormat
in interface RepresentationBean
public CrossReferenceBean getRepresentation()
RepresentationBean
getRepresentation
in interface RepresentationBean