@Entity public class TrainingUnit extends Object implements Serializable
| Constructor and Description |
|---|
TrainingUnit()
Instantiates a new training unit.
|
TrainingUnit(long internalId,
String title,
String workspaceFolderName,
String description,
String workspaceFolderId,
String scope,
String ownerLogin,
TrainingProject trainingProjectRef)
Instantiates a new training unit.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addQuestionnaire(TrainingUnitQuestionnaire qst)
Adds the questionnaire.
|
void |
addVideo(TrainingVideo video)
Adds the video.
|
String |
getDescription()
Gets the description.
|
long |
getInternalId()
Gets the internal id.
|
List<TrainingUnitQuestionnaire> |
getListQuestionnaire()
Gets the list questionnaire.
|
List<TrainingVideo> |
getListVideo()
Gets the list video.
|
String |
getOwnerLogin()
Gets the owner login.
|
TrainingUnitQuestionnaire |
getQuestionnaireFor(String questionnaireId)
Gets the questionnaire.
|
String |
getScope()
Gets the scope.
|
String |
getTitle()
Gets the title.
|
TrainingProject |
getTrainingProjectRef()
Gets the training project ref.
|
TrainingVideo |
getVideoForURL(String videoURL)
Gets the video for URL.
|
String |
getWorkspaceFolderId()
Gets the workspace folder id.
|
String |
getWorkspaceFolderName()
Gets the workspace folder name.
|
void |
setDescription(String description)
Sets the description.
|
void |
setOwnerLogin(String ownerLogin)
Sets the owner login.
|
void |
setScope(String scope)
Sets the scope.
|
void |
setTitle(String title)
Sets the title.
|
void |
setTrainingProjectRef(TrainingProject trainingProjectRef)
Sets the training project ref.
|
void |
setWorkspaceFolderId(String workspaceFolderId)
Sets the workspace folder id.
|
void |
setWorkspaceFolderName(String workspaceFolderName)
Sets the workspace folder name.
|
String |
toString() |
public TrainingUnit()
public TrainingUnit(long internalId,
String title,
String workspaceFolderName,
String description,
String workspaceFolderId,
String scope,
String ownerLogin,
TrainingProject trainingProjectRef)
internalId - the internal idtitle - the titleworkspaceFolderName - the workspace folder namedescription - the descriptionworkspaceFolderId - the workspace folder idscope - the scopeownerLogin - the owner logintrainingProjectRef - the training project refpublic String getTitle()
public void setTitle(String title)
title - the new titlepublic String getWorkspaceFolderName()
public void setWorkspaceFolderName(String workspaceFolderName)
workspaceFolderName - the new workspace folder namepublic String getDescription()
public void setDescription(String description)
description - the new descriptionpublic String getWorkspaceFolderId()
public void setWorkspaceFolderId(String workspaceFolderId)
workspaceFolderId - the new workspace folder idpublic String getScope()
public void setScope(String scope)
scope - the new scopepublic String getOwnerLogin()
public void setOwnerLogin(String ownerLogin)
ownerLogin - the new owner loginpublic TrainingProject getTrainingProjectRef()
public void setTrainingProjectRef(TrainingProject trainingProjectRef)
trainingProjectRef - the new training project refpublic long getInternalId()
public void addQuestionnaire(TrainingUnitQuestionnaire qst)
qst - the qstpublic TrainingUnitQuestionnaire getQuestionnaireFor(String questionnaireId)
questionnaireId - the questionnaire idpublic void addVideo(TrainingVideo video)
video - the videopublic TrainingVideo getVideoForURL(String videoURL)
videoURL - the video URLpublic List<TrainingUnitQuestionnaire> getListQuestionnaire()
public List<TrainingVideo> getListVideo()
Copyright © 2019. All Rights Reserved.