Class OfficeFunctionTypeImpl
- java.lang.Object
-
- net.officefloor.compile.impl.office.OfficeFunctionTypeImpl
-
- All Implemented Interfaces:
OfficeFunctionType
public class OfficeFunctionTypeImpl extends java.lang.Object implements OfficeFunctionType
OfficeFunctionType
implementation.- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description OfficeFunctionTypeImpl(java.lang.String functionName, OfficeSubSectionType subSectionType, ObjectDependencyType[] dependencies)
Instantiate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectDependencyType[]
getObjectDependencies()
Obtains theObjectDependencyType
instances that thisOfficeSectionFunction
is dependent upon.java.lang.String
getOfficeFunctionName()
Obtains the name of theOfficeSectionFunction
.OfficeSubSectionType
getOfficeSubSectionType()
Obtains theOfficeSubSectionType
directly containing thisOfficeFunctionType
.
-
-
-
Constructor Detail
-
OfficeFunctionTypeImpl
public OfficeFunctionTypeImpl(java.lang.String functionName, OfficeSubSectionType subSectionType, ObjectDependencyType[] dependencies)
Instantiate.- Parameters:
functionName
- Name of theOfficeSectionFunction
.subSectionType
- ContainingOfficeSubSectionType
.dependencies
-ObjectDependencyType
instances of theOfficeSectionFunction
.
-
-
Method Detail
-
getOfficeFunctionName
public java.lang.String getOfficeFunctionName()
Description copied from interface:OfficeFunctionType
Obtains the name of the
OfficeSectionFunction
.This aids the
OfficeSource
in deciding theTeam
responsible for thisOfficeSectionFunction
.- Specified by:
getOfficeFunctionName
in interfaceOfficeFunctionType
- Returns:
- Name of the
OfficeSectionFunction
.
-
getOfficeSubSectionType
public OfficeSubSectionType getOfficeSubSectionType()
Description copied from interface:OfficeFunctionType
Obtains theOfficeSubSectionType
directly containing thisOfficeFunctionType
.- Specified by:
getOfficeSubSectionType
in interfaceOfficeFunctionType
- Returns:
OfficeSubSectionType
directly containing thisOfficeFunctionType
.
-
getObjectDependencies
public ObjectDependencyType[] getObjectDependencies()
Description copied from interface:OfficeFunctionType
Obtains the
ObjectDependencyType
instances that thisOfficeSectionFunction
is dependent upon.This aids the
OfficeSource
in deciding theTeam
responsible for thisOfficeSectionFunction
.- Specified by:
getObjectDependencies
in interfaceOfficeFunctionType
- Returns:
ObjectDependencyType
instances that thisOfficeSectionFunction
is dependent upon.
-
-