API - Project
The Project abstract class represents a project in the TMS system.
Fields
| Field | Type | Description |
|---|---|---|
id | String | Unique identifier |
typeName | String | Project type name |
name | String | Project name |
begin | ZonedDateTime | Project start date |
end | ZonedDateTime | Project end date |
active | Boolean | Whether project is active |
attributes | List<Attribute> | Associated attributes |
attributeGroups | List<AttributeGroup> | Attribute groups |
Header attributes
/**
*
* @return the technical UUID of the project
*/
String getId();
/**
*
* @return the name (former Manual ID) of the project type
*/
String getTypeName();
/**
*
* @return the name of the project, in this case the value of the display attribute
*/
String getName();
/**
*
* @return the start date of the project
*/
ZonedDateTime getBegin();
/**
*
* @return the end date of the project
*/
ZonedDateTime getEnd();
/**
*
* @return whether the project is active
*/
Boolean isActive();
/**
*
* @param begin the start date of the project
*/
void setBegin(ZonedDateTime begin);
/**
*
* @param end the end date of the project
*/
void setEnd(ZonedDateTime end);
/**
*
* @param name the name of the project
* @throws DataAccessException
*/
void setName(String name) throws DataAccessException;
Dynamic attributes
See at API - Attribute how to get and set the values of attributes.
List<Attribute> getAttributes();