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 Track

    java.lang.Object
      album.ex7.model.Track

    public class Track

extends java.lang.Object

Field Summary
`private int` | `length`
`private java.lang.String` | `title`

Constructor Summary
`Track()`
`Track(java.lang.String title, int length)`

Method Summary
`int` | `getLength()`
`java.lang.String` | `getTitle()`
`void` | `setLength(int length)`
`void` | `setTitle(java.lang.String title)`
`java.lang.String` | `toString()`

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

Field Detail

### title

    private java.lang.String title

### length

    private int length

Constructor Detail

### Track

    public Track()

### Track

    public Track(java.lang.String title,
                 int length)

Method Detail

### getTitle

    public java.lang.String getTitle()

### setTitle

    public void setTitle(java.lang.String title)

### getLength

    public int getLength()

### setLength

    public void setLength(int length)

### 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