Skip to main content

API - Activity

The attribute class provides read and write access to attributes of resources, activities and projects.

Fields

FieldTypeDescription
idStringUnique identifier
typeNameStringActivity type name
nameStringActivity name/content
beginZonedDateTimeStart date
endZonedDateTimeEnd date
earliestBeginZonedDateTimeEarliest possible start
latestEndZonedDateTimeLatest possible end
locationNameStringActivity location
projectNameStringAssociated project
requestorNameStringRequestor login name
parentActivityIdStringParent activity ID
activitySeriesIdStringActivity series ID
attributesList<Attribute>Associated attributes
attributeGroupsList<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;