DAO Artists
13 classes 2 interfaces avec interface implementation, héritage, association
classDiagram
class A {
+String nom
+String prenom
}
class SacemRegistration {
-String reference
-Date dateRegistration
}
class Artist {
+String Attribute1
-String bandName
-String size
-int id
-String year
-String country
-int size
}
class ArtistDao {
+findByBandName(String str) : List
}
class GenericDAO_TK_ {
+findAll(ArrayList<T>)
+findById(id K) T
+update(T entity)
+delete(T entity)
+deleteByKey(K id)
+create(T entity)
}
class PersonId {
+String firstName
+String lastName
+String city
}
class B {
+String albumName
}
class Person {
+String id
+String id
-String firstName
+int firstname
+String lastname
+boolean haveWebAccess
}
class C {
+String track
}
class Playlist {
-String id
-Date createdOn
-String name
}
class ArtistDaoJpa {
}
class Album {
-String id
-String title
-int releaseYear
}
class User {
-long id
-String firstName
-String lastName
-String id
-auto id
-String birthDate
}
class Employee {
+String firstname
+String lastname
+String birthdate
+String salary
}
class Address {
+String streetNumber
+String streetName
+String postalCode
+String country
}
Artist "1" --> "1" SacemRegistration
Album "0..*" --> "1" Artist
Playlist "0..*" --> "1..*" Album
User "1" --> "0..*" Playlist
User --|> Person
Artist --|> Person
ArtistDao --|> GenericDAO_TK_
ArtistDaoJpa ..|> ArtistDao
Artist "1" --> "0..*" Album
Artist "1" --> "1" SacemRegistration
Album "0..*" --> "1" Artist
Playlist "0..*" --> "1..*" Album
User "1" --> "0..*" Playlist
Person "1" --> "1" Address
Person --> PersonId
A "1" --> "0..*" B
B "1" --> "0..*" C

