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 theManagedFunctionSourceto provide atype definitionof a dependencyObjectrequired 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.intgetIndex()Obtains the index of the dependency.ManagedFunctionObjectTypeBuilder<M>setKey(M key)Specifies theEnumfor 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 theEnumfor thisManagedFunctionObjectTypeBuilder. This is required to be set ifMis notNoneorIndexed.- Parameters:
key-Enumfor 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 theManagedFunctionTypeBuilderwill use the following order to get a display label:Enumkey 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.
-
-