Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
<?xml version="1.0" encoding="UTF-8"?>
<marshall type="net.officefloor.model.office.OfficeModel"
	element="office">

	<!-- EXTERNAL MANAGED OBJECTS -->
	<collection method="getExternalManagedObjects" element="external-managed-objects">
		<item type="net.officefloor.model.office.ExternalManagedObjectModel"
			element="external-managed-object">
			<attributes>
				<attribute method="getExternalManagedObjectName"
					attribute="name" />
				<attribute method="getObjectType" attribute="object-type" />
				<attribute method="getX" attribute="x" />
				<attribute method="getY" attribute="y" />
			</attributes>
			<collection method="getAdministrators">
				<item
					type="net.officefloor.model.office.ExternalManagedObjectToAdministratorModel"
					element="administer">
					<attributes>
						<attribute method="getAdministratorName" attribute="administrator" />
						<attribute method="getOrder" attribute="order" />
					</attributes>
				</item>
			</collection>
		</item>
	</collection>

	<!-- MANAGED OBJECT SOURCES -->
	<collection method="getOfficeManagedObjectSources" element="managed-object-sources">
		<item type="net.officefloor.model.office.OfficeManagedObjectSourceModel"
			element="managed-object-source">
			<attributes>
				<attribute method="getOfficeManagedObjectSourceName"
					attribute="name" />
				<attribute method="getManagedObjectSourceClassName"
					attribute="source" />
				<attribute method="getObjectType" attribute="object-type" />
				<attribute method="getTimeout" attribute="timeout" />
				<attribute method="getX" attribute="x" />
				<attribute method="getY" attribute="y" />
			</attributes>
			<collection method="getProperties" element="properties">
				<item type="net.officefloor.model.office.PropertyModel"
					element="property">
					<attributes>
						<attribute method="getName" attribute="name" />
						<attribute method="getValue" attribute="value" />
					</attributes>
				</item>
			</collection>
			<collection method="getOfficeInputManagedObjectDependencies">
				<item
					type="net.officefloor.model.office.OfficeInputManagedObjectDependencyModel"
					element="input-dependency">
					<attributes>
						<attribute method="getOfficeInputManagedObjectDependencyName"
							attribute="name" />
						<attribute method="getDependencyType" attribute="object-type" />
					</attributes>
					<object method="getOfficeManagedObject" element="managed-object">
						<attributes>
							<attribute method="getOfficeManagedObjectName"
								attribute="name" />
						</attributes>
					</object>
					<object method="getExternalManagedObject" element="external-managed-object">
						<attributes>
							<attribute method="getExternalManagedObjectName"
								attribute="name" />
						</attributes>
					</object>
				</item>
			</collection>
			<collection method="getOfficeManagedObjectSourceFlows">
				<item
					type="net.officefloor.model.office.OfficeManagedObjectSourceFlowModel"
					element="flow">
					<attributes>
						<attribute method="getOfficeManagedObjectSourceFlowName"
							attribute="name" />
						<attribute method="getArgumentType" attribute="argument-type" />
					</attributes>
					<object method="getOfficeSectionInput" element="section-input">
						<attributes>
							<attribute method="getOfficeSectionName" attribute="section" />
							<attribute method="getOfficeSectionInputName"
								attribute="input" />
						</attributes>
					</object>
				</item>
			</collection>
			<collection method="getOfficeManagedObjectSourceTeams">
				<item
					type="net.officefloor.model.office.OfficeManagedObjectSourceTeamModel"
					element="team">
					<attributes>
						<attribute method="getOfficeManagedObjectSourceTeamName"
							attribute="name" />
					</attributes>
					<object method="getOfficeTeam" element="office-team">
						<attributes>
							<attribute method="getOfficeTeamName" attribute="name" />
						</attributes>
					</object>
				</item>
			</collection>
		</item>
	</collection>

	<!-- MANAGED OBJECTS -->
	<collection method="getOfficeManagedObjects" element="managed-objects">
		<item type="net.officefloor.model.office.OfficeManagedObjectModel"
			element="managed-object">
			<attributes>
				<attribute method="getOfficeManagedObjectName" attribute="name" />
				<attribute method="getManagedObjectScope" attribute="scope" />
				<attribute method="getX" attribute="x" />
				<attribute method="getY" attribute="y" />
			</attributes>
			<object method="getOfficeManagedObjectSource" element="managed-object-source">
				<attributes>
					<attribute method="getOfficeManagedObjectSourceName"
						attribute="name" />
				</attributes>
			</object>
			<collection method="getAdministrators">
				<item
					type="net.officefloor.model.office.OfficeManagedObjectToAdministratorModel"
					element="administer">
					<attributes>
						<attribute method="getAdministratorName" attribute="administrator" />
						<attribute method="getOrder" attribute="order" />
					</attributes>
				</item>
			</collection>
			<collection method="getOfficeManagedObjectDependencies">
				<item
					type="net.officefloor.model.office.OfficeManagedObjectDependencyModel"
					element="dependency">
					<attributes>
						<attribute method="getOfficeManagedObjectDependencyName"
							attribute="name" />
						<attribute method="getDependencyType" attribute="object-type" />
					</attributes>
					<object method="getExternalManagedObject" element="external-managed-object">
						<attributes>
							<attribute method="getExternalManagedObjectName"
								attribute="name" />
						</attributes>
					</object>
					<object method="getOfficeManagedObject" element="managed-object">
						<attributes>
							<attribute method="getOfficeManagedObjectName"
								attribute="name" />
						</attributes>
					</object>
				</item>
			</collection>
		</item>
	</collection>

	<!-- OFFICE TEAMS -->
	<collection method="getOfficeTeams" element="teams">
		<item type="net.officefloor.model.office.OfficeTeamModel"
			element="team">
			<attributes>
				<attribute method="getOfficeTeamName" attribute="name" />
				<attribute method="getX" attribute="x" />
				<attribute method="getY" attribute="y" />
			</attributes>
		</item>
	</collection>

	<!-- OFFICE ESCALATIONS -->
	<collection method="getOfficeEscalations" element="escalations">
		<item type="net.officefloor.model.office.OfficeEscalationModel"
			element="escalation">
			<attributes>
				<attribute method="getEscalationType" attribute="escalation-type" />
				<attribute method="getX" attribute="x" />
				<attribute method="getY" attribute="y" />
			</attributes>
			<object method="getOfficeSectionInput" element="handler">
				<attributes>
					<attribute method="getOfficeSectionName" attribute="section" />
					<attribute method="getOfficeSectionInputName" attribute="input" />
				</attributes>
			</object>
		</item>
	</collection>

	<!-- OFFICE ADMINISTRATORS -->
	<collection method="getOfficeAdministrators" element="administrators">
		<item type="net.officefloor.model.office.AdministratorModel"
			element="administrator">
			<attributes>
				<attribute method="getAdministratorName" attribute="name" />
				<attribute method="getAdministratorSourceClassName"
					attribute="source" />
				<attribute method="getAdministratorScope" attribute="scope" />
				<attribute method="getX" attribute="x" />
				<attribute method="getY" attribute="y" />
			</attributes>
			<collection method="getProperties" element="properties">
				<item type="net.officefloor.model.office.PropertyModel"
					element="property">
					<attributes>
						<attribute method="getName" attribute="name" />
						<attribute method="getValue" attribute="value" />
					</attributes>
				</item>
			</collection>
			<object method="getOfficeTeam" element="team">
				<attributes>
					<attribute method="getOfficeTeamName" attribute="name" />
				</attributes>
			</object>
			<collection method="getDuties">
				<item type="net.officefloor.model.office.DutyModel" element="duty">
					<attributes>
						<attribute method="getDutyName" attribute="name" />
					</attributes>
				</item>
			</collection>
		</item>
	</collection>

	<!-- OFFICE SECTIONS -->
	<collection method="getOfficeSections" element="sections">
		<item type="net.officefloor.model.office.OfficeSectionModel"
			element="section">
			<attributes>
				<attribute method="getOfficeSectionName" attribute="name" />
				<attribute method="getSectionSourceClassName" attribute="source" />
				<attribute method="getSectionLocation" attribute="location" />
				<attribute method="getX" attribute="x" />
				<attribute method="getY" attribute="y" />
			</attributes>
			<collection method="getProperties" element="properties">
				<item type="net.officefloor.model.office.PropertyModel"
					element="property">
					<attributes>
						<attribute method="getName" attribute="name" />
						<attribute method="getValue" attribute="value" />
					</attributes>
				</item>
			</collection>
			<collection method="getOfficeSectionInputs">
				<item type="net.officefloor.model.office.OfficeSectionInputModel"
					element="input">
					<attributes>
						<attribute method="getOfficeSectionInputName" attribute="name" />
						<attribute method="getParameterType" attribute="parameter-type" />
					</attributes>
				</item>
			</collection>
			<collection method="getOfficeSectionOutputs">
				<item type="net.officefloor.model.office.OfficeSectionOutputModel"
					element="output">
					<attributes>
						<attribute method="getOfficeSectionOutputName"
							attribute="name" />
						<attribute method="getArgumentType" attribute="argument-type" />
						<attribute method="getEscalationOnly" attribute="escalation-only" />
					</attributes>
					<object method="getOfficeSectionInput" element="section-input">
						<attributes>
							<attribute method="getOfficeSectionName" attribute="section" />
							<attribute method="getOfficeSectionInputName"
								attribute="input" />
						</attributes>
					</object>
				</item>
			</collection>
			<collection method="getOfficeSectionObjects">
				<item type="net.officefloor.model.office.OfficeSectionObjectModel"
					element="object">
					<attributes>
						<attribute method="getOfficeSectionObjectName"
							attribute="name" />
						<attribute method="getObjectType" attribute="object-type" />
					</attributes>
					<object method="getExternalManagedObject" element="external-managed-object">
						<attributes>
							<attribute method="getExternalManagedObjectName"
								attribute="name" />
						</attributes>
					</object>
					<object method="getOfficeManagedObject" element="managed-object">
						<attributes>
							<attribute method="getOfficeManagedObjectName"
								attribute="name" />
						</attributes>
					</object>
				</item>
			</collection>
			<collection method="getOfficeSectionResponsibilities">
				<item
					type="net.officefloor.model.office.OfficeSectionResponsibilityModel"
					element="responsibility">
					<attributes>
						<attribute method="getOfficeSectionResponsibilityName"
							attribute="name" />
					</attributes>
					<object method="getOfficeTeam" element="team">
						<attributes>
							<attribute method="getOfficeTeamName" attribute="name" />
						</attributes>
					</object>
					<collection method="getOfficeSectionResponsibilityObjects">
						<item
							type="net.officefloor.model.office.OfficeSectionResponsibilityObjectModel"
							element="object">
							<attributes>
								<attribute method="getOfficeSectionResponsibilityObjectName"
									attribute="name" />
							</attributes>
						</item>
					</collection>
				</item>
			</collection>
			<object method="getOfficeSubSection" element="sub-section">
				<collection method="getOfficeSectionManagedObjects" id="SECTION_MANAGED_OBJECT">
					<item
						type="net.officefloor.model.office.OfficeSectionManagedObjectModel"
						element="section-managed-object">
						<attributes>
							<attribute method="getOfficeSectionManagedObjectName"
								attribute="name" />
						</attributes>
						<collection method="getOfficeSectionManagedObjectTeams">
							<item
								type="net.officefloor.model.office.OfficeSectionManagedObjectTeamModel"
								element="team">
								<attributes>
									<attribute method="getOfficeSectionManagedObjectTeamName"
										attribute="name" />
								</attributes>
							</item>
						</collection>
					</item>
				</collection>
				<collection method="getOfficeTasks" id="OFFICE_TASK">
					<item type="net.officefloor.model.office.OfficeTaskModel"
						element="task">
						<attributes>
							<attribute method="getOfficeTaskName" attribute="name" />
						</attributes>
						<collection method="getPreDuties">
							<item type="net.officefloor.model.office.OfficeTaskToPreDutyModel"
								element="pre-administer">
								<attributes>
									<attribute method="getAdministratorName" attribute="administrator" />
									<attribute method="getDutyName" attribute="duty" />
								</attributes>
							</item>
						</collection>
						<collection method="getPostDuties">
							<item type="net.officefloor.model.office.OfficeTaskToPostDutyModel"
								element="post-administer">
								<attributes>
									<attribute method="getAdministratorName" attribute="administrator" />
									<attribute method="getDutyName" attribute="duty" />
								</attributes>
							</item>
						</collection>
					</item>
				</collection>
				<collection method="getOfficeSubSections" id="SUB_SECTION">
					<item type="net.officefloor.model.office.OfficeSubSectionModel"
						element="sub-section">
						<attributes>
							<attribute method="getOfficeSubSectionName" attribute="name" />
						</attributes>
						<reference id="SECTION_MANAGED_OBJECT" method="getOfficeSectionManagedObjects" />
						<reference id="OFFICE_TASK" method="getOfficeTasks" />
						<reference id="SUB_SECTION" method="getOfficeSubSections" />
					</item>
				</collection>
			</object>
		</item>
	</collection>
</marshall>
New to GrepCode? Check out our FAQ X