public interface SDMXBean
extends java.io.Serializable
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.util.Set<SDMXBean> |
getComposites()
Returns a set of composite beans to this bean
|
<T> java.util.Set<T> |
getComposites(java.lang.Class<T> type)
Returns any composites of this SdmxBean of the given type
|
java.util.Set<CrossReferenceBean> |
getCrossReferences()
Returns a set of cross references that are made by this bean, or by any composite bean of this bean
|
SDMXBean |
getParent()
Returns the parent that this SDMXBean belongs to
If this is a MaintainableBean, then there will be no parent to return, so will return a value of null
|
<T> T |
getParent(java.lang.Class<T> type,
boolean includeThisInSearch)
Recurses up the parent hierarchy to return the first occurrence of parent of the given type that this SDMXBean belongs to
If a parent of the given type does not exist in the hierarchy, null will be returned
|
SDMX_STRUCTURE_TYPE |
getStructureType()
Returns the structure type of this component.
|
SDMX_STRUCTURE_TYPE getStructureType()
SDMXBean getParent()
<T> T getParent(java.lang.Class<T> type, boolean includeThisInSearch)
includeThisInSearch
- if true then this type will be first checked to see if it is of the given typejava.util.Set<SDMXBean> getComposites()
<T> java.util.Set<T> getComposites(java.lang.Class<T> type)
T
- type
- java.util.Set<CrossReferenceBean> getCrossReferences()
boolean deepEquals(SDMXBean bean, boolean includeFinalProperties)
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: