public class OrganisationUnitBeanImpl extends OrganisationBeanImpl implements OrganisationUnitBean
Constructor and Description |
---|
OrganisationUnitBeanImpl(OrganisationUnitMutableBean bean,
OrganisationUnitSchemeBean parent) |
OrganisationUnitBeanImpl(org.sdmx.resources.sdmxml.schemas.v21.structure.OrganisationUnitType type,
OrganisationUnitSchemeBean 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.
|
java.lang.String |
getParentUnit()
Returns the parent organisation unit
|
boolean |
hasParentUnit()
Returns true if getParentUnit returns a not null object
|
getContacts
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
getContacts
getDescription, getDescriptions, getName, getNames
asReference, getAllTextTypes, getFullIdPath, getId, getUri, getUrn
getAnnotations, getAnnotationsByTitle, getAnnotationsByType, hasAnnotationType
getIdentifiableComposites, getIdentifiableParent, getMaintainableParent, getParent
getComposites, getComposites, getCrossReferences, getParent, getStructureType
public OrganisationUnitBeanImpl(OrganisationUnitMutableBean bean, OrganisationUnitSchemeBean parent)
public OrganisationUnitBeanImpl(org.sdmx.resources.sdmxml.schemas.v21.structure.OrganisationUnitType type, OrganisationUnitSchemeBean 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 boolean hasParentUnit()
OrganisationUnitBean
hasParentUnit
in interface OrganisationUnitBean
public java.lang.String getParentUnit()
OrganisationUnitBean
getParentUnit
in interface OrganisationUnitBean