|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--audiojury.domain.Sound
Represents a sound file.
Constructor Summary | |
Sound()
Creates a new Sound object. |
Method Summary | |
java.lang.String |
getName()
Gets the name of the Sound . |
java.lang.String |
getPath()
Gets the path to the sound file in the Sound . |
boolean |
isCopied()
Check if the Sound has been copied to it's destination yet.
|
void |
setCopied(boolean scp)
Indicate that the Sound has been copies to it's final position. |
void |
setName(java.lang.String sname)
Sets the name of the Sound . |
void |
setPath(java.lang.String spath)
Sets the path to the sound file in the Sound . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Sound()
Method Detail |
public java.lang.String getName()
Sound
.
String
with the name of the sound.public void setName(java.lang.String sname)
Sound
.
sname
- String
with the new name for the sound.public java.lang.String getPath()
Sound
.
String
with the path stored in the sound.public void setPath(java.lang.String spath)
Sound
.
spath
- String
with the path to store in the sound.public boolean isCopied()
Sound
has been copied to it's destination yet.
Used internaly by the system.
boolean
indicating if the Sound has been copied to it's final destination yet.public void setCopied(boolean scp)
Sound
has been copies to it's final position.
scp
- set this boolean
to true to mark the sound as copied.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |