Commit a0763f47 authored by Ali Shakoori's avatar Ali Shakoori

ramadan is here

parents
Pipeline #588 failed with stages
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="Encoding" addBOMForNewFiles="with NO BOM" />
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectRootManager" version="2" languageLevel="JDK_11" default="true" project-jdk-name="11" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/out" />
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/Lam9.iml" filepath="$PROJECT_DIR$/Lam9.iml" />
</modules>
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="Palette2">
<group name="Swing">
<item class="com.intellij.uiDesigner.HSpacer" tooltip-text="Horizontal Spacer" icon="/com/intellij/uiDesigner/icons/hspacer.png" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="1" hsize-policy="6" anchor="0" fill="1" />
</item>
<item class="com.intellij.uiDesigner.VSpacer" tooltip-text="Vertical Spacer" icon="/com/intellij/uiDesigner/icons/vspacer.png" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="6" hsize-policy="1" anchor="0" fill="2" />
</item>
<item class="javax.swing.JPanel" icon="/com/intellij/uiDesigner/icons/panel.png" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3" />
</item>
<item class="javax.swing.JScrollPane" icon="/com/intellij/uiDesigner/icons/scrollPane.png" removable="false" auto-create-binding="false" can-attach-label="true">
<default-constraints vsize-policy="7" hsize-policy="7" anchor="0" fill="3" />
</item>
<item class="javax.swing.JButton" icon="/com/intellij/uiDesigner/icons/button.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="3" anchor="0" fill="1" />
<initial-values>
<property name="text" value="Button" />
</initial-values>
</item>
<item class="javax.swing.JRadioButton" icon="/com/intellij/uiDesigner/icons/radioButton.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" />
<initial-values>
<property name="text" value="RadioButton" />
</initial-values>
</item>
<item class="javax.swing.JCheckBox" icon="/com/intellij/uiDesigner/icons/checkBox.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" />
<initial-values>
<property name="text" value="CheckBox" />
</initial-values>
</item>
<item class="javax.swing.JLabel" icon="/com/intellij/uiDesigner/icons/label.png" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="0" anchor="8" fill="0" />
<initial-values>
<property name="text" value="Label" />
</initial-values>
</item>
<item class="javax.swing.JTextField" icon="/com/intellij/uiDesigner/icons/textField.png" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
<preferred-size width="150" height="-1" />
</default-constraints>
</item>
<item class="javax.swing.JPasswordField" icon="/com/intellij/uiDesigner/icons/passwordField.png" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
<preferred-size width="150" height="-1" />
</default-constraints>
</item>
<item class="javax.swing.JFormattedTextField" icon="/com/intellij/uiDesigner/icons/formattedTextField.png" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
<preferred-size width="150" height="-1" />
</default-constraints>
</item>
<item class="javax.swing.JTextArea" icon="/com/intellij/uiDesigner/icons/textArea.png" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
<preferred-size width="150" height="50" />
</default-constraints>
</item>
<item class="javax.swing.JTextPane" icon="/com/intellij/uiDesigner/icons/textPane.png" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
<preferred-size width="150" height="50" />
</default-constraints>
</item>
<item class="javax.swing.JEditorPane" icon="/com/intellij/uiDesigner/icons/editorPane.png" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
<preferred-size width="150" height="50" />
</default-constraints>
</item>
<item class="javax.swing.JComboBox" icon="/com/intellij/uiDesigner/icons/comboBox.png" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="0" hsize-policy="2" anchor="8" fill="1" />
</item>
<item class="javax.swing.JTable" icon="/com/intellij/uiDesigner/icons/table.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
<preferred-size width="150" height="50" />
</default-constraints>
</item>
<item class="javax.swing.JList" icon="/com/intellij/uiDesigner/icons/list.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="6" hsize-policy="2" anchor="0" fill="3">
<preferred-size width="150" height="50" />
</default-constraints>
</item>
<item class="javax.swing.JTree" icon="/com/intellij/uiDesigner/icons/tree.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
<preferred-size width="150" height="50" />
</default-constraints>
</item>
<item class="javax.swing.JTabbedPane" icon="/com/intellij/uiDesigner/icons/tabbedPane.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3">
<preferred-size width="200" height="200" />
</default-constraints>
</item>
<item class="javax.swing.JSplitPane" icon="/com/intellij/uiDesigner/icons/splitPane.png" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3">
<preferred-size width="200" height="200" />
</default-constraints>
</item>
<item class="javax.swing.JSpinner" icon="/com/intellij/uiDesigner/icons/spinner.png" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" />
</item>
<item class="javax.swing.JSlider" icon="/com/intellij/uiDesigner/icons/slider.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" />
</item>
<item class="javax.swing.JSeparator" icon="/com/intellij/uiDesigner/icons/separator.png" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3" />
</item>
<item class="javax.swing.JProgressBar" icon="/com/intellij/uiDesigner/icons/progressbar.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1" />
</item>
<item class="javax.swing.JToolBar" icon="/com/intellij/uiDesigner/icons/toolbar.png" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1">
<preferred-size width="-1" height="20" />
</default-constraints>
</item>
<item class="javax.swing.JToolBar$Separator" icon="/com/intellij/uiDesigner/icons/toolbarSeparator.png" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="0" anchor="0" fill="1" />
</item>
<item class="javax.swing.JScrollBar" icon="/com/intellij/uiDesigner/icons/scrollbar.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="6" hsize-policy="0" anchor="0" fill="2" />
</item>
</group>
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ChangeListManager">
<list default="true" id="ca29acea-b0ba-4847-b204-938cb53c2296" name="Default Changelist" comment="" />
<ignored path="$PROJECT_DIR$/out/" />
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
<option name="LAST_RESOLUTION" value="IGNORE" />
</component>
<component name="FileEditorManager">
<leaf>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/src/org/university/core/Course.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="204">
<caret line="12" column="20" selection-start-line="12" selection-start-column="20" selection-end-line="12" selection-end-column="20" />
<folding>
<element signature="e#196#205#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/src/org/university/core/AccountingManagement.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="68">
<caret line="4" column="22" selection-start-line="4" selection-start-column="22" selection-end-line="4" selection-end-column="22" />
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/src/org/university/core/Account.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="408">
<caret line="24" column="5" lean-forward="true" selection-start-line="24" selection-start-column="5" selection-end-line="24" selection-end-column="5" />
<folding>
<element signature="e#280#281#0" expanded="true" />
<element signature="e#308#309#0" expanded="true" />
<element signature="e#341#342#0" expanded="true" />
<element signature="e#370#371#0" expanded="true" />
<element signature="e#414#415#0" expanded="true" />
<element signature="e#450#451#0" expanded="true" />
<element signature="e#502#503#0" expanded="true" />
<element signature="e#536#537#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/src/org/university/core/GraduateStudent.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="289">
<caret line="17" column="28" lean-forward="true" selection-start-line="17" selection-start-column="28" selection-end-line="17" selection-end-column="28" />
<folding>
<element signature="e#659#660#0" expanded="true" />
<element signature="e#689#690#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/src/org/university/core/Publication.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="323">
<caret line="19" column="1" lean-forward="true" selection-start-line="19" selection-start-column="1" selection-end-line="19" selection-end-column="1" />
<folding>
<element signature="e#244#245#0" expanded="true" />
<element signature="e#271#272#0" expanded="true" />
<element signature="e#303#304#0" expanded="true" />
<element signature="e#331#332#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/src/org/university/core/Professor.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="68">
<caret line="4" column="13" selection-start-line="4" selection-start-column="13" selection-end-line="4" selection-end-column="13" />
<folding>
<element signature="e#652#653#0" expanded="true" />
<element signature="e#687#688#0" expanded="true" />
<element signature="e#719#720#0" expanded="true" />
<element signature="e#747#748#0" expanded="true" />
<element signature="e#796#797#0" expanded="true" />
<element signature="e#824#825#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/src/org/university/core/ServiceEmployee.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="68">
<caret line="4" column="66" selection-start-line="4" selection-start-column="14" selection-end-line="4" selection-end-column="66" />
<folding>
<element signature="e#379#380#0" expanded="true" />
<element signature="e#406#407#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/src/org/university/core/Student.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="102">
<caret line="6" column="3" selection-start-line="6" selection-start-column="3" selection-end-line="6" selection-end-column="3" />
<folding>
<element signature="e#298#299#0" expanded="true" />
<element signature="e#328#329#0" expanded="true" />
<element signature="e#399#400#0" expanded="true" />
<element signature="e#429#430#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/src/org/university/core/Person.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="272">
<caret line="16" column="5" selection-start-line="16" selection-start-column="5" selection-end-line="16" selection-end-column="5" />
</state>
</provider>
</entry>
</file>
</leaf>
</component>
<component name="FileTemplateManagerImpl">
<option name="RECENT_TEMPLATES">
<list>
<option value="Class" />
</list>
</option>
</component>
<component name="IdeDocumentHistory">
<option name="CHANGED_PATHS">
<list>
<option value="$PROJECT_DIR$/../Lab9/Course.java" />
<option value="$PROJECT_DIR$/src/org/university/core/Course.java" />
<option value="$PROJECT_DIR$/../Lab9/Department.java" />
<option value="$PROJECT_DIR$/src/org/university/core/Department.java" />
<option value="$PROJECT_DIR$/src/org/university/core/Person.java" />
<option value="$PROJECT_DIR$/src/org/university/core/Employee.java" />
<option value="$USER_HOME$/Downloads/src/src/org/university/core/AbstractEmployee.java" />
<option value="$USER_HOME$/Downloads/src/src/org/university/core/AccountingInterface.java" />
<option value="$PROJECT_DIR$/src/org/university/core/AcountingInterface.java" />
<option value="$PROJECT_DIR$/src/org/university/core/AbstractEmployee.java" />
<option value="$USER_HOME$/Downloads/src/src/org/university/core/Statement.java" />
<option value="$PROJECT_DIR$/src/org/university/core/zsatement.java" />
<option value="$PROJECT_DIR$/src/org/university/core/ServiceEmployee.java" />
<option value="$USER_HOME$/Downloads/src/src/org/university/core/GradStudent.java" />
<option value="$PROJECT_DIR$/src/org/university/core/Student.java" />
<option value="$PROJECT_DIR$/src/org/university/core/Professor.java" />
<option value="$PROJECT_DIR$/src/org/university/core/Publication.java" />
<option value="$USER_HOME$/Downloads/src/src/org/university/core/AccountingManagement.java" />
<option value="$PROJECT_DIR$/src/org/university/core/AccountingManagment.java" />
<option value="$PROJECT_DIR$/src/org/university/core/Account.java" />
<option value="$PROJECT_DIR$/src/org/university/core/GraduateStudent.java" />
</list>
</option>
</component>
<component name="ProjectFrameBounds" extendedState="6">
<option name="x" value="250" />
<option name="y" value="30" />
<option name="width" value="1335" />
<option name="height" value="980" />
</component>
<component name="ProjectView">
<navigator proportions="" version="1">
<foldersAlwaysOnTop value="true" />
</navigator>
<panes>
<pane id="PackagesPane" />
<pane id="Scope" />
<pane id="ProjectPane">
<subPane>
<expand>
<path>
<item name="Lam9" type="b2602c69:ProjectViewProjectNode" />
<item name="Lam9" type="462c0819:PsiDirectoryNode" />
</path>
<path>
<item name="Lam9" type="b2602c69:ProjectViewProjectNode" />
<item name="Lam9" type="462c0819:PsiDirectoryNode" />
<item name="src" type="462c0819:PsiDirectoryNode" />
</path>
<path>
<item name="Lam9" type="b2602c69:ProjectViewProjectNode" />
<item name="Lam9" type="462c0819:PsiDirectoryNode" />
<item name="src" type="462c0819:PsiDirectoryNode" />
<item name="core" type="462c0819:PsiDirectoryNode" />
</path>
</expand>
<select />
</subPane>
</pane>
</panes>
</component>
<component name="PropertiesComponent">
<property name="WebServerToolWindowFactoryState" value="false" />
<property name="aspect.path.notification.shown" value="true" />
<property name="com.android.tools.idea.instantapp.provision.ProvisionBeforeRunTaskProvider.myTimeStamp" value="1557711158963" />
<property name="nodejs_interpreter_path.stuck_in_default_project" value="undefined stuck path" />
<property name="nodejs_npm_path_reset_for_default_project" value="true" />
</component>
<component name="RunDashboard">
<option name="ruleStates">
<list>
<RuleState>
<option name="name" value="ConfigurationTypeDashboardGroupingRule" />
</RuleState>
<RuleState>
<option name="name" value="StatusDashboardGroupingRule" />
</RuleState>
</list>
</option>
</component>
<component name="SvnConfiguration">
<configuration />
</component>
<component name="TaskManager">
<task active="true" id="Default" summary="Default task">
<changelist id="ca29acea-b0ba-4847-b204-938cb53c2296" name="Default Changelist" comment="" />
<created>1557706482263</created>
<option name="number" value="Default" />
<option name="presentableId" value="Default" />
<updated>1557706482263</updated>
<workItem from="1557706485980" duration="4581000" />
</task>
<servers />
</component>
<component name="TimeTrackingManager">
<option name="totallyTimeSpent" value="4581000" />
</component>
<component name="ToolWindowManager">
<frame x="-7" y="-7" width="1550" height="838" extended-state="6" />
<layout>
<window_info id="Image Layers" />
<window_info id="Designer" />
<window_info id="UI Designer" />
<window_info id="Capture Tool" />
<window_info id="Favorites" side_tool="true" />
<window_info active="true" content_ui="combo" id="Project" order="0" visible="true" weight="0.24966443" />
<window_info id="Structure" order="1" side_tool="true" weight="0.25" />
<window_info anchor="bottom" id="Docker" show_stripe_button="false" />
<window_info anchor="bottom" id="Database Changes" />
<window_info anchor="bottom" id="Version Control" />
<window_info anchor="bottom" id="Terminal" />
<window_info anchor="bottom" id="Event Log" side_tool="true" />
<window_info anchor="bottom" id="Message" order="0" />
<window_info anchor="bottom" id="Find" order="1" />
<window_info anchor="bottom" id="Run" order="2" />
<window_info anchor="bottom" id="Debug" order="3" weight="0.4" />
<window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
<window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
<window_info anchor="bottom" id="TODO" order="6" />
<window_info anchor="right" id="Palette" />
<window_info anchor="right" id="Theme Preview" />
<window_info anchor="right" id="Maven" />
<window_info anchor="right" id="Capture Analysis" />
<window_info anchor="right" id="Palette&#9;" />
<window_info anchor="right" id="Database" />
<window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" />
<window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
<window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
</layout>
</component>
<component name="TypeScriptGeneratedFilesManager">
<option name="version" value="1" />
</component>
<component name="editorHistoryManager">
<entry file="file://$PROJECT_DIR$/../Lab9/Course.java">
<provider selected="true" editor-type-id="text-editor">
<state>
<caret selection-end-line="39" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/../Lab9/Department.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="17">
<caret line="1" selection-start-line="1" selection-end-line="1" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/org/university/core/Department.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="306">
<caret line="24" column="5" selection-start-line="24" selection-start-column="5" selection-end-line="24" selection-end-column="5" />
</state>
</provider>
</entry>
<entry file="file://$USER_HOME$/Downloads/src/src/org/university/core/Person.java">
<provider selected="true" editor-type-id="text-editor">
<state>
<caret selection-end-line="58" />
</state>
</provider>
</entry>
<entry file="file://$USER_HOME$/Downloads/src/src/org/university/core/AbstractEmployee.java">
<provider selected="true" editor-type-id="text-editor" />
</entry>
<entry file="file://$USER_HOME$/Downloads/src/src/org/university/core/AccountingInterface.java">
<provider selected="true" editor-type-id="text-editor" />
</entry>
<entry file="file://$PROJECT_DIR$/src/org/university/core/AccountingInterface.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="34">
<caret line="2" column="32" selection-start-line="2" selection-start-column="32" selection-end-line="2" selection-end-column="32" />
</state>
</provider>
</entry>
<entry file="file://$USER_HOME$/Downloads/src/src/org/university/core/Statement.java">
<provider selected="true" editor-type-id="text-editor" />
</entry>
<entry file="file://$USER_HOME$/Downloads/src/src/org/university/core/GradStudent.java">
<provider selected="true" editor-type-id="text-editor" />
</entry>
<entry file="file://$PROJECT_DIR$/src/org/university/core/AbstractEmployee.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="202">
<caret line="19" lean-forward="true" selection-start-line="19" selection-end-line="19" />
<folding>
<element signature="e#212#223#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/org/university/core/Statement.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="255">
<caret line="15" column="39" lean-forward="true" selection-start-line="15" selection-start-column="39" selection-end-line="15" selection-end-column="39" />
<folding>
<element signature="e#288#289#0" expanded="true" />
<element signature="e#317#318#0" expanded="true" />
<element signature="e#361#362#0" expanded="true" />
<element signature="e#397#398#0" expanded="true" />
<element signature="e#442#443#0" expanded="true" />
<element signature="e#473#474#0" expanded="true" />
<element signature="e#530#531#0" expanded="true" />
<element signature="e#570#571#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/org/university/core/Person.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="272">
<caret line="16" column="5" selection-start-line="16" selection-start-column="5" selection-end-line="16" selection-end-column="5" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/org/university/core/ServiceEmployee.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="68">
<caret line="4" column="66" selection-start-line="4" selection-start-column="14" selection-end-line="4" selection-end-column="66" />
<folding>
<element signature="e#379#380#0" expanded="true" />
<element signature="e#406#407#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/org/university/core/Student.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="102">
<caret line="6" column="3" selection-start-line="6" selection-start-column="3" selection-end-line="6" selection-end-column="3" />
<folding>
<element signature="e#298#299#0" expanded="true" />
<element signature="e#328#329#0" expanded="true" />
<element signature="e#399#400#0" expanded="true" />
<element signature="e#429#430#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/org/university/core/Professor.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="68">
<caret line="4" column="13" selection-start-line="4" selection-start-column="13" selection-end-line="4" selection-end-column="13" />
<folding>
<element signature="e#652#653#0" expanded="true" />
<element signature="e#687#688#0" expanded="true" />
<element signature="e#719#720#0" expanded="true" />
<element signature="e#747#748#0" expanded="true" />
<element signature="e#796#797#0" expanded="true" />
<element signature="e#824#825#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/org/university/core/Course.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="204">
<caret line="12" column="20" selection-start-line="12" selection-start-column="20" selection-end-line="12" selection-end-column="20" />
<folding>
<element signature="e#196#205#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$USER_HOME$/Downloads/src/src/org/university/core/AccountingManagement.java">
<provider selected="true" editor-type-id="text-editor" />
</entry>
<entry file="file://$PROJECT_DIR$/src/org/university/core/Account.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="408">
<caret line="24" column="5" lean-forward="true" selection-start-line="24" selection-start-column="5" selection-end-line="24" selection-end-column="5" />
<folding>
<element signature="e#280#281#0" expanded="true" />
<element signature="e#308#309#0" expanded="true" />
<element signature="e#341#342#0" expanded="true" />
<element signature="e#370#371#0" expanded="true" />
<element signature="e#414#415#0" expanded="true" />
<element signature="e#450#451#0" expanded="true" />
<element signature="e#502#503#0" expanded="true" />
<element signature="e#536#537#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/org/university/core/AccountingManagement.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="68">
<caret line="4" column="22" selection-start-line="4" selection-start-column="22" selection-end-line="4" selection-end-column="22" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/org/university/core/Publication.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="323">
<caret line="19" column="1" lean-forward="true" selection-start-line="19" selection-start-column="1" selection-end-line="19" selection-end-column="1" />
<folding>
<element signature="e#244#245#0" expanded="true" />
<element signature="e#271#272#0" expanded="true" />
<element signature="e#303#304#0" expanded="true" />
<element signature="e#331#332#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/org/university/core/GraduateStudent.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="289">
<caret line="17" column="28" lean-forward="true" selection-start-line="17" selection-start-column="28" selection-end-line="17" selection-end-column="28" />
<folding>
<element signature="e#659#660#0" expanded="true" />
<element signature="e#689#690#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>
\ No newline at end of file
package org.university.core;
import java.util.ArrayList;
public abstract class AbstractEmployee extends Person implements AccountingInterface
{
protected ArrayList<Statement> bankStatments = new ArrayList<Statement>();
protected String position;
protected double basicIncome,currentIncome;
public AbstractEmployee(String firstName, String lastName, String ID, int joiningYear, Department department, String position, double basicIncome) {
super(firstName, lastName, ID, joiningYear, department);
this.position = position;
this.basicIncome = basicIncome;
}
public abstract boolean isPromotable();
public void addBankStatement(Statement s)
{
bankStatments.add(s);
}
@Override
public AbstractEmployee callEmployee() {
return this;
}
@Override
public double callCurrentIncome() {
return callCurrentIncome();
}
public ArrayList<Statement> getBankStatments() {
return bankStatments;
}
public String getPosition() {
return position;
}
public void setPosition(String position) {
this.position = position;
}
public double getBasicIncome() {
return basicIncome;
}
public void setBasicIncome(double basicIncome) {
this.basicIncome = basicIncome;
}
public void setCurrentIncome(double currentIncome)
{
this.currentIncome = currentIncome;
}
public double calCurrentIncome()
{
return currentIncome;
}
}
package org.university.core;
public class Account {
private AbstractEmployee owner;
private double credit;
public Account(AbstractEmployee owner , double credit){
this.credit = credit;
this.owner = owner;
}
public AbstractEmployee getOwner() {
return owner;
}
public double getCredit() {
return credit;
}
public void setCredit(double credit) {
this.credit = credit;
}
public void setOwner(AbstractEmployee owner) {
this.owner = owner;
}
}
package org.university.core;
public interface AccountingInterface {
public AbstractEmployee callEmployee();
public double callCurrentIncome();
}
package org.university.core;
import java.util.ArrayList;
public class AccountingManagement
{
private ArrayList<Account> accounts;
private ArrayList<Statement> statements;
public void checkout(AccountingInterface employee)
{
boolean flag = true;
for (Account account:accounts)
{
if (account.getOwner()==employee)
{
double amount = employee.callCurrentIncome();
account.setCredit(account.getCredit()+amount);
flag = false;
Statement s = new Statement(amount,employee.callEmployee());
statements.add(s);
}
}
if (flag)
{
double amount = employee.callCurrentIncome();
Account ac = new Account(employee.callEmployee(),employee.callCurrentIncome());
accounts.add(ac);
Statement s = new Statement(amount,employee.callEmployee());
statements.add(s);
}
}
}
package org.university.core;
import java.util.ArrayList;
public class Course {
private String name;
private Professor instructor;
private ArrayList<Student> students = new ArrayList<Student>();
private GraduateStudent teacherAssistance;
public GraduateStudent getTeacherAssistance() {
return teacherAssistance;
}
public void setTeacherAssistance(GraduateStudent teacherAssistance) {
this.teacherAssistance = teacherAssistance;
}
public Course(String name, Professor instructor) {
this.name = name;
this.instructor = instructor;
}
public String getName() {
return name;
}
public Professor getInstructor() {
return instructor;
}
public ArrayList<Student> getStudents() {
return students;
}
public void addStudent(Student student){
this.students.add(student);
}
}
package org.university.core;
import java.util.ArrayList;
public class Department {
private String name;
private ArrayList<Course> courses = new ArrayList<>();
public Department(String name) {
this.name = name;
}
public String getName() {
return name;
}
public ArrayList<Course> getCourses() {
return courses;
}
public void addCourse(Course course) {
courses.add(course);
}
}
\ No newline at end of file
package org.university.core;
import java.util.ArrayList;
public class GraduateStudent extends Student
{
private ArrayList<Publication> publications;
private Professor advisor;
public GraduateStudent(String firstName, String lastName, String ID, int joiningYear, Department department, Professor advisor) {
super(firstName, lastName, ID, joiningYear, department);
this.advisor = advisor;
}
public void addPublication(Publication p)
{
publications.add(p);
}
public ArrayList<Publication> getPublications() {
return publications;
}
public Professor getAdvisor()
{
return advisor;
}
public double calCurrentIncome(){
return publications.size()*1000;
}
}
package org.university.core;
public class Person {
protected String firstName;
protected String lastName;
protected String ID;
protected int joiningYear;
protected Department department;
public Person(String firstName, String lastName, String ID, int joiningYear, Department department)
{
this.firstName = firstName;
this.lastName = lastName;
this.ID = ID;
this.joiningYear = joiningYear;
this.department = department;
}
public String getFirstName() {
return firstName;
}
public void setFirstName(String firstName) {
this.firstName = firstName;
}
public String getLastName() {
return lastName;
}
public void setLastName(String lastName) {
this.lastName = lastName;
}
public String getID() {
return ID;
}
public void setID(String ID) {
this.ID = ID;
}
public int getJoiningYear() {
return joiningYear;
}
public void setJoiningYear(int joiningYear) {
this.joiningYear = joiningYear;
}
public Department getDepartment() {
return department;
}
public void setDepartment(Department department) {
this.department = department;
}
}
package org.university.core;
import java.util.ArrayList;
public class Professor extends AbstractEmployee{
ArrayList<Course> courses = new ArrayList<>();
String group;
public Professor(String firstName,String lastName,String ID , int joiningYear , Department department ,String position , double basicIncome , String group){
super(firstName , lastName , ID , joiningYear , department , position , basicIncome);
this.group = group;
}
public Course[] getCourses() {
Course[] temp = new Course[courses.size()];
courses.toArray(temp);
return temp;
}
public void addCourse(Course c){
this.courses.add(c);
}
public String getGroup() {
return group;
}
@Override
public boolean isPromotable(){
return false;
}
}
package org.university.core;
public class Publication {
private String title;
private int year;
public Publication(String title,int year){
this.title=title;
this.year=year;
}
public int getYear() {
return year;
}
public String getTitle() {
return title;
}
}
package org.university.core;
public class ServiceEmployee extends AbstractEmployee {
public ServiceEmployee(String firstName,String lastName,String ID , int joiningYear , Department department ,String position , double basicIncome){
super(firstName , lastName , ID , joiningYear , department , position , basicIncome);
}
@Override
public boolean isPromotable(){
return false;
}
}
package org.university.core;
public class Statement {
private double amount;
private AbstractEmployee receiver;
public Statement(double amount, AbstractEmployee receiver) {
this.amount = amount;
this.receiver = receiver;
}
public double getAmount() {
return amount;
}
public void setAmount(double amount) {
this.amount = amount;
}
public AbstractEmployee getReciever() {
return receiver;
}
public void setReciever(AbstractEmployee reciver) {
this.receiver = receiver;
}
}
package org.university.core;
import java.util.ArrayList;
public class Student extends Person {
ArrayList<Course> courses = new ArrayList<>();
public Student(String firstName,String lastName,String ID , int joiningYear , Department department){
super(firstName , lastName , ID , joiningYear , department);
}
public void addCourse(Course c){
courses.add(c);
}
public ArrayList<Course>getCourses(){
return courses;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment