net.officefloor.eclipse.wizard.sectionsource
Class SectionInstance

java.lang.Object
  extended by net.officefloor.eclipse.wizard.sectionsource.SectionInstance

public class SectionInstance
extends Object

Instance of a OfficeSection.

Author:
Daniel Sagenschneider

Constructor Summary
SectionInstance(OfficeSectionModel model)
          Initiate for public use from OfficeSectionModel.
SectionInstance(String sectionName, String sectionSourceClassName, String sectionLocation)
          Initiate for public use.
 
Method Summary
 Map<String,String> getInputNameMapping()
          Obtains the input name mapping.
 Map<String,String> getObjectNameMapping()
          Obtains the object name mapping.
 OfficeSection getOfficeSection()
          Obtains the OfficeSection.
 OfficeSectionModel getOfficeSectionModel()
          Obtains the OfficeSectionModel.
 Map<String,String> getOutputNameMapping()
          Obtains the output name mapping.
 PropertyList getPropertylist()
          Obtains the PropertyList.
 String getSectionLocation()
          Obtains the location of the OfficeSection.
 String getSectionName()
          Obtains the name of the OfficeSection.
 String getSectionSourceClassName()
          Obtains the SectionSource class name.
 SectionType getSectionType()
          Obtains the SectionType.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SectionInstance

public SectionInstance(String sectionName,
                       String sectionSourceClassName,
                       String sectionLocation)
Initiate for public use.

Parameters:
sectionName - Name of the OfficeSection.
sectionSourceClassName - SectionSource class name.
sectionLocation - Location of the OfficeSection.

SectionInstance

public SectionInstance(OfficeSectionModel model)
Initiate for public use from OfficeSectionModel.

Parameters:
model - OfficeSectionModel.
Method Detail

getSectionName

public String getSectionName()
Obtains the name of the OfficeSection.

Returns:
Name of the OfficeSection.

getSectionSourceClassName

public String getSectionSourceClassName()
Obtains the SectionSource class name.

Returns:
SectionSource class name.

getSectionLocation

public String getSectionLocation()
Obtains the location of the OfficeSection.

Returns:
Location of the OfficeSection.

getPropertylist

public PropertyList getPropertylist()
Obtains the PropertyList.

Returns:
PropertyList.

getOfficeSectionModel

public OfficeSectionModel getOfficeSectionModel()
Obtains the OfficeSectionModel.

Returns:
OfficeSectionModel.

getSectionType

public SectionType getSectionType()
Obtains the SectionType.

Returns:
SectionType if obtained from SectionSourceInstance or null if:
  1. initiated by public constructor
  2. loading OfficeSection

getOfficeSection

public OfficeSection getOfficeSection()
Obtains the OfficeSection.

Returns:
OfficeSection if obtained from SectionSourceInstance or null if:
  1. initiated by public constructor
  2. loading SectionType

getInputNameMapping

public Map<String,String> getInputNameMapping()
Obtains the input name mapping.

Returns:
Input name mapping.

getOutputNameMapping

public Map<String,String> getOutputNameMapping()
Obtains the output name mapping.

Returns:
Output name mapping.

getObjectNameMapping

public Map<String,String> getObjectNameMapping()
Obtains the object name mapping.

Returns:
Object name mapping.


Copyright © 2005-2013. All Rights Reserved.