Package nzilbb.labbcat.model
Class Project
java.lang.Object
nzilbb.labbcat.model.Category
nzilbb.labbcat.model.Project
Deprecated, for removal: This API element is subject to removal in a future version.
Project record.
- Author:
- Robert Fromont robert@fromont.net.nz
-
Constructor Summary
ConstructorsConstructorDescriptionProject()
Deprecated, for removal: This API element is subject to removal in a future version.Default constructor.Project
(javax.json.JsonObject json) Deprecated, for removal: This API element is subject to removal in a future version.Constructor from JSON.Deprecated, for removal: This API element is subject to removal in a future version.Constructor from Category object. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Getter for the name of the project.int
Deprecated, for removal: This API element is subject to removal in a future version.setProject
(String newProject) Deprecated, for removal: This API element is subject to removal in a future version.Setter for the name of the project.setProjectId
(int newProjectId) Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class nzilbb.labbcat.model.Category
getCategory, getClassId, getDescription, getDisplayOrder, setCategory, setClassId, setDescription, setDisplayOrder, toJson
-
Constructor Details
-
Project
public Project()Deprecated, for removal: This API element is subject to removal in a future version.Default constructor. -
Project
public Project(javax.json.JsonObject json) Deprecated, for removal: This API element is subject to removal in a future version.Constructor from JSON.- Parameters:
json
- A JSON representation of the object to construct.
-
Project
Deprecated, for removal: This API element is subject to removal in a future version.Constructor from Category object.- Parameters:
category
- The cateory to convert into a Project.
-
-
Method Details
-
getProjectId
Deprecated, for removal: This API element is subject to removal in a future version.Deprecated getter for the database key value.- Returns:
- Database key value.
-
setProjectId
Deprecated, for removal: This API element is subject to removal in a future version.Deprecated setter for the database key value, which now has no effect.- Parameters:
newProjectId
- Database key value.- Returns:
- A reference to this object, so that setters can be chained.
-
getProject
Deprecated, for removal: This API element is subject to removal in a future version.Getter for the name of the project.- Returns:
- The name of the project.
-
setProject
Deprecated, for removal: This API element is subject to removal in a future version.Setter for the name of the project.- Parameters:
newProject
- The name of the project.- Returns:
- A reference to this object, so that setters can be chained.
-
Category
with classId = "layer"