public class ConstraintAttachmentBeanImpl extends SdmxStructureBeanImpl implements ConstraintAttachmentBean
Constructor and Description |
---|
ConstraintAttachmentBeanImpl(ConstraintAttachmentMutableBean mutable,
ConstraintBean constraint) |
ConstraintAttachmentBeanImpl(org.sdmx.resources.sdmxml.schemas.v21.structure.ConstraintAttachmentType type,
ConstraintBean constraint) |
Modifier and Type | Method and Description |
---|---|
ConstraintAttachmentMutableBean |
createMutableInstance() |
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.
|
DataAndMetadataSetReference |
getDataOrMetadataSetReference()
If this constraint is built from a dataset/metadataset, this will returns the data provider and dataset id
|
java.util.List<DataSourceBean> |
getDataSources()
Returns the datasource(s) that this constraint is built from
|
java.util.Set<CrossReferenceBean> |
getStructureReference()
Returns the structures that this constraint is attached to, this can be one or more of the following:
Data Provider
Data Structure
Metadata Structure
Data Flow
Metadata Flow
Provision Agreement
Registration Bean
|
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 ConstraintAttachmentBeanImpl(ConstraintAttachmentMutableBean mutable, ConstraintBean constraint)
public ConstraintAttachmentBeanImpl(org.sdmx.resources.sdmxml.schemas.v21.structure.ConstraintAttachmentType type, ConstraintBean constraint)
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 DataAndMetadataSetReference getDataOrMetadataSetReference()
ConstraintAttachmentBean
getDataOrMetadataSetReference
in interface ConstraintAttachmentBean
public java.util.Set<CrossReferenceBean> getStructureReference()
ConstraintAttachmentBean
NOTE: This list of cross references can not be a mixed bag, it can be one or more OF THE SAME TYPE.
getStructureReference
in interface ConstraintAttachmentBean
public java.util.List<DataSourceBean> getDataSources()
ConstraintAttachmentBean
getDataSources
in interface ConstraintAttachmentBean
public ConstraintAttachmentMutableBean createMutableInstance()
createMutableInstance
in interface ConstraintAttachmentBean