Skip to main content
Version: latest 1.3.x

API - Project

The Project abstract class represents a project in the TMS system.

Fields

FieldTypeDescription
idStringUnique identifier
typeNameStringProject type name
nameStringProject name
beginZonedDateTimeProject start date
endZonedDateTimeProject end date
activeBooleanWhether project is active
attributesList<Attribute>Associated attributes
attributeGroupsList<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();