public class TrainingUnitDTO extends Object implements Serializable
Constructor and Description |
---|
TrainingUnitDTO()
Instantiates a new training unit DTO.
|
TrainingUnitDTO(long internalId)
Instantiates a new training unit DTO.
|
TrainingUnitDTO(long internalId,
String title,
String workspaceFolderName,
String description,
String workspaceFolderId,
String scope,
String ownerLogin,
TrainingCourseDTO trainingProjectRef)
Instantiates a new training unit DTO.
|
TrainingUnitDTO(String title,
String workspaceFolderName,
String description,
String workspaceFolderId,
String scope,
String ownerLogin,
TrainingCourseDTO trainingProjectRef)
Instantiates a new training unit DTO.
|
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Gets the description.
|
long |
getInternalId()
Gets the internal id.
|
String |
getOwnerLogin()
Gets the owner login.
|
String |
getScope()
Gets the scope.
|
String |
getTitle()
Gets the title.
|
TrainingCourseDTO |
getTrainingProjectRef()
Gets the training project ref.
|
String |
getWorkspaceFolderId()
Gets the workspace folder id.
|
String |
getWorkspaceFolderName()
Gets the workspace folder name.
|
void |
setDescription(String description)
Sets the description.
|
void |
setInternalId(long internalId)
Sets the internal id.
|
void |
setOwnerLogin(String ownerLogin)
Sets the owner login.
|
void |
setScope(String scope)
Sets the scope.
|
void |
setTitle(String title)
Sets the title.
|
void |
setTrainingProjectRef(TrainingCourseDTO 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 TrainingUnitDTO()
public TrainingUnitDTO(long internalId)
internalId
- the internal idpublic TrainingUnitDTO(String title, String workspaceFolderName, String description, String workspaceFolderId, String scope, String ownerLogin, TrainingCourseDTO trainingProjectRef)
title
- the titleworkspaceFolderName
- the workspace folder namedescription
- the descriptionworkspaceFolderId
- the workspace folder idscope
- the scopeownerLogin
- the owner logintrainingProjectRef
- the training project refpublic TrainingUnitDTO(long internalId, String title, String workspaceFolderName, String description, String workspaceFolderId, String scope, String ownerLogin, TrainingCourseDTO 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 long getInternalId()
public void setInternalId(long internalId)
internalId
- the new internal idpublic 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 TrainingCourseDTO getTrainingProjectRef()
public void setTrainingProjectRef(TrainingCourseDTO trainingProjectRef)
trainingProjectRef
- the new training project refCopyright © 2018. All Rights Reserved.