Class OfficeSectionTypeImpl
java.lang.Object
net.officefloor.compile.impl.section.OfficeSectionTypeImpl
- All Implemented Interfaces:
OfficeSectionType,OfficeSubSectionType
OfficeSectionType implementation.- Author:
- Daniel Sagenschneider
-
Constructor Summary
ConstructorsConstructorDescriptionOfficeSectionTypeImpl(String name, OfficeSectionInputType[] inputs, OfficeSectionOutputType[] outputs, OfficeSectionObjectType[] objects) Instantiate. -
Method Summary
Modifier and TypeMethodDescriptionObtains theOfficeFunctionTypeinstances for this particularOfficeSubSection.Obtains theOfficeSectionInputTypeinstances for thisOfficeSection.Obtains theOfficeSectionManagedObjectTypeinstances for this particularOfficeSubSection.Obtains the name of thisOfficeSection/OfficeSubSection.Obtains theOfficeSectionObjectTypeinstances required by thisOfficeSection.Obtains theOfficeSectionOutputTypeinstances for thisOfficeSection.Obtains theOfficeSubSectionTypeinstances of thisOfficeSectionType.Obtains the parentOfficeSubSectionType.voidinitialiseAsOfficeSubSectionType(OfficeSubSectionType parent, OfficeSubSectionType[] subSections, OfficeFunctionType[] functions, OfficeSectionManagedObjectType[] managedObjects) Initialises theOfficeSubSectionTypestate.
-
Constructor Details
-
OfficeSectionTypeImpl
public OfficeSectionTypeImpl(String name, OfficeSectionInputType[] inputs, OfficeSectionOutputType[] outputs, OfficeSectionObjectType[] objects) Instantiate.- Parameters:
name- Name of thisOfficeSection.inputs-OfficeSectionInputTypeinstances.outputs-OfficeSectionOutputTypeinstances.objects-OfficeSectionObjectTypeinstances.
-
-
Method Details
-
initialiseAsOfficeSubSectionType
public void initialiseAsOfficeSubSectionType(OfficeSubSectionType parent, OfficeSubSectionType[] subSections, OfficeFunctionType[] functions, OfficeSectionManagedObjectType[] managedObjects) Initialises theOfficeSubSectionTypestate.- Parameters:
parent- ParentOfficeSubSectionType.subSections-OfficeSubSectionTypeinstances.functions-OfficeFunctionTypeinstances.managedObjects-OfficeSectionManagedObjectTypeinstances.
-
getOfficeSectionName
Description copied from interface:OfficeSubSectionTypeObtains the name of thisOfficeSection/OfficeSubSection.- Specified by:
getOfficeSectionNamein interfaceOfficeSubSectionType- Returns:
- Name of this
OfficeSection/OfficeSubSection.
-
getParentOfficeSubSectionType
Description copied from interface:OfficeSubSectionTypeObtains the parentOfficeSubSectionType.- Specified by:
getParentOfficeSubSectionTypein interfaceOfficeSubSectionType- Returns:
- Parent
OfficeSubSectionTypeornullif this is theOfficeSectionType.
-
getOfficeSubSectionTypes
Description copied from interface:OfficeSubSectionTypeObtains theOfficeSubSectionTypeinstances of thisOfficeSectionType.- Specified by:
getOfficeSubSectionTypesin interfaceOfficeSubSectionType- Returns:
OfficeSubSectionTypeinstances.
-
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
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
Description copied from interface:OfficeSectionTypeObtains theOfficeSectionInputTypeinstances for thisOfficeSection.- Specified by:
getOfficeSectionInputTypesin interfaceOfficeSectionType- Returns:
OfficeSectionInputTypeinstances for thisOfficeSection.
-
getOfficeSectionOutputTypes
Description copied from interface:OfficeSectionTypeObtains theOfficeSectionOutputTypeinstances for thisOfficeSection.- Specified by:
getOfficeSectionOutputTypesin interfaceOfficeSectionType- Returns:
OfficeSectionOutputTypeinstances for thisOfficeSection.
-
getOfficeSectionObjectTypes
Description copied from interface:OfficeSectionTypeObtains theOfficeSectionObjectTypeinstances required by thisOfficeSection.- Specified by:
getOfficeSectionObjectTypesin interfaceOfficeSectionType- Returns:
OfficeSectionObjectTypeinstances required by thisOfficeSection.
-