|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jtheque.core.managers.persistence.Entity
org.jtheque.primary.od.abstraction.Data
org.jtheque.films.persistence.od.abstraction.Film
org.jtheque.films.persistence.od.FilmImpl
public final class FilmImpl
Cette classe représente un film et toutes ses données.
| Field Summary |
|---|
| Fields inherited from class org.jtheque.core.managers.persistence.Entity |
|---|
HASHCODEPRIME |
| Constructor Summary | |
|---|---|
FilmImpl()
Construct a new FilmImpl. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
String |
getAffichableText()
|
Icon |
getIcon()
|
FilmTemporaryContext |
getTemporaryContext()
|
boolean |
hasActors()
Indicate if the film has actors or not. |
boolean |
hasComment()
Indicate if the film has a comment or not. |
int |
hashCode()
|
boolean |
hasImage()
Indicate if the film has an image or not. |
boolean |
hasKinds()
Indicate if the film has kinds or not. |
boolean |
hasLanguage()
Indicate if the film has a language or not. |
boolean |
hasLending()
Indicate if the film is in lending or not. |
boolean |
hasRealizer()
Indicate if the film has a realizer or not. |
boolean |
hasResume()
Indicate if the film has a resume or not. |
boolean |
hasType()
Indicate if the film is in lending or not. |
void |
restoreMemento()
|
void |
saveToMemento()
|
String |
toString()
|
| Methods inherited from class org.jtheque.films.persistence.od.abstraction.Film |
|---|
getActors, getComment, getDuration, getFilePath, getImage, getKinds, getNote, getResume, getTheCollection, getTheLanguage, getTheLending, getTheRealizer, getTheSaga, getTheType, getTitle, getYear, setActors, setComment, setDuration, setFilePath, setImage, setKinds, setNote, setResume, setTheCollection, setTheLanguage, setTheLending, setTheRealizer, setTheSaga, setTheType, setTitle, setYear |
| Methods inherited from class org.jtheque.primary.od.abstraction.Data |
|---|
getElementName |
| Methods inherited from class org.jtheque.core.managers.persistence.Entity |
|---|
compareTo, getId, isSaved, setId |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public FilmImpl()
| Method Detail |
|---|
public FilmTemporaryContext getTemporaryContext()
getTemporaryContext in class org.jtheque.core.managers.persistence.Entitypublic String getAffichableText()
getAffichableText in class org.jtheque.core.managers.persistence.Entitypublic String toString()
toString in class Objectpublic int hashCode()
hashCode in class org.jtheque.core.managers.persistence.Entitypublic boolean equals(Object obj)
equals in class org.jtheque.core.managers.persistence.Entitypublic Icon getIcon()
getIcon in interface org.jtheque.primary.view.impl.models.tree.ElementgetIcon in class org.jtheque.primary.od.abstraction.Datapublic void saveToMemento()
saveToMemento in class org.jtheque.core.managers.persistence.Entitypublic void restoreMemento()
restoreMemento in class org.jtheque.core.managers.persistence.Entitypublic boolean hasLending()
true if the film has a lending else falsepublic boolean hasType()
true if the film has a lending else falsepublic boolean hasKinds()
true if the film has kinds else falsepublic boolean hasActors()
true if the film has actors else falsepublic boolean hasLanguage()
true if the film has a language else falsepublic boolean hasRealizer()
true if the film has a realizer else falsepublic boolean hasResume()
true if the film has a resume else falsepublic boolean hasComment()
true if the film has a comment else falsepublic boolean hasImage()
true if the film has an image else false
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||