public class AnnotationBeanImpl extends SDMXBeanImpl implements AnnotationBean
Constructor and Description |
---|
AnnotationBeanImpl(AnnotationMutableBean annotationMutable,
SDMXBean parent) |
AnnotationBeanImpl(org.sdmx.resources.sdmxml.schemas.v21.common.AnnotationType annotation,
SDMXBean parent) |
AnnotationBeanImpl(org.sdmx.resources.sdmxml.schemas.v20.common.AnnotationType annotation,
SDMXBean parent) |
AnnotationBeanImpl(org.sdmx.resources.sdmxml.schemas.v10.xmlbeans.common.AnnotationType annotation,
SDMXBean 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.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getId()
Returns the id of the annotation, this is a free text field.
|
java.util.List<TextTypeWrapper> |
getText()
This is a language-specific string which holds the text of the annotation.
|
java.lang.String |
getTitle()
Returns the title of the annotation, this is a free text field.
|
java.lang.String |
getType()
Returns the type of annotation, this is a free text field.
|
java.net.URI |
getUri()
Returns a URI - typically a URL - which points to an external resource which may contain or supplement the annotation.
|
int |
hashCode() |
java.lang.String |
toString() |
getComposites, getComposites, getCrossReferences, getParent, getParent, getStructureType
getComposites, getComposites, getCrossReferences, getParent, getParent, getStructureType
public AnnotationBeanImpl(AnnotationMutableBean annotationMutable, SDMXBean parent)
public AnnotationBeanImpl(org.sdmx.resources.sdmxml.schemas.v21.common.AnnotationType annotation, SDMXBean parent)
public AnnotationBeanImpl(org.sdmx.resources.sdmxml.schemas.v20.common.AnnotationType annotation, SDMXBean parent)
public AnnotationBeanImpl(org.sdmx.resources.sdmxml.schemas.v10.xmlbeans.common.AnnotationType annotation, SDMXBean 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 int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String getTitle()
AnnotationBean
getTitle
in interface AnnotationBean
public java.lang.String getId()
AnnotationBean
getId
in interface AnnotationBean
public java.lang.String getType()
AnnotationBean
getType
in interface AnnotationBean
public java.net.URI getUri()
AnnotationBean
getUri
in interface AnnotationBean
public java.util.List<TextTypeWrapper> getText()
AnnotationBean
getText
in interface AnnotationBean
public java.lang.String toString()
toString
in class java.lang.Object