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
- theAnnotationFieldRequest
containing the information needed to retrieve the annotation field metadata. Cannot be null or empty.- Returns:
- an
AnnotationField
containing 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
- theAnnotationTypeRequest
containing the information needed to retrieve the annotation type metadata. Cannot be null or empty.- Returns:
- an
AnnotationType
containing 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
- theAnnotationPlacemarkFieldRequest
containing the information needed to retrieve the annotation placemark field metadata. Cannot be null or empty.- Returns:
- an
AnnotationPlacemarkField
containing 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
- theAnnotationPlacemarkTypeRequest
containing the information needed to retrieve the annotation placemark type metadata. Cannot be null or empty.- Returns:
- an
AnnotationPlacemarkType
containing 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
- theAnnotationReferenceFieldRequest
containing the information needed to retrieve the annotation reference field metadata. Cannot be null or empty.- Returns:
- an
AnnotationReferenceField
containing 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
- theAnnotationReferenceTypeRequest
containing the information needed to retrieve the annotation reference type metadata. Cannot be null or empty.- Returns:
- an
AnnotationReferenceType
containing 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 returntrue
forAnnotationField.hasValueSet()
.- Type Parameters:
T
- the Java class that backs the value type- Parameters:
request
- theAnnotationValueSetRequest
containing 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 returntrue
forAnnotationPlacemarkField.hasValueSet()
.- Type Parameters:
T
- the Java class that backs the value type- Parameters:
request
- theAnnotationPlacemarkValueSetRequest
containing 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 returntrue
forAnnotationReferenceField.hasValueSet()
.- Type Parameters:
T
- the Java class that backs the value type- Parameters:
request
- theAnnotationReferenceValueSetRequest
containing the field and type information needed to retrieve the value set- Returns:
- the value set for the specified field
-