public abstract class IdentifiableBeanImpl extends AnnotableBeanImpl implements IdentifiableBean
Constructor and Description |
---|
IdentifiableBeanImpl(org.sdmx.resources.sdmxml.schemas.v21.structure.IdentifiableType createdFrom,
SDMX_STRUCTURE_TYPE structureType,
SdmxStructureBean parent) |
IdentifiableBeanImpl(java.lang.String id,
SDMX_STRUCTURE_TYPE structureType,
SdmxStructureBean parent) |
IdentifiableBeanImpl(org.apache.xmlbeans.XmlObject createdFrom,
SDMX_STRUCTURE_TYPE structureType,
java.lang.String id,
java.lang.String uri,
org.sdmx.resources.sdmxml.schemas.v20.common.AnnotationsType annotationsType,
SdmxStructureBean parent) |
IdentifiableBeanImpl(org.apache.xmlbeans.XmlObject createdFrom,
SDMX_STRUCTURE_TYPE structureType,
java.lang.String id,
java.lang.String uri,
org.sdmx.resources.sdmxml.schemas.v10.xmlbeans.common.AnnotationsType annotationsType,
SdmxStructureBean parent) |
Modifier and Type | Method and Description |
---|---|
StructureReferenceBean |
asReference()
Builds a StructureReferenceBean that is a representation of this IdentifiableBean as a reference.
|
boolean |
equals(java.lang.Object obj) |
java.util.List<TextTypeWrapper> |
getAllTextTypes()
Returns a list of all the underlying text types for this identifiable (does not recurse down to children).
|
java.lang.String |
getFullIdPath(boolean includeDifferentTypes)
Returns a period separated id of this identifiable, starting from the non-maintainable top-level ancestor to this identifiable.
|
java.lang.String |
getId()
Returns the id for this component, this is a mandatory field and will never be null.
|
java.net.URI |
getUri()
Returns the URI for this component, returns null if there is no URI.
|
java.lang.String |
getUrn()
Returns the URN for this component.
|
int |
hashCode() |
java.lang.String |
toString() |
getAnnotations, getAnnotationsByTitle, getAnnotationsByType, hasAnnotationType
getIdentifiableComposites, getIdentifiableParent, getMaintainableParent, getParent, getStructureType
deepEquals, getComposites, getComposites, getCrossReferences, getParent
getAnnotations, getAnnotationsByTitle, getAnnotationsByType, hasAnnotationType
getIdentifiableComposites, getIdentifiableParent, getMaintainableParent, getParent
deepEquals, getComposites, getComposites, getCrossReferences, getParent, getStructureType
public IdentifiableBeanImpl(java.lang.String id, SDMX_STRUCTURE_TYPE structureType, SdmxStructureBean parent)
public IdentifiableBeanImpl(org.sdmx.resources.sdmxml.schemas.v21.structure.IdentifiableType createdFrom, SDMX_STRUCTURE_TYPE structureType, SdmxStructureBean parent)
public IdentifiableBeanImpl(org.apache.xmlbeans.XmlObject createdFrom, SDMX_STRUCTURE_TYPE structureType, java.lang.String id, java.lang.String uri, org.sdmx.resources.sdmxml.schemas.v20.common.AnnotationsType annotationsType, SdmxStructureBean parent)
public IdentifiableBeanImpl(org.apache.xmlbeans.XmlObject createdFrom, SDMX_STRUCTURE_TYPE structureType, java.lang.String id, java.lang.String uri, org.sdmx.resources.sdmxml.schemas.v10.xmlbeans.common.AnnotationsType annotationsType, SdmxStructureBean parent)
public StructureReferenceBean asReference()
IdentifiableBean
asReference
in interface IdentifiableBean
public java.lang.String getId()
IdentifiableBean
getId
in interface IdentifiableBean
public java.net.URI getUri()
IdentifiableBean
MaintainableBean
and isExternalReference
is true.getUri
in interface IdentifiableBean
public java.lang.String getFullIdPath(boolean includeDifferentTypes)
IdentifiableBean
getFullIdPath
in interface IdentifiableBean
includeDifferentTypes
- if true will recurse all the way back up the tree regardless of ancestor types, up to the maintainable level.
If false, will stop at the first occurrence of an ancestor who's getStructureType() is not equal to this.getStructureType().public java.lang.String getUrn()
IdentifiableBean
getUrn
in interface IdentifiableBean
public java.util.List<TextTypeWrapper> getAllTextTypes()
IdentifiableBean
getAllTextTypes
in interface IdentifiableBean
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object