aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMasfehico <clyhtsuriva@gmail.com>2020-11-19 17:51:00 +0100
committerMasfehico <clyhtsuriva@gmail.com>2020-11-19 17:51:00 +0100
commit6092d3058ebb47a9a8d0300438506a0ec4a21e41 (patch)
treeb1fd35198d0c42335f8bf5ec290a0012d7bd3c8a
parentea90fad5f2904e6d427c286f417acac4a6021005 (diff)
Started Song and MusicalElement
-rw-r--r--MusicalElement.classbin0 -> 418 bytes
-rw-r--r--MusicalElement.java13
-rw-r--r--Song.classbin0 -> 401 bytes
-rw-r--r--Song.java11
-rw-r--r--uml.xmi166
5 files changed, 190 insertions, 0 deletions
diff --git a/MusicalElement.class b/MusicalElement.class
new file mode 100644
index 0000000..69844ff
--- /dev/null
+++ b/MusicalElement.class
Binary files differ
diff --git a/MusicalElement.java b/MusicalElement.java
index e69de29..878eee7 100644
--- a/MusicalElement.java
+++ b/MusicalElement.java
@@ -0,0 +1,13 @@
+class MusicalElement {
+ private int id, duration;
+ private String title, content;
+ public MusicalElement(int id, String title, int duration, String content) {
+ this.id=id;
+ this.title=title;
+ this.duration=duration;
+ this.content=content;
+ }
+
+
+
+}
diff --git a/Song.class b/Song.class
new file mode 100644
index 0000000..1b3105f
--- /dev/null
+++ b/Song.class
Binary files differ
diff --git a/Song.java b/Song.java
index e69de29..b07bb81 100644
--- a/Song.java
+++ b/Song.java
@@ -0,0 +1,11 @@
+public class Song extends MusicalElement {
+ private String artist, genre;
+ public Song(int id, String title, int duration, String content, String artist, String genre) {
+ super(id, title, duration, content);
+ this.artist=artist;
+ this.genre=genre;
+ }
+
+
+
+}
diff --git a/uml.xmi b/uml.xmi
new file mode 100644
index 0000000..c8a5047
--- /dev/null
+++ b/uml.xmi
@@ -0,0 +1,166 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<XMI xmlns:UML="http://schema.omg.org/spec/UML/1.4" xmi.version="1.2" timestamp="2020-11-18T22:13:36" verified="false">
+ <XMI.header>
+ <XMI.documentation>
+ <XMI.exporter>umbrello uml modeller http://umbrello.kde.org</XMI.exporter>
+ <XMI.exporterVersion>1.6.18</XMI.exporterVersion>
+ <XMI.exporterEncoding>UnicodeUTF8</XMI.exporterEncoding>
+ </XMI.documentation>
+ <XMI.metamodel xmi.version="1.4" xmi.name="UML" href="UML.xml"/>
+ </XMI.header>
+ <XMI.content>
+ <UML:Model isRoot="false" xmi.id="m1" isSpecification="false" name="Modèle UML" isLeaf="false" isAbstract="false">
+ <UML:Namespace.ownedElement>
+ <UML:Stereotype isRoot="false" xmi.id="folder" isSpecification="false" name="folder" visibility="public" isLeaf="false" isAbstract="false" namespace="m1"/>
+ <UML:Model isRoot="false" xmi.id="Logical_View" isSpecification="false" name="Logical View" visibility="public" isLeaf="false" isAbstract="false" namespace="m1">
+ <UML:Namespace.ownedElement>
+ <UML:Package isRoot="false" xmi.id="Datatypes" isSpecification="false" name="Datatypes" visibility="public" isLeaf="false" isAbstract="false" stereotype="folder" namespace="Logical_View">
+ <UML:Namespace.ownedElement>
+ <UML:DataType isRoot="false" xmi.id="uEx9B5UUhlL5z" isSpecification="false" name="char" visibility="public" isLeaf="false" isAbstract="false" namespace="Datatypes"/>
+ <UML:DataType isRoot="false" xmi.id="uTHWDHc0FWYff" isSpecification="false" name="int" visibility="public" isLeaf="false" isAbstract="false" namespace="Datatypes"/>
+ <UML:DataType isRoot="false" xmi.id="uqFBWFaI4Uaq4" isSpecification="false" name="float" visibility="public" isLeaf="false" isAbstract="false" namespace="Datatypes"/>
+ <UML:DataType isRoot="false" xmi.id="u9x2iF9ZLsuiz" isSpecification="false" name="double" visibility="public" isLeaf="false" isAbstract="false" namespace="Datatypes"/>
+ <UML:DataType isRoot="false" xmi.id="uHLe3tYtdIgAH" isSpecification="false" name="bool" visibility="public" isLeaf="false" isAbstract="false" namespace="Datatypes"/>
+ <UML:DataType isRoot="false" xmi.id="urKnQMdEWamKS" isSpecification="false" name="string" visibility="public" isLeaf="false" isAbstract="false" namespace="Datatypes"/>
+ <UML:DataType isRoot="false" xmi.id="uyO2Of6n6Fk2g" isSpecification="false" name="unsigned char" visibility="public" isLeaf="false" isAbstract="false" namespace="Datatypes"/>
+ <UML:DataType isRoot="false" xmi.id="uMB2aD2HOoJzK" isSpecification="false" name="signed char" visibility="public" isLeaf="false" isAbstract="false" namespace="Datatypes"/>
+ <UML:DataType isRoot="false" xmi.id="uueXmZHc90acU" isSpecification="false" name="unsigned int" visibility="public" isLeaf="false" isAbstract="false" namespace="Datatypes"/>
+ <UML:DataType isRoot="false" xmi.id="uRqbfHfFAwJTF" isSpecification="false" name="signed int" visibility="public" isLeaf="false" isAbstract="false" namespace="Datatypes"/>
+ <UML:DataType isRoot="false" xmi.id="uUo6HByotwFiZ" isSpecification="false" name="short int" visibility="public" isLeaf="false" isAbstract="false" namespace="Datatypes"/>
+ <UML:DataType isRoot="false" xmi.id="uZvO8tQ6tiHi9" isSpecification="false" name="unsigned short int" visibility="public" isLeaf="false" isAbstract="false" namespace="Datatypes"/>
+ <UML:DataType isRoot="false" xmi.id="uCJRfMor3sBj0" isSpecification="false" name="signed short int" visibility="public" isLeaf="false" isAbstract="false" namespace="Datatypes"/>
+ <UML:DataType isRoot="false" xmi.id="uQFWeTUc8AJwU" isSpecification="false" name="long int" visibility="public" isLeaf="false" isAbstract="false" namespace="Datatypes"/>
+ <UML:DataType isRoot="false" xmi.id="u5dSHCnhawAGh" isSpecification="false" name="signed long int" visibility="public" isLeaf="false" isAbstract="false" namespace="Datatypes"/>
+ <UML:DataType isRoot="false" xmi.id="u6FmnNcAF3wqi" isSpecification="false" name="unsigned long int" visibility="public" isLeaf="false" isAbstract="false" namespace="Datatypes"/>
+ <UML:DataType isRoot="false" xmi.id="uWrwFRu1hlY6X" isSpecification="false" name="long double" visibility="public" isLeaf="false" isAbstract="false" namespace="Datatypes"/>
+ <UML:DataType isRoot="false" xmi.id="umX9TPVnhSAPw" isSpecification="false" name="wchar_t" visibility="public" isLeaf="false" isAbstract="false" namespace="Datatypes"/>
+ <UML:DataType isRoot="false" xmi.id="ubOa1ImSCdXUx" isSpecification="false" name="boolean" visibility="public" isLeaf="false" isAbstract="false" namespace="Datatypes"/>
+ <UML:DataType isRoot="false" xmi.id="ufhEVZ53Gs3tZ" isSpecification="false" name="byte" visibility="public" isLeaf="false" isAbstract="false" namespace="Datatypes"/>
+ <UML:DataType isRoot="false" xmi.id="ufzjLISFKzDtJ" isSpecification="false" name="short" visibility="public" isLeaf="false" isAbstract="false" namespace="Datatypes"/>
+ <UML:DataType isRoot="false" xmi.id="uSkaRlapxQOOj" isSpecification="false" name="long" visibility="public" isLeaf="false" isAbstract="false" namespace="Datatypes"/>
+ <UML:DataType isRoot="false" xmi.id="uJsNfHvRJW0zq" isSpecification="false" name="String" visibility="public" isLeaf="false" isAbstract="false" namespace="Datatypes"/>
+ <UML:DataType isRoot="false" xmi.id="ujBagZDE3hm16" isSpecification="false" name="Integer" visibility="public" isLeaf="false" isAbstract="false" namespace="Datatypes"/>
+ <UML:DataType isRoot="false" xmi.id="uA9ZrILE7Xstp" isSpecification="false" name="Character" visibility="public" isLeaf="false" isAbstract="false" namespace="Datatypes"/>
+ <UML:DataType isRoot="false" xmi.id="uT9H2mCWSwVOr" isSpecification="false" name="Boolean" visibility="public" isLeaf="false" isAbstract="false" namespace="Datatypes"/>
+ <UML:DataType isRoot="false" xmi.id="uOUHXvUyYD4F8" isSpecification="false" name="Float" visibility="public" isLeaf="false" isAbstract="false" namespace="Datatypes"/>
+ <UML:DataType isRoot="false" xmi.id="u6ySDmr0NWujO" isSpecification="false" name="Double" visibility="public" isLeaf="false" isAbstract="false" namespace="Datatypes"/>
+ <UML:DataType isRoot="false" xmi.id="uqF0zbpcJe5kv" isSpecification="false" name="Byte" visibility="public" isLeaf="false" isAbstract="false" namespace="Datatypes"/>
+ <UML:DataType isRoot="false" xmi.id="uZmVSrctA2GkF" isSpecification="false" name="Short" visibility="public" isLeaf="false" isAbstract="false" namespace="Datatypes"/>
+ <UML:DataType isRoot="false" xmi.id="u4D5w3iuSuOEk" isSpecification="false" name="Long" visibility="public" isLeaf="false" isAbstract="false" namespace="Datatypes"/>
+ <UML:DataType isRoot="false" xmi.id="uTW1ybjtlKh8N" isSpecification="false" name="StringBuffer" visibility="public" isLeaf="false" isAbstract="false" namespace="Datatypes"/>
+ <UML:DataType isRoot="false" xmi.id="utL9lxvFkYHg1" isSpecification="false" name="StringBuilder" visibility="public" isLeaf="false" isAbstract="false" namespace="Datatypes"/>
+ </UML:Namespace.ownedElement>
+ </UML:Package>
+ <UML:Class isRoot="false" xmi.id="uP0H84mvjvDhg" isSpecification="false" name="MusicalElement" visibility="public" isLeaf="false" isAbstract="true" namespace="Logical_View">
+ <UML:Classifier.feature>
+ <UML:Attribute xmi.id="ucZLp0ypFWqQ1" isSpecification="false" name="ID" visibility="public" type="ujBagZDE3hm16"/>
+ <UML:Attribute xmi.id="uZ1I18aNhU4wT" isSpecification="false" name="Title" visibility="public" type="uJsNfHvRJW0zq"/>
+ </UML:Classifier.feature>
+ </UML:Class>
+ <UML:Class isRoot="false" xmi.id="uWP6uxAP6GhD9" isSpecification="false" name="Song" visibility="public" isLeaf="false" isAbstract="false" namespace="Logical_View"/>
+ <UML:Association xmi.id="ulz03EMKmTGCM" isSpecification="false" name="" visibility="public" namespace="Logical_View">
+ <UML:Association.connection>
+ <UML:AssociationEnd isNavigable="true" xmi.id="uxN3jxr7e5ZtH" isSpecification="false" aggregation="none" name="" visibility="public" type="uP0H84mvjvDhg" changeability="changeable"/>
+ <UML:AssociationEnd isNavigable="true" xmi.id="u9sBwNI9e6T6Z" isSpecification="false" aggregation="none" name="" visibility="public" type="uWP6uxAP6GhD9" changeability="changeable"/>
+ </UML:Association.connection>
+ </UML:Association>
+ </UML:Namespace.ownedElement>
+ <XMI.extension xmi.extender="umbrello">
+ <diagrams resolution="96">
+ <diagram usefillcolor="1" showops="1" linecolor="#ff0000" linewidth="0" isopen="1" snapx="25" xmi.id="uuF4LQpI1Ir38" showpubliconly="0" showstereotype="1" name="Diagramme de classes" canvasheight="0" griddotcolor="#f7f7f7" showattsig="1" snapcsgrid="0" canvaswidth="0" zoom="100" backgroundcolor="#ffffff" showopsig="1" documentation="" showattribassocs="1" type="1" showatts="1" localid="-1" font="Sans Serif,9,-1,5,50,0,0,0,0,0" textcolor="#000000" showpackage="1" snapy="25" fillcolor="#ffffc0" showscope="1" showgrid="0" snapgrid="0">
+ <widgets/>
+ <messages/>
+ <associations/>
+ </diagram>
+ <diagram usefillcolor="1" showops="1" linecolor="#00ff00" linewidth="1" isopen="1" snapx="25" xmi.id="uQLGBjUR3aNGY" showpubliconly="0" showstereotype="1" name="Diagramme de classes_1" canvasheight="272.401" griddotcolor="#f7f7f7" showattsig="1" snapcsgrid="0" canvaswidth="231.647" zoom="163.665373929461" backgroundcolor="#000000" showopsig="1" documentation="" showattribassocs="1" type="1" showatts="1" localid="-1" font="Sans Serif,9,-1,5,50,0,0,0,0,0" textcolor="#000000" showpackage="1" snapy="25" fillcolor="#5555ff" showscope="1" showgrid="0" snapgrid="0">
+ <widgets>
+ <classwidget usefillcolor="1" linecolor="#00ff00" linewidth="1" xmi.id="uP0H84mvjvDhg" showattributes="1" showstereotype="1" showpubliconly="0" isinstance="0" showattsigs="601" x="-1974.76" width="231.647" height="89.9372" showopsigs="601" usesdiagramfillcolor="0" usesdiagramusefillcolor="0" localid="uT1ZQtxz3ofce" font="Sans Serif,9,-1,5,50,0,0,0,0,0" textcolor="#000000" y="-6575" showpackage="1" fillcolor="#5555ff" showscope="1" drawascircle="0" autoresize="0" showoperations="1"/>
+ <classwidget usefillcolor="1" linecolor="#00ff00" linewidth="1" xmi.id="uWP6uxAP6GhD9" showattributes="1" showstereotype="1" showpubliconly="0" isinstance="0" showattsigs="601" x="-1907.55" width="109.377" height="51.8291" showopsigs="601" usesdiagramfillcolor="0" usesdiagramusefillcolor="0" localid="ubsg6Ve5iaSJq" font="Sans Serif,9,-1,5,50,0,0,0,0,0" textcolor="#000000" y="-6354.43" showpackage="1" fillcolor="#5555ff" showscope="1" autoresize="0" showoperations="1"/>
+ </widgets>
+ <messages/>
+ <associations>
+ <assocwidget usefillcolor="1" widgetaid="uP0H84mvjvDhg" linecolor="#00ff00" linewidth="1" totalcounta="2" xmi.id="ulz03EMKmTGCM" totalcountb="2" usesdiagramfillcolor="1" type="503" usesdiagramusefillcolor="1" localid="uOoqlFxRVEct5" font="Sans Serif,9,-1,5,50,0,0,0,0,0" textcolor="none" seqnum="" indexb="1" indexa="1" fillcolor="none" autoresize="1" widgetbid="uWP6uxAP6GhD9">
+ <linepath layout="Direct">
+ <startpoint startx="-1908.16" starty="-6485.06"/>
+ <endpoint endy="-6354.43" endx="-1907.55"/>
+ </linepath>
+ </assocwidget>
+ </associations>
+ </diagram>
+ </diagrams>
+ </XMI.extension>
+ </UML:Model>
+ <UML:Model isRoot="false" xmi.id="Use_Case_View" isSpecification="false" name="Use Case View" visibility="public" isLeaf="false" isAbstract="false" namespace="m1">
+ <UML:Namespace.ownedElement/>
+ </UML:Model>
+ <UML:Model isRoot="false" xmi.id="Component_View" isSpecification="false" name="Component View" visibility="public" isLeaf="false" isAbstract="false" namespace="m1">
+ <UML:Namespace.ownedElement/>
+ </UML:Model>
+ <UML:Model isRoot="false" xmi.id="Deployment_View" isSpecification="false" name="Deployment View" visibility="public" isLeaf="false" isAbstract="false" namespace="m1">
+ <UML:Namespace.ownedElement/>
+ </UML:Model>
+ <UML:Model isRoot="false" xmi.id="Entity_Relationship_Model" isSpecification="false" name="Entity Relationship Model" visibility="public" isLeaf="false" isAbstract="false" namespace="m1">
+ <UML:Namespace.ownedElement/>
+ </UML:Model>
+ </UML:Namespace.ownedElement>
+ </UML:Model>
+ </XMI.content>
+ <XMI.extensions xmi.extender="umbrello">
+ <docsettings uniqueid="uOoqlFxRVEct5" viewid="uQLGBjUR3aNGY" documentation=""/>
+ <listview>
+ <listitem open="1" id="Views" type="800">
+ <listitem open="1" id="Entity_Relationship_Model" type="836"/>
+ <listitem open="1" id="Use_Case_View" type="802"/>
+ <listitem open="1" id="Component_View" type="821"/>
+ <listitem open="1" id="Deployment_View" type="827"/>
+ <listitem open="1" id="Logical_View" type="801">
+ <listitem open="0" label="Diagramme de classes" id="uuF4LQpI1Ir38" type="807"/>
+ <listitem open="0" label="Diagramme de classes_1" id="uQLGBjUR3aNGY" type="807"/>
+ <listitem open="1" id="uP0H84mvjvDhg" type="813">
+ <listitem open="0" id="ucZLp0ypFWqQ1" type="814"/>
+ <listitem open="0" id="uZ1I18aNhU4wT" type="814"/>
+ </listitem>
+ <listitem open="1" id="uWP6uxAP6GhD9" type="813"/>
+ <listitem open="0" id="Datatypes" type="830">
+ <listitem open="1" id="uT9H2mCWSwVOr" type="829"/>
+ <listitem open="1" id="uqF0zbpcJe5kv" type="829"/>
+ <listitem open="1" id="uA9ZrILE7Xstp" type="829"/>
+ <listitem open="1" id="u6ySDmr0NWujO" type="829"/>
+ <listitem open="1" id="uOUHXvUyYD4F8" type="829"/>
+ <listitem open="1" id="ujBagZDE3hm16" type="829"/>
+ <listitem open="1" id="u4D5w3iuSuOEk" type="829"/>
+ <listitem open="1" id="uZmVSrctA2GkF" type="829"/>
+ <listitem open="1" id="uJsNfHvRJW0zq" type="829"/>
+ <listitem open="1" id="uTW1ybjtlKh8N" type="829"/>
+ <listitem open="1" id="utL9lxvFkYHg1" type="829"/>
+ <listitem open="0" id="uHLe3tYtdIgAH" type="829"/>
+ <listitem open="1" id="ubOa1ImSCdXUx" type="829"/>
+ <listitem open="1" id="ufhEVZ53Gs3tZ" type="829"/>
+ <listitem open="0" id="uEx9B5UUhlL5z" type="829"/>
+ <listitem open="0" id="u9x2iF9ZLsuiz" type="829"/>
+ <listitem open="0" id="uqFBWFaI4Uaq4" type="829"/>
+ <listitem open="0" id="uTHWDHc0FWYff" type="829"/>
+ <listitem open="1" id="uSkaRlapxQOOj" type="829"/>
+ <listitem open="0" id="uWrwFRu1hlY6X" type="829"/>
+ <listitem open="0" id="uQFWeTUc8AJwU" type="829"/>
+ <listitem open="1" id="ufzjLISFKzDtJ" type="829"/>
+ <listitem open="0" id="uUo6HByotwFiZ" type="829"/>
+ <listitem open="0" id="uMB2aD2HOoJzK" type="829"/>
+ <listitem open="0" id="uRqbfHfFAwJTF" type="829"/>
+ <listitem open="0" id="u5dSHCnhawAGh" type="829"/>
+ <listitem open="0" id="uCJRfMor3sBj0" type="829"/>
+ <listitem open="0" id="urKnQMdEWamKS" type="829"/>
+ <listitem open="0" id="uyO2Of6n6Fk2g" type="829"/>
+ <listitem open="0" id="uueXmZHc90acU" type="829"/>
+ <listitem open="0" id="u6FmnNcAF3wqi" type="829"/>
+ <listitem open="0" id="uZvO8tQ6tiHi9" type="829"/>
+ <listitem open="0" id="umX9TPVnhSAPw" type="829"/>
+ </listitem>
+ </listitem>
+ </listitem>
+ </listview>
+ <codegeneration>
+ <codegenerator language="Java"/>
+ </codegeneration>
+ </XMI.extensions>
+</XMI>