Interface AnnotationMetadataService
- All Superinterfaces:
Service
Provides methods to retrieve metadata about annotation types, annotation fields, placemark types, placemark fields,
reference types, and reference fields.
-
Method Summary
Modifier and TypeMethodDescriptiongetField(AnnotationFieldRequest request) Retrieves a singleAnnotationField.Retrieves a singleAnnotationPlacemarkField.Retrieves a singleAnnotationPlacemarkType.<T> Collection<T>Retrieves the value set for a particular placemark field on a particular placemark type.Retrieves a singleAnnotationReferenceField.Retrieves a singleAnnotationReferenceType.<T> Collection<T>Retrieves the value set for a particular reference field on a particular reference type.getType(AnnotationTypeRequest request) Retrieves a singleAnnotationType.<T> Collection<T>getValueSet(AnnotationValueSetRequest<T> request) Retrieves the value set for a particular field on a particular annotation type.Creates a newAnnotationFieldRequest.Builder.Creates a newAnnotationPlacemarkFieldRequest.Builder.Creates a newAnnotationPlacemarkTypeRequest.Builder.Creates a newAnnotationPlacemarkValueSetRequest.Builder.Creates a newAnnotationReferenceFieldRequest.Builder.Creates a newAnnotationReferenceTypeRequest.Builder.Creates a newAnnotationReferenceValueSetRequest.Builder.Creates a newAnnotationTypeRequest.Builder.newValueSetRequestBuilder(AnnotationValueType<T> valueType) Creates a newAnnotationValueSetRequest.Builder.
-
Method Details
-
newFieldRequestBuilder
AnnotationFieldRequest.Builder newFieldRequestBuilder()Creates a newAnnotationFieldRequest.Builder.- Returns:
- the created
AnnotationFieldRequest.Builder
-
getField
Retrieves a singleAnnotationField.- Parameters:
request- theAnnotationFieldRequestcontaining the information needed to retrieve the annotation field metadata. Cannot be null or empty.- Returns:
- an
AnnotationFieldcontaining the metadata of the requested annotation field
-
newTypeRequestBuilder
AnnotationTypeRequest.Builder newTypeRequestBuilder()Creates a newAnnotationTypeRequest.Builder.- Returns:
- the created
AnnotationTypeRequest.Builder
-
getType
Retrieves a singleAnnotationType.- Parameters:
request- theAnnotationTypeRequestcontaining the information needed to retrieve the annotation type metadata. Cannot be null or empty.- Returns:
- an
AnnotationTypecontaining the metadata of the requested annotation type
-
newPlacemarkFieldRequestBuilder
AnnotationPlacemarkFieldRequest.Builder newPlacemarkFieldRequestBuilder()Creates a newAnnotationPlacemarkFieldRequest.Builder.- Returns:
- the created
AnnotationPlacemarkFieldRequest.Builder
-
getPlacemarkField
Retrieves a singleAnnotationPlacemarkField.- Parameters:
request- theAnnotationPlacemarkFieldRequestcontaining the information needed to retrieve the annotation placemark field metadata. Cannot be null or empty.- Returns:
- an
AnnotationPlacemarkFieldcontaining the metadata of the requested annotation placemark field
-
newPlacemarkTypeRequestBuilder
AnnotationPlacemarkTypeRequest.Builder newPlacemarkTypeRequestBuilder()Creates a newAnnotationPlacemarkTypeRequest.Builder.- Returns:
- the created
AnnotationPlacemarkTypeRequest.Builder
-
getPlacemarkType
Retrieves a singleAnnotationPlacemarkType.- Parameters:
request- theAnnotationPlacemarkTypeRequestcontaining the information needed to retrieve the annotation placemark type metadata. Cannot be null or empty.- Returns:
- an
AnnotationPlacemarkTypecontaining the metadata of the requested annotation placemark type
-
newReferenceFieldRequestBuilder
AnnotationReferenceFieldRequest.Builder newReferenceFieldRequestBuilder()Creates a newAnnotationReferenceFieldRequest.Builder.- Returns:
- the created
AnnotationReferenceFieldRequest.Builder
-
getReferenceField
Retrieves a singleAnnotationReferenceField.- Parameters:
request- theAnnotationReferenceFieldRequestcontaining the information needed to retrieve the annotation reference field metadata. Cannot be null or empty.- Returns:
- an
AnnotationReferenceFieldcontaining the metadata of the requested annotation reference field
-
newReferenceTypeRequestBuilder
AnnotationReferenceTypeRequest.Builder newReferenceTypeRequestBuilder()Creates a newAnnotationReferenceTypeRequest.Builder.- Returns:
- the created
AnnotationReferenceTypeRequest.Builder
-
getReferenceType
Retrieves a singleAnnotationReferenceType.- Parameters:
request- theAnnotationReferenceTypeRequestcontaining the information needed to retrieve the annotation reference type metadata. Cannot be null or empty.- Returns:
- an
AnnotationReferenceTypecontaining the metadata of the requested annotation reference type
-
newValueSetRequestBuilder
<T> AnnotationValueSetRequest.Builder<T> newValueSetRequestBuilder(AnnotationValueType<T> valueType) Creates a newAnnotationValueSetRequest.Builder.- Type Parameters:
T- the Java class that backs the value type- Parameters:
valueType- the value type of the field to request the value set for- Returns:
- the created
AnnotationValueSetRequest.Builder
-
getValueSet
Retrieves the value set for a particular field on a particular annotation type. Relevant to fields that are allowed on the specified annotation type, and that returntrueforAnnotationField.hasValueSet().- Type Parameters:
T- the Java class that backs the value type- Parameters:
request- theAnnotationValueSetRequestcontaining the field and type information needed to retrieve the value set- Returns:
- the value set for the specified field
-
newPlacemarkValueSetRequestBuilder
<T> AnnotationPlacemarkValueSetRequest.Builder<T> newPlacemarkValueSetRequestBuilder(AnnotationPlacemarkValueType<T> valueType) Creates a newAnnotationPlacemarkValueSetRequest.Builder.- Type Parameters:
T- the Java class that backs the value type- Parameters:
valueType- the value type of the placemark field to request the value set for- Returns:
- the created
AnnotationPlacemarkValueSetRequest.Builder
-
getPlacemarkValueSet
Retrieves the value set for a particular placemark field on a particular placemark type. Relevant to fields that are allowed on the specified placemark type, and that returntrueforAnnotationPlacemarkField.hasValueSet().- Type Parameters:
T- the Java class that backs the value type- Parameters:
request- theAnnotationPlacemarkValueSetRequestcontaining the field and type information needed to retrieve the value set- Returns:
- the value set for the specified field
-
newReferenceValueSetRequestBuilder
<T> AnnotationReferenceValueSetRequest.Builder<T> newReferenceValueSetRequestBuilder(AnnotationReferenceValueType<T> valueType) Creates a newAnnotationReferenceValueSetRequest.Builder.- Type Parameters:
T- the Java class that backs the value type- Parameters:
valueType- the value type of the reference field to request the value set for- Returns:
- the created
AnnotationReferenceValueSetRequest.Builder
-
getReferenceValueSet
Retrieves the value set for a particular reference field on a particular reference type. Relevant to fields that are allowed on the specified reference type, and that returntrueforAnnotationReferenceField.hasValueSet().- Type Parameters:
T- the Java class that backs the value type- Parameters:
request- theAnnotationReferenceValueSetRequestcontaining the field and type information needed to retrieve the value set- Returns:
- the value set for the specified field
-