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
OfficeSectionTypeimplementation.- 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-OfficeSectionInputTypeinstances.outputs-OfficeSectionOutputTypeinstances.objects-OfficeSectionObjectTypeinstances.
-
-
Method Detail
-
initialiseAsOfficeSubSectionType
public void initialiseAsOfficeSubSectionType(OfficeSubSectionType parent, OfficeSubSectionType[] subSections, OfficeFunctionType[] functions, OfficeSectionManagedObjectType[] managedObjects)
Initialises theOfficeSubSectionTypestate.- Parameters:
parent- ParentOfficeSubSectionType.subSections-OfficeSubSectionTypeinstances.functions-OfficeFunctionTypeinstances.managedObjects-OfficeSectionManagedObjectTypeinstances.
-
getOfficeSectionName
public java.lang.String getOfficeSectionName()
Description copied from interface:OfficeSubSectionTypeObtains the name of thisOfficeSection/OfficeSubSection.- Specified by:
getOfficeSectionNamein interfaceOfficeSubSectionType- Returns:
- Name of this
OfficeSection/OfficeSubSection.
-
getParentOfficeSubSectionType
public OfficeSubSectionType getParentOfficeSubSectionType()
Description copied from interface:OfficeSubSectionTypeObtains the parentOfficeSubSectionType.- Specified by:
getParentOfficeSubSectionTypein interfaceOfficeSubSectionType- Returns:
- Parent
OfficeSubSectionTypeornullif this is theOfficeSectionType.
-
getOfficeSubSectionTypes
public OfficeSubSectionType[] getOfficeSubSectionTypes()
Description copied from interface:OfficeSubSectionTypeObtains theOfficeSubSectionTypeinstances of thisOfficeSectionType.- Specified by:
getOfficeSubSectionTypesin interfaceOfficeSubSectionType- Returns:
OfficeSubSectionTypeinstances.
-
getOfficeFunctionTypes
public OfficeFunctionType[] getOfficeFunctionTypes()
Description copied from interface:OfficeSubSectionTypeObtains the
OfficeFunctionTypeinstances for this particularOfficeSubSection.This does not include the
OfficeFunctionTypeinstances of the sub sections.- Specified by:
getOfficeFunctionTypesin interfaceOfficeSubSectionType- Returns:
OfficeFunctionTypeinstances for this particularOfficeSubSection.
-
getOfficeSectionManagedObjectTypes
public OfficeSectionManagedObjectType[] getOfficeSectionManagedObjectTypes()
Description copied from interface:OfficeSubSectionTypeObtains the
OfficeSectionManagedObjectTypeinstances for this particularOfficeSubSection.This does not include the
OfficeSectionManagedObjectTypeinstances of the sub sections.- Specified by:
getOfficeSectionManagedObjectTypesin interfaceOfficeSubSectionType- Returns:
OfficeSectionManagedObjectTypeinstances for this particularOfficeSubSection.
-
getOfficeSectionInputTypes
public OfficeSectionInputType[] getOfficeSectionInputTypes()
Description copied from interface:OfficeSectionTypeObtains theOfficeSectionInputTypeinstances for thisOfficeSection.- Specified by:
getOfficeSectionInputTypesin interfaceOfficeSectionType- Returns:
OfficeSectionInputTypeinstances for thisOfficeSection.
-
getOfficeSectionOutputTypes
public OfficeSectionOutputType[] getOfficeSectionOutputTypes()
Description copied from interface:OfficeSectionTypeObtains theOfficeSectionOutputTypeinstances for thisOfficeSection.- Specified by:
getOfficeSectionOutputTypesin interfaceOfficeSectionType- Returns:
OfficeSectionOutputTypeinstances for thisOfficeSection.
-
getOfficeSectionObjectTypes
public OfficeSectionObjectType[] getOfficeSectionObjectTypes()
Description copied from interface:OfficeSectionTypeObtains theOfficeSectionObjectTypeinstances required by thisOfficeSection.- Specified by:
getOfficeSectionObjectTypesin interfaceOfficeSectionType- Returns:
OfficeSectionObjectTypeinstances required by thisOfficeSection.
-
-