Class OfficeSectionTypeImpl
- java.lang.Object
-
- net.officefloor.compile.impl.section.OfficeSectionTypeImpl
-
- All Implemented Interfaces:
OfficeSectionType
,OfficeSubSectionType
public class OfficeSectionTypeImpl extends java.lang.Object implements OfficeSectionType
OfficeSectionType
implementation.- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description OfficeSectionTypeImpl(java.lang.String name, OfficeSectionInputType[] inputs, OfficeSectionOutputType[] outputs, OfficeSectionObjectType[] objects)
Instantiate.
-
Method Summary
-
-
-
Constructor Detail
-
OfficeSectionTypeImpl
public OfficeSectionTypeImpl(java.lang.String name, OfficeSectionInputType[] inputs, OfficeSectionOutputType[] outputs, OfficeSectionObjectType[] objects)
Instantiate.- Parameters:
name
- Name of thisOfficeSection
.inputs
-OfficeSectionInputType
instances.outputs
-OfficeSectionOutputType
instances.objects
-OfficeSectionObjectType
instances.
-
-
Method Detail
-
initialiseAsOfficeSubSectionType
public void initialiseAsOfficeSubSectionType(OfficeSubSectionType parent, OfficeSubSectionType[] subSections, OfficeFunctionType[] functions, OfficeSectionManagedObjectType[] managedObjects)
Initialises theOfficeSubSectionType
state.- Parameters:
parent
- ParentOfficeSubSectionType
.subSections
-OfficeSubSectionType
instances.functions
-OfficeFunctionType
instances.managedObjects
-OfficeSectionManagedObjectType
instances.
-
getOfficeSectionName
public java.lang.String getOfficeSectionName()
Description copied from interface:OfficeSubSectionType
Obtains the name of thisOfficeSection
/OfficeSubSection
.- Specified by:
getOfficeSectionName
in interfaceOfficeSubSectionType
- Returns:
- Name of this
OfficeSection
/OfficeSubSection
.
-
getParentOfficeSubSectionType
public OfficeSubSectionType getParentOfficeSubSectionType()
Description copied from interface:OfficeSubSectionType
Obtains the parentOfficeSubSectionType
.- Specified by:
getParentOfficeSubSectionType
in interfaceOfficeSubSectionType
- Returns:
- Parent
OfficeSubSectionType
ornull
if this is theOfficeSectionType
.
-
getOfficeSubSectionTypes
public OfficeSubSectionType[] getOfficeSubSectionTypes()
Description copied from interface:OfficeSubSectionType
Obtains theOfficeSubSectionType
instances of thisOfficeSectionType
.- Specified by:
getOfficeSubSectionTypes
in interfaceOfficeSubSectionType
- Returns:
OfficeSubSectionType
instances.
-
getOfficeFunctionTypes
public OfficeFunctionType[] getOfficeFunctionTypes()
Description copied from interface:OfficeSubSectionType
Obtains the
OfficeFunctionType
instances for this particularOfficeSubSection
.This does not include the
OfficeFunctionType
instances of the sub sections.- Specified by:
getOfficeFunctionTypes
in interfaceOfficeSubSectionType
- Returns:
OfficeFunctionType
instances for this particularOfficeSubSection
.
-
getOfficeSectionManagedObjectTypes
public OfficeSectionManagedObjectType[] getOfficeSectionManagedObjectTypes()
Description copied from interface:OfficeSubSectionType
Obtains the
OfficeSectionManagedObjectType
instances for this particularOfficeSubSection
.This does not include the
OfficeSectionManagedObjectType
instances of the sub sections.- Specified by:
getOfficeSectionManagedObjectTypes
in interfaceOfficeSubSectionType
- Returns:
OfficeSectionManagedObjectType
instances for this particularOfficeSubSection
.
-
getOfficeSectionInputTypes
public OfficeSectionInputType[] getOfficeSectionInputTypes()
Description copied from interface:OfficeSectionType
Obtains theOfficeSectionInputType
instances for thisOfficeSection
.- Specified by:
getOfficeSectionInputTypes
in interfaceOfficeSectionType
- Returns:
OfficeSectionInputType
instances for thisOfficeSection
.
-
getOfficeSectionOutputTypes
public OfficeSectionOutputType[] getOfficeSectionOutputTypes()
Description copied from interface:OfficeSectionType
Obtains theOfficeSectionOutputType
instances for thisOfficeSection
.- Specified by:
getOfficeSectionOutputTypes
in interfaceOfficeSectionType
- Returns:
OfficeSectionOutputType
instances for thisOfficeSection
.
-
getOfficeSectionObjectTypes
public OfficeSectionObjectType[] getOfficeSectionObjectTypes()
Description copied from interface:OfficeSectionType
Obtains theOfficeSectionObjectType
instances required by thisOfficeSection
.- Specified by:
getOfficeSectionObjectTypes
in interfaceOfficeSectionType
- Returns:
OfficeSectionObjectType
instances required by thisOfficeSection
.
-
-