public class LibrarySection
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
LibrarySection.Type |
Constructor and Description |
---|
LibrarySection() |
LibrarySection(LibrarySection other)
Clone another LibrarySection
|
Modifier and Type | Method and Description |
---|---|
void |
addVideo(VideoBase v) |
java.lang.String |
getCtype() |
int |
getKey() |
java.lang.String |
getName() |
LibrarySection.Type |
getType() |
int |
getVideoCount() |
java.util.List<VideoBase> |
getVideos() |
boolean |
isRestricted() |
void |
setCtype(java.lang.String type)
Hibernate gets access to the primitive type
|
void |
setKey(int key) |
void |
setName(java.lang.String name) |
void |
setRestricted(boolean restricted) |
void |
setType(LibrarySection.Type type) |
void |
setType(java.lang.String type) |
void |
setVideos(java.util.List<VideoBase> videos) |
public LibrarySection()
public LibrarySection(LibrarySection other)
other
- The LibrarySection to make a copy of.public int getKey()
public void setKey(int key)
key
- the key to setpublic java.lang.String getName()
public void setName(java.lang.String name)
name
- the name to setpublic int getVideoCount()
public java.util.List<VideoBase> getVideos()
public void setVideos(java.util.List<VideoBase> videos)
videos
- the videos to setpublic void addVideo(VideoBase v)
public LibrarySection.Type getType()
public void setType(LibrarySection.Type type)
type
- the type to setpublic void setType(java.lang.String type)
public void setCtype(java.lang.String type)
type
- public java.lang.String getCtype()
public boolean isRestricted()
public void setRestricted(boolean restricted)
restricted
- the restricted to set