Module io.helidon.common.types
Package io.helidon.common.types
Class Annotation.BuilderBase.AnnotationImpl
java.lang.Object
io.helidon.common.types.Annotation.BuilderBase.AnnotationImpl
- All Implemented Interfaces:
Prototype.Api
,Annotation
,Comparable<Annotation>
- Enclosing class:
Annotation.BuilderBase<BUILDER extends Annotation.BuilderBase<BUILDER,
PROTOTYPE>, PROTOTYPE extends Annotation>
Generated implementation of the prototype, can be extended by descendant prototype implementations.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.helidon.common.types.Annotation
Annotation.Builder, Annotation.BuilderBase<BUILDER extends Annotation.BuilderBase<BUILDER,
PROTOTYPE>, PROTOTYPE extends Annotation> -
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
AnnotationImpl
(Annotation.BuilderBase<?, ?> builder) Create an instance providing a builder. -
Method Summary
Modifier and TypeMethodDescriptiondefault Optional
<Annotation> Typed value of the property "value
".default Optional
<Annotation> annotationValue
(String property) Typed value of a named property.default Optional
<List<Annotation>> Typed value of the property "value
" that is defined as an array.default Optional
<List<Annotation>> annotationValues
(String property) Typed values of a property that is defined as an array.Typed value of the property "value
".booleanValue
(String property) Typed value of a named property.Typed value of the property "value
" that is defined as an array.booleanValues
(String property) Typed values of a property that is defined as an array.Typed value of the property "value
".Typed value of a named property.Typed value of the property "value
" that is defined as an array.byteValues
(String property) Typed values of a property that is defined as an array.Typed value of the property "value
".Typed value of a named property.Typed value of the property "value
" that is defined as an array.charValues
(String property) Typed values of a property that is defined as an array.Typed value of the property "value
".classValue
(String property) Typed value of a named property.Typed value of the property "value
" that is defined as an array.classValues
(String property) Typed values of a property that is defined as an array.int
Typed value of the property "value
".doubleValue
(String property) Typed value of a named property.Typed value of the property "value
" that is defined as an array.doubleValues
(String property) Typed values of a property that is defined as an array.Typed value of the property "value
".Typed value of a named property.enumValues
(Class<T> type) Typed value of the property "value
" that is defined as an array.enumValues
(String property, Class<T> type) Typed values of a property that is defined as an array.boolean
Typed value of the property "value
".floatValue
(String property) Typed value of a named property.Typed value of the property "value
" that is defined as an array.floatValues
(String property) Typed values of a property that is defined as an array.Get a value of an annotation property.int
hashCode()
intValue()
Typed value of the property "value
".Typed value of a named property.Typed value of the property "value
" that is defined as an array.Typed values of a property that is defined as an array.Typed value of the property "value
".Typed value of a named property.Typed value of the property "value
" that is defined as an array.longValues
(String property) Typed values of a property that is defined as an array.Value of the annotation as an object.objectValue
(String property) Value of the annotation property as an object.Typed value of the property "value
".shortValue
(String property) Typed value of a named property.Typed value of the property "value
" that is defined as an array.shortValues
(String property) Typed values of a property that is defined as an array.Typed value of the property "value
".stringValue
(String property) Typed value of a named property.Typed value of the property "value
" that is defined as an array.stringValues
(String property) Typed values of a property that is defined as an array.toString()
typeName()
Typed value of the property "value
".Typed value of a named property.Typed value of the property "value
" that is defined as an array.typeValues
(String property) Typed values of a property that is defined as an array.value()
The value property.values()
-
Field Details
-
VALUE_PROPERTY
The "value
" property name.- See Also:
-
-
Constructor Details
-
AnnotationImpl
Create an instance providing a builder.- Parameters:
builder
- extending builder base of this prototype
-
-
Method Details
-
compareTo
- Specified by:
compareTo
in interfaceComparable<Annotation>
-
typeName
-
values
-
toString
-
equals
-
hashCode
public int hashCode() -
value
The value property.- Returns:
- the string value of value property
-
getValue
Get a value of an annotation property.- Parameters:
property
- name of the annotation property- Returns:
- string value of the property
-
objectValue
Value of the annotation as an object. The type can be either String, or any primitive type, orAnnotation
, or list of these.- Returns:
- object value
-
objectValue
Value of the annotation property as an object. The type can be either String, or any primitive type, orAnnotation
, or list of these.- Parameters:
property
- name of the annotation property- Returns:
- object value
-
stringValue
Typed value of the property "value
".- Returns:
- value if present
-
stringValue
Typed value of a named property.- Parameters:
property
- name of the annotation property- Returns:
- value if present
-
stringValues
Typed value of the property "value
" that is defined as an array. This will also work for a single values property.- Returns:
- list of defined values if present
-
stringValues
Typed values of a property that is defined as an array. This will also work for a single values property.- Parameters:
property
- name of the annotation property- Returns:
- list of defined values if present
-
intValue
Typed value of the property "value
".- Returns:
- value if present
-
intValue
Typed value of a named property.- Parameters:
property
- name of the annotation property- Returns:
- value if present
-
intValues
Typed value of the property "value
" that is defined as an array. This will also work for a single values property.- Returns:
- list of defined values if present
-
intValues
Typed values of a property that is defined as an array. This will also work for a single values property.- Parameters:
property
- name of the annotation property- Returns:
- list of defined values if present
-
longValue
Typed value of the property "value
".- Returns:
- value if present
-
longValue
Typed value of a named property.- Parameters:
property
- name of the annotation property- Returns:
- value if present
-
longValues
Typed value of the property "value
" that is defined as an array. This will also work for a single values property.- Returns:
- list of defined values if present
-
longValues
Typed values of a property that is defined as an array. This will also work for a single values property.- Parameters:
property
- name of the annotation property- Returns:
- list of defined values if present
-
booleanValue
Typed value of the property "value
".- Returns:
- value if present
-
booleanValue
Typed value of a named property.- Parameters:
property
- name of the annotation property- Returns:
- value if present
-
booleanValues
Typed value of the property "value
" that is defined as an array. This will also work for a single values property.- Returns:
- list of defined values if present
-
booleanValues
Typed values of a property that is defined as an array. This will also work for a single values property.- Parameters:
property
- name of the annotation property- Returns:
- list of defined values if present
-
byteValue
Typed value of the property "value
".- Returns:
- value if present
-
byteValue
Typed value of a named property.- Parameters:
property
- name of the annotation property- Returns:
- value if present
-
byteValues
Typed value of the property "value
" that is defined as an array. This will also work for a single values property.- Returns:
- list of defined values if present
-
byteValues
Typed values of a property that is defined as an array. This will also work for a single values property.- Parameters:
property
- name of the annotation property- Returns:
- list of defined values if present
-
charValue
Typed value of the property "value
".- Returns:
- value if present
-
charValue
Typed value of a named property.- Parameters:
property
- name of the annotation property- Returns:
- value if present
-
charValues
Typed value of the property "value
" that is defined as an array. This will also work for a single values property.- Returns:
- list of defined values if present
-
charValues
Typed values of a property that is defined as an array. This will also work for a single values property.- Parameters:
property
- name of the annotation property- Returns:
- list of defined values if present
-
shortValue
Typed value of the property "value
".- Returns:
- value if present
-
shortValue
Typed value of a named property.- Parameters:
property
- name of the annotation property- Returns:
- value if present
-
shortValues
Typed value of the property "value
" that is defined as an array. This will also work for a single values property.- Returns:
- list of defined values if present
-
shortValues
Typed values of a property that is defined as an array. This will also work for a single values property.- Parameters:
property
- name of the annotation property- Returns:
- list of defined values if present
-
floatValue
Typed value of the property "value
".- Returns:
- value if present
-
floatValue
Typed value of a named property.- Parameters:
property
- name of the annotation property- Returns:
- value if present
-
floatValues
Typed value of the property "value
" that is defined as an array. This will also work for a single values property.- Returns:
- list of defined values if present
-
floatValues
Typed values of a property that is defined as an array. This will also work for a single values property.- Parameters:
property
- name of the annotation property- Returns:
- list of defined values if present
-
doubleValue
Typed value of the property "value
".- Returns:
- value if present
-
doubleValue
Typed value of a named property.- Parameters:
property
- name of the annotation property- Returns:
- value if present
-
doubleValues
Typed value of the property "value
" that is defined as an array. This will also work for a single values property.- Returns:
- list of defined values if present
-
doubleValues
Typed values of a property that is defined as an array. This will also work for a single values property.- Parameters:
property
- name of the annotation property- Returns:
- list of defined values if present
-
classValue
Typed value of the property "value
".- Returns:
- value if present
-
classValue
Typed value of a named property.- Parameters:
property
- name of the annotation property- Returns:
- value if present
-
classValues
Typed value of the property "value
" that is defined as an array. This will also work for a single values property.- Returns:
- list of defined values if present
-
classValues
Typed values of a property that is defined as an array. This will also work for a single values property.- Parameters:
property
- name of the annotation property- Returns:
- list of defined values if present
-
typeValue
Typed value of the property "value
". Alternative forclassValue()
.- Returns:
- value if present
-
typeValue
Typed value of a named property. Alternative forclassValue(String)
.- Parameters:
property
- name of the annotation property- Returns:
- value if present
-
typeValues
Typed value of the property "value
" that is defined as an array. This will also work for a single values property. Alternative forclassValues()
.- Returns:
- list of defined values if present
-
typeValues
Typed values of a property that is defined as an array. This will also work for a single values property. Alternative forclassValues(String)
.- Parameters:
property
- name of the annotation property- Returns:
- list of defined values if present
-
annotationValue
Typed value of the property "value
".- Returns:
- value if present
-
annotationValue
Typed value of a named property.- Parameters:
property
- name of the annotation property- Returns:
- value if present
-
annotationValues
Typed value of the property "value
" that is defined as an array. This will also work for a single values property.- Returns:
- list of defined values if present
-
annotationValues
Typed values of a property that is defined as an array. This will also work for a single values property.- Parameters:
property
- name of the annotation property- Returns:
- list of defined values if present
-
enumValue
Typed value of the property "value
".- Type Parameters:
T
- type of the enumeration- Parameters:
type
- class of the enumeration- Returns:
- value if present
-
enumValue
Typed value of a named property.- Type Parameters:
T
- type of the enumeration- Parameters:
property
- name of the annotation propertytype
- class of the enumeration- Returns:
- value if present
-
enumValues
Typed value of the property "value
" that is defined as an array. This will also work for a single values property.- Type Parameters:
T
- type of the enumeration- Parameters:
type
- class of the enumeration- Returns:
- list of defined values if present
-
enumValues
Typed values of a property that is defined as an array. This will also work for a single values property.- Type Parameters:
T
- type of the enumeration- Parameters:
property
- name of the annotation propertytype
- class of the enumeration- Returns:
- list of defined values if present
-