public class Project extends BaseProject
Project
resource in Cloudwords. A Project
is the central resource in
Cloudwords, as it represents an initiative to translate some content. It contains information,
both necessary and optional, to define a Project
's requirements, such as the content's
source Language
and requested target Language
s to translate into.Constructor and Description |
---|
Project() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
BigDecimal |
getAmount()
Get the amount or cost associated with this
Project . |
Date |
getBidDueDate()
Get the
Project bid due date. |
Date |
getBidSelectDeadlineDate()
Get the
Project bid selection deadline. |
Date |
getCreatedDate()
Get the
Project created date. |
String |
getCurrency()
Get the currency code for this project.
|
Date |
getDeliveryDueDate()
Get the
Project delivery due date. |
Department |
getDepartment()
|
String |
getDescription()
Get the
Project description. |
List<User> |
getFollowers() |
IntendedUse |
getIntendedUse()
Get the
Project IntendedUse . |
String |
getNotes()
Get the
Project notes. |
User |
getOwner() |
String |
getPoNumber()
Get the
Project purchase order number. |
String |
getProjectContentType()
The content type of the Project.
|
ProjectUpdateGlossary |
getProjectUpdateGlossary() |
Date |
getReviewDueDate() |
Language |
getSourceLanguage()
|
CodeAndDisplay |
getStatus()
Get the
Project status. |
List<Language> |
getTargetLanguages()
|
Map<String,Boolean> |
getUiFeatures()
Get the set of UI Features, and the 'permitted' value for each (that is, whether the Cloudwords UI will allow
that action).
|
int |
hashCode() |
void |
setAmount(BigDecimal amount)
Set the amount or cost associated with this
Project . |
void |
setBidDueDate(Date bidDueDate)
Set the
Project bid due date. |
void |
setBidSelectDeadlineDate(Date bidSelectDeadlineDate)
Set the
Project bid selection deadline. |
void |
setCreatedDate(Date createdDate)
Set the
Project created date. |
void |
setCurrency(String currency) |
void |
setDeliveryDueDate(Date deliveryDueDate)
Set the
Project delivery due date. |
void |
setDepartment(Department department)
|
void |
setDescription(String description)
Set the
Project description. |
void |
setFollowers(List<User> followers) |
void |
setIntendedUse(IntendedUse intendedUse)
Set the
Project IntendedUse . |
void |
setNotes(String notes)
Set the
Project notes. |
void |
setOwner(User owner) |
void |
setPoNumber(String poNumber)
Set the
Project purchase order number. |
void |
setProjectContentType(String projectContentType)
This value can only be set when the project is created, and cannot be changed thereafter.
|
void |
setProjectUpdateGlossary(ProjectUpdateGlossary projectUpdateGlossary) |
void |
setReviewDueDate(Date reviewDueDate) |
void |
setSourceLanguage(Language sourceLanguage)
|
void |
setStatus(CodeAndDisplay status)
Set the
Project status. |
void |
setTargetLanguages(List<Language> targetLanguages)
|
void |
setUiFeatures(Map<String,Boolean> uiFeatures) |
String |
toString() |
getId, getName, setId, setName
getPath, setPath
public String getDescription()
Project
description.Project
public void setDescription(String description)
Project
description.description
- of this Project
public void setNotes(String notes)
Project
notes.notes
- of this Project
public IntendedUse getIntendedUse()
Project
IntendedUse
.IntendedUse
of this Project
public void setIntendedUse(IntendedUse intendedUse)
Project
IntendedUse
.intendedUse
- of this Project
public void setSourceLanguage(Language sourceLanguage)
sourceLanguage
- of this Project
public List<Language> getTargetLanguages()
Project
public void setTargetLanguages(List<Language> targetLanguages)
targetLanguages
- of this Project
public CodeAndDisplay getStatus()
Project
status.Project
public void setStatus(CodeAndDisplay status)
Project
status. (Note: Project status is a read-only
field with the Cloudwords API - setting a Project
status and sending it to the API
will have no effect.)status
- of this Project
public String getPoNumber()
Project
purchase order number.Project
public void setPoNumber(String poNumber)
Project
purchase order number.poNumber
- of this Project
public Date getCreatedDate()
Project
created date. Please note that the Date
object contains the
full time, date and time zone information.
Please refer to the API documentation for more information on date handling.
Project
public void setCreatedDate(Date createdDate)
Project
created date. (Note: Project created date is a read-only field with
the Cloudwords API - setting it and sending it to the API will have no effect.)createdDate
- of this Project
public Date getBidDueDate()
Project
bid due date. Please note that the Date
object contains the
full time, date and time zone information.
Please refer to the API documentation for more information on date handling.
Project
public void setBidDueDate(Date bidDueDate)
Project
bid due date. Please note that the Date
object contains the
full time, date and time zone information that Cloudwords API will respect.
Please refer to the API documentation for more information on date handling.
bidDueDate
- public Date getBidSelectDeadlineDate()
Project
bid selection deadline. Please note that the Date
object
contains the full time, date and time zone information.
Please refer to the API documentation for more information on date handling.
public void setBidSelectDeadlineDate(Date bidSelectDeadlineDate)
Project
bid selection deadline. (Note: Project bid selection deadline is a
read-only field with the Cloudwords API - Cloudwords will automatically calculate it based on
the specified bid due date and Project
due date.)
Please refer to the API documentation for more information on date handling.
bidSelectDeadlineDate
- public Date getDeliveryDueDate()
Project
delivery due date. Please note that the Date
object contains the
full time, date and time zone information.
Please refer to the API documentation for more information on date handling.
public void setDeliveryDueDate(Date deliveryDueDate)
Project
delivery due date. Please note that the Date
object contains the
full time, date and time zone information that Cloudwords API will respect.
Please refer to the API documentation for more information on date handling.
deliveryDueDate
- public BigDecimal getAmount()
Project
.Project
.public void setAmount(BigDecimal amount)
Project
. (Note: Project amount is a read-only
field with the Cloudwords API - setting an amount and sending it to the API
will have no effect.)amount
- amount or cost of this Project
.public Department getDepartment()
Department
information for this project.public void setDepartment(Department department)
department
- public int hashCode()
hashCode
in class BaseProject
public boolean equals(Object obj)
equals
in class BaseProject
public ProjectUpdateGlossary getProjectUpdateGlossary()
public void setProjectUpdateGlossary(ProjectUpdateGlossary projectUpdateGlossary)
public User getOwner()
public void setOwner(User owner)
public Date getReviewDueDate()
public void setReviewDueDate(Date reviewDueDate)
public String getProjectContentType()
public void setProjectContentType(String projectContentType)
getProjectContentType()
).
Custom values specified will be displayed to the user in the Cloudwords UI and can also be used to filter projects
on the project search UI. It is suggested that integrators use a string that is specific to that integration (such
as the integration name).public Map<String,Boolean> getUiFeatures()
public String getCurrency()
public void setCurrency(String currency)
Copyright © 2016. All rights reserved.