public interface IdentifiableBean extends AnnotableBean, SdmxStructureBean
Modifier and Type | Method and Description |
---|---|
StructureReferenceBean |
asReference()
Builds a StructureReferenceBean that is a representation of this IdentifiableBean as a reference.
|
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.
|
getAnnotations, getAnnotationsByTitle, getAnnotationsByType, hasAnnotationType
getIdentifiableComposites, getIdentifiableParent, getMaintainableParent, getParent
deepEquals, getComposites, getComposites, getCrossReferences, getParent, getStructureType
java.lang.String getId()
java.lang.String getFullIdPath(boolean includeDifferentTypes)
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().java.lang.String getUrn()
java.net.URI getUri()
MaintainableBean
and isExternalReference
is true.StructureReferenceBean asReference()
java.util.List<TextTypeWrapper> getAllTextTypes()