|
||||||||||
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.Entity
public String getAffichableText()
getAffichableText
in class org.jtheque.core.managers.persistence.Entity
public String toString()
toString
in class Object
public int hashCode()
hashCode
in class org.jtheque.core.managers.persistence.Entity
public boolean equals(Object obj)
equals
in class org.jtheque.core.managers.persistence.Entity
public Icon getIcon()
getIcon
in interface org.jtheque.primary.view.impl.models.tree.Element
getIcon
in class org.jtheque.primary.od.abstraction.Data
public void saveToMemento()
saveToMemento
in class org.jtheque.core.managers.persistence.Entity
public void restoreMemento()
restoreMemento
in class org.jtheque.core.managers.persistence.Entity
public boolean hasLending()
true
if the film has a lending else false
public boolean hasType()
true
if the film has a lending else false
public boolean hasKinds()
true
if the film has kinds else false
public boolean hasActors()
true
if the film has actors else false
public boolean hasLanguage()
true
if the film has a language else false
public boolean hasRealizer()
true
if the film has a realizer else false
public boolean hasResume()
true
if the film has a resume else false
public boolean hasComment()
true
if the film has a comment else false
public 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 |