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

## movie.ex9.model
Class Movie

    java.lang.Object
      movie.ex9.model.Movie

    public class Movie

extends java.lang.Object

Field Summary
`private java.util.Set<Contribution>` | `contributions`
`private java.lang.Integer` | `id`
`private java.lang.String` | `title`

Constructor Summary
`Movie()`

Method Summary
`Movie` | `addContribution(Contribution contribution)`
`java.util.Set<Contribution>` | `getContributions()`
`java.lang.Integer` | `getId()`
`java.lang.String` | `getTitle()`
`void` | `setContributions(java.util.Set<Contribution> contributions)`
`void` | `setId(java.lang.Integer id)`
`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

### id

    private java.lang.Integer id

### title

    private java.lang.String title

### contributions

    private java.util.Set<Contribution> contributions

Constructor Detail

### Movie

    public Movie()

Method Detail

### getId

    public java.lang.Integer getId()

### setId

    public void setId(java.lang.Integer id)

### getTitle

    public java.lang.String getTitle()

### setTitle

    public void setTitle(java.lang.String title)

### getContributions

    public java.util.Set<Contribution> getContributions()

### setContributions

    public void setContributions(java.util.Set<Contribution> contributions)

### addContribution

    public Movie addContribution(Contribution contribution)

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