protected void setAnnotationType(AnnotationType type) {
        this.aType = type;
        setId(createId());
    }
Sets the annotation type that this AnnotationReferenceDataType points to. WARNING! Do not use.
@param type the annotation type of this AnnotationReferenceDataType.
document/src/main/java/com/yahoo/document/annotation/AnnotationReferenceDataType.java