Class SectionOutputTypeImpl
- java.lang.Object
-
- net.officefloor.compile.impl.section.SectionOutputTypeImpl
-
- All Implemented Interfaces:
SectionOutputType,AnnotatedType
public class SectionOutputTypeImpl extends java.lang.Object implements SectionOutputType
SectionOutputTypeimplementation.- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description SectionOutputTypeImpl(java.lang.String outputName, java.lang.String argumentType, boolean isEscalationOnly, java.lang.Object[] annotations)Instantiate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object[]getAnnotations()Obtains the annotations.java.lang.StringgetArgumentType()Obtains the fully qualifiedClassname of the argument type for thisSectionOutputType.java.lang.StringgetSectionOutputName()Obtains the name of thisSectionOutputType.booleanisEscalationOnly()Indicates if thisSectionOutputTypeis used only to handleManagedFunctionEscalationTypeinstances.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.officefloor.compile.type.AnnotatedType
getAnnotation, getAnnotations
-
-
-
-
Constructor Detail
-
SectionOutputTypeImpl
public SectionOutputTypeImpl(java.lang.String outputName, java.lang.String argumentType, boolean isEscalationOnly, java.lang.Object[] annotations)Instantiate.- Parameters:
outputName- Name of theSectionOutput.argumentType- Argument type of theSectionOutput.isEscalationOnly- Flag indicating ifEscalationonly.annotations- Annotations.
-
-
Method Detail
-
getSectionOutputName
public java.lang.String getSectionOutputName()
Description copied from interface:SectionOutputTypeObtains the name of thisSectionOutputType.- Specified by:
getSectionOutputNamein interfaceSectionOutputType- Returns:
- Name of this
SectionOutputType.
-
getArgumentType
public java.lang.String getArgumentType()
Description copied from interface:SectionOutputTypeObtains the fully qualified
Classname of the argument type for thisSectionOutputType.The name is returned rather than the actual
Classto enable theSectionTypeto be obtained should theClassnot be available to theClassLoader.- Specified by:
getArgumentTypein interfaceSectionOutputType- Returns:
- Fully qualified
Classname of the argument type.
-
isEscalationOnly
public boolean isEscalationOnly()
Description copied from interface:SectionOutputTypeIndicates if this
SectionOutputTypeis used only to handleManagedFunctionEscalationTypeinstances.A
ManagedFunctionFlowTypemust be connected to anSectionInputType, however aManagedFunctionEscalationTypemay be generically handled by theOffice.- Specified by:
isEscalationOnlyin interfaceSectionOutputType- Returns:
trueif thisSectionOutputTypeisManagedFunctionEscalationTypeinstances only.
-
getAnnotations
public java.lang.Object[] getAnnotations()
Description copied from interface:AnnotatedTypeObtains the annotations.- Specified by:
getAnnotationsin interfaceAnnotatedType- Returns:
- Annotations.
-
-