public class AttributeBeanImpl extends ComponentBeanImpl implements AttributeBean
Constructor and Description |
---|
AttributeBeanImpl(AttributeMutableBean attribute,
AttributeListBean parent) |
AttributeBeanImpl(org.sdmx.resources.sdmxml.schemas.v21.structure.AttributeType attribute,
AttributeListBean parent) |
AttributeBeanImpl(org.sdmx.resources.sdmxml.schemas.v20.structure.AttributeType attribute,
AttributeListBean parent) |
AttributeBeanImpl(org.sdmx.resources.sdmxml.schemas.v10.xmlbeans.structure.AttributeType attribute,
AttributeListBean 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 |
getAssignmentStatus()
The assignmentStatus attribute indicates whether a
value must be provided for the attribute when sending documentation along with the data.
|
java.lang.String |
getAttachmentGroup()
If ATTRIBUTE_ATTACHMENT_LEVEL is GROUP then returns a reference to the Group id that this attribute is attached to.
|
ATTRIBUTE_ATTACHMENT_LEVEL |
getAttachmentLevel()
Returns the ATTRIBUTE_ATTACHMENT_LEVEL attribute indicating the level to which the attribute is attached in time-series formats
(generic, compact, utility data formats).
|
java.util.List<CrossReferenceBean> |
getConceptRoles()
Returns a list of cross references to concepts that are used to define the role(s) of this attribute.
|
java.util.List<java.lang.String> |
getDimensionReferences()
Returns the list of dimension ids that this attribute references, this is only relevant if ATTRIBUTE_ATTACHMENT_LEVEL is
DIMENSION_GROUP.
|
java.lang.String |
getPrimaryMeasureReference()
If ATTRIBUTE_ATTACHMENT_LEVEL is OBSERVATION then returns a reference to the Primary Measure id that this attribute is attached to.
|
boolean |
isMandatory()
Returns true if getAssignmentStatus()==MANDATORY
|
boolean |
isTimeFormat()
Returns true IF the Id = TIME_FORMAT
|
getConceptRef, getId, getRepresentation, hasCodedRepresentation
asReference, equals, getAllTextTypes, getFullIdPath, getUri, getUrn, hashCode, toString
getAnnotations, getAnnotationsByTitle, getAnnotationsByType, hasAnnotationType
getIdentifiableComposites, getIdentifiableParent, getMaintainableParent, getParent, getStructureType
getComposites, getComposites, getCrossReferences, getParent
getConceptRef, getRepresentation, hasCodedRepresentation
asReference, getAllTextTypes, getFullIdPath, getId, getUri, getUrn
getAnnotations, getAnnotationsByTitle, getAnnotationsByType, hasAnnotationType
getIdentifiableComposites, getIdentifiableParent, getMaintainableParent, getParent
getComposites, getComposites, getCrossReferences, getParent, getStructureType
public AttributeBeanImpl(AttributeMutableBean attribute, AttributeListBean parent)
public AttributeBeanImpl(org.sdmx.resources.sdmxml.schemas.v21.structure.AttributeType attribute, AttributeListBean parent)
public AttributeBeanImpl(org.sdmx.resources.sdmxml.schemas.v20.structure.AttributeType attribute, AttributeListBean parent)
public AttributeBeanImpl(org.sdmx.resources.sdmxml.schemas.v10.xmlbeans.structure.AttributeType attribute, AttributeListBean 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 java.lang.String getAttachmentGroup()
AttributeBean
getAttachmentGroup
in interface AttributeBean
public java.util.List<CrossReferenceBean> getConceptRoles()
AttributeBean
getConceptRoles
in interface AttributeBean
public boolean isTimeFormat()
AttributeBean
isTimeFormat
in interface AttributeBean
public ATTRIBUTE_ATTACHMENT_LEVEL getAttachmentLevel()
AttributeBean
getAttachmentLevel
in interface AttributeBean
public java.lang.String getAssignmentStatus()
AttributeBean
getAssignmentStatus
in interface AttributeBean
public java.util.List<java.lang.String> getDimensionReferences()
AttributeBean
getDimensionReferences
in interface AttributeBean
public java.lang.String getPrimaryMeasureReference()
AttributeBean
getPrimaryMeasureReference
in interface AttributeBean
public boolean isMandatory()
AttributeBean
isMandatory
in interface AttributeBean