Interface ManagedFunctionObjectTypeBuilder<M extends java.lang.Enum<M>>
-
- All Known Implementing Classes:
ManagedFunctionObjectTypeImpl
public interface ManagedFunctionObjectTypeBuilder<M extends java.lang.Enum<M>>
Provides means for theManagedFunctionSource
to provide atype definition
of a dependencyObject
required by theManagedFunction
.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ManagedFunctionObjectTypeBuilder<M>
addAnnotation(java.lang.Object annotation)
Adds an annotation.int
getIndex()
Obtains the index of the dependency.ManagedFunctionObjectTypeBuilder<M>
setKey(M key)
Specifies theEnum
for thisManagedFunctionObjectTypeBuilder
.ManagedFunctionObjectTypeBuilder<M>
setLabel(java.lang.String label)
Provides means to specify a display label for theObject
.ManagedFunctionObjectTypeBuilder<M>
setTypeQualifier(java.lang.String qualifier)
Specifies the type qualifier.
-
-
-
Method Detail
-
getIndex
int getIndex()
Obtains the index of the dependency.- Returns:
- Index of the dependency.
-
setKey
ManagedFunctionObjectTypeBuilder<M> setKey(M key)
Specifies theEnum
for thisManagedFunctionObjectTypeBuilder
. This is required to be set ifM
is notNone
orIndexed
.- Parameters:
key
-Enum
for thisManagedFunctionObjectTypeBuilder
.- Returns:
this
.
-
setTypeQualifier
ManagedFunctionObjectTypeBuilder<M> setTypeQualifier(java.lang.String qualifier)
Specifies the type qualifier.- Parameters:
qualifier
- Type qualifier.- Returns:
this
.
-
setLabel
ManagedFunctionObjectTypeBuilder<M> setLabel(java.lang.String label)
Provides means to specify a display label for the
Object
.This need not be set as is only an aid to better identify the
Object
. If not set theManagedFunctionTypeBuilder
will use the following order to get a display label:Enum
key name- index value
- Parameters:
label
- Display label for theObject
.- Returns:
this
.
-
addAnnotation
ManagedFunctionObjectTypeBuilder<M> addAnnotation(java.lang.Object annotation)
Adds an annotation.- Parameters:
annotation
- Annotation.- Returns:
this
.
-
-