API - Activity
The attribute class provides read and write access to attributes of resources, activities and projects.
Fields
| Field | Type | Description |
|---|---|---|
id | String | Unique identifier |
typeName | String | Activity type name |
name | String | Activity name/content |
begin | ZonedDateTime | Start date |
end | ZonedDateTime | End date |
earliestBegin | ZonedDateTime | Earliest possible start |
latestEnd | ZonedDateTime | Latest possible end |
locationName | String | Activity location |
projectName | String | Associated project |
requestorName | String | Requestor login name |
parentActivityId | String | Parent activity ID |
activitySeriesId | String | Activity series ID |
attributes | List<Attribute> | Associated attributes |
attributeGroups | List<AttributeGroup> | Attribute groups |
Getters
// Basic getters
String getId();
String getTypeName();
String getName();
ZonedDateTime getBegin();
ZonedDateTime getEnd();
ZonedDateTime getEarliestStart();
ZonedDateTime getLatestEnd();
String getLocationName();
String getProjectName();
String getRequestorName();
String getParentActivityId();
String getActivitySeriesId();
List<Attribute> getAttributes();
List<AttributeGroup> getAttributeGroups();
List<Resource> getResourceAssignments();
Setters
void setBegin(ZonedDateTime begin);
void setEnd(ZonedDateTime end);
void setEarliestStart(ZonedDateTime earliestStart);
void setLatestEnd(ZonedDateTime latestEnd);
void setName(String name) throws DataAccessException;
void setLocation(String locationName) throws DataAccessException;
void setRequestor(String loginName) throws DataAccessException;