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
SectionOutputType
implementation.- 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.String
getArgumentType()
Obtains the fully qualifiedClass
name of the argument type for thisSectionOutputType
.java.lang.String
getSectionOutputName()
Obtains the name of thisSectionOutputType
.boolean
isEscalationOnly()
Indicates if thisSectionOutputType
is used only to handleManagedFunctionEscalationType
instances.-
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 ifEscalation
only.annotations
- Annotations.
-
-
Method Detail
-
getSectionOutputName
public java.lang.String getSectionOutputName()
Description copied from interface:SectionOutputType
Obtains the name of thisSectionOutputType
.- Specified by:
getSectionOutputName
in interfaceSectionOutputType
- Returns:
- Name of this
SectionOutputType
.
-
getArgumentType
public java.lang.String getArgumentType()
Description copied from interface:SectionOutputType
Obtains the fully qualified
Class
name of the argument type for thisSectionOutputType
.The name is returned rather than the actual
Class
to enable theSectionType
to be obtained should theClass
not be available to theClassLoader
.- Specified by:
getArgumentType
in interfaceSectionOutputType
- Returns:
- Fully qualified
Class
name of the argument type.
-
isEscalationOnly
public boolean isEscalationOnly()
Description copied from interface:SectionOutputType
Indicates if this
SectionOutputType
is used only to handleManagedFunctionEscalationType
instances.A
ManagedFunctionFlowType
must be connected to anSectionInputType
, however aManagedFunctionEscalationType
may be generically handled by theOffice
.- Specified by:
isEscalationOnly
in interfaceSectionOutputType
- Returns:
true
if thisSectionOutputType
isManagedFunctionEscalationType
instances only.
-
getAnnotations
public java.lang.Object[] getAnnotations()
Description copied from interface:AnnotatedType
Obtains the annotations.- Specified by:
getAnnotations
in interfaceAnnotatedType
- Returns:
- Annotations.
-
-