|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.xtvdclient.xtvd.datatypes.AbstractDataType
net.sf.xtvdclient.xtvd.datatypes.ProgramGenre
public class ProgramGenre
A bean
that represents a member record. A member
records occurs at the productionCrew/crew
level.
Field Summary |
---|
Fields inherited from class net.sf.xtvdclient.xtvd.datatypes.AbstractDataType |
---|
END_OF_LINE |
Constructor Summary | |
---|---|
ProgramGenre()
Default constructor. |
|
ProgramGenre(java.lang.String program)
Create a new instance of the class with the specified value for program . |
|
ProgramGenre(java.lang.String program,
java.util.Collection<Genre> genres)
Create a new instance of the class with the specified values for the instance variables. |
Method Summary | |
---|---|
java.util.Collection<Genre> |
getGenres()
Returns genres . |
java.lang.String |
getProgram()
Returns program . |
void |
reset()
Reset the instance variable to empty values. |
void |
setGenres(java.util.Collection<Genre> genres)
Set genres . |
void |
setProgram(java.lang.String program)
Set program . |
java.lang.String |
toString()
Over-ridden implementation. |
Methods inherited from class net.sf.xtvdclient.xtvd.datatypes.AbstractDataType |
---|
compareTo, equals, replaceSpecialCharacters, replaceSpecialCharacters |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ProgramGenre()
public ProgramGenre(java.lang.String program)
program
.
program
- The program
value to set.public ProgramGenre(java.lang.String program, java.util.Collection<Genre> genres)
program
- The program
value to set.genres
- The genres
reference to set.Method Detail |
---|
public void reset()
public java.lang.String toString()
XML representation
of the class fields in the same format as in the original
XTVD document
.
toString
in class java.lang.Object
public final java.lang.String getProgram()
program
.
public final void setProgram(java.lang.String program)
program
.
program
- The value to set.public final java.util.Collection<Genre> getGenres()
genres
.
public final void setGenres(java.util.Collection<Genre> genres)
genres
.
genres
- The value to set.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |