Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## album.ex7.model
Class Album

    java.lang.Object
      album.ex7.model.Album

    public class Album

extends java.lang.Object

Field Summary
`private java.lang.String` | `artist`
`private java.lang.Long` | `id`
`private java.lang.String` | `title`
`private int` | `totalTime`
`private java.util.List<Track>` | `trackList`
`private int` | `year`

Constructor Summary
`Album()`

Method Summary
`Album` | `addTrack(Track track)`
`java.lang.String` | `getArtist()`
`java.lang.Long` | `getId()`
`java.lang.String` | `getTitle()`
`int` | `getTotalTime()`
`java.util.List<Track>` | `getTrackList()`
`int` | `getYear()`
`void` | `setArtist(java.lang.String artist)`
`void` | `setId(java.lang.Long id)`
`void` | `setTitle(java.lang.String title)`
`void` | `setTotalTime(int totalTime)`
`void` | `setTrackList(java.util.List<Track> trackList)`
`void` | `setYear(int year)`
`java.lang.String` | `toString()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Field Detail

### id

    private java.lang.Long id

### title

    private java.lang.String title

### artist

    private java.lang.String artist

### year

    private int year

### totalTime

    private int totalTime

### trackList

    private java.util.List<Track> trackList

Constructor Detail

### Album

    public Album()

Method Detail

### getId

    public java.lang.Long getId()

### setId

    public void setId(java.lang.Long id)

### getTitle

    public java.lang.String getTitle()

### setTitle

    public void setTitle(java.lang.String title)

### getArtist

    public java.lang.String getArtist()

### setArtist

    public void setArtist(java.lang.String artist)

### getYear

    public int getYear()

### setYear

    public void setYear(int year)

### getTotalTime

    public int getTotalTime()

### setTotalTime

    public void setTotalTime(int totalTime)

### getTrackList

    public java.util.List<Track> getTrackList()

### setTrackList

    public void setTrackList(java.util.List<Track> trackList)

### addTrack

    public Album addTrack(Track track)

### toString

    public java.lang.String toString()

  Overrides:
    `toString` in class `java.lang.Object`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD