* @return
*/
private static int getLongAnnotationFromPlane(Plane plane, String description, int defaultValue) {
int result = defaultValue;
for (int annotationRefIdx=0; annotationRefIdx<plane.sizeOfLinkedAnnotationList(); annotationRefIdx++) {
Annotation a = plane.getLinkedAnnotation(annotationRefIdx);
if (a.getDescription().equals(description) &&
a.getNamespace().equals(ANNOTATION_NAMESPACE) &&
a instanceof LongAnnotation) {
result = ((LongAnnotation)a).getValue().intValue();
break;
}
}