Skip to main content

API - Resource

The Resource abstract class represents a resource (e.g., person, department, equipment).

Fields

FieldTypeDescription
idStringUnique identifier
locationNameStringResource location
typeNameStringResource type name
roleNameStringAssigned role name
attributesList<Attribute>Associated attributes
attributeGroupsList<AttributeGroup>Attribute groups

Getters

String getId();
String getLocationName();
String getTypeName();
String getRoleName();
List<Attribute> getAttributes();
List<AttributeGroup> getAttributeGroups();

Setters

void setLocation(String locationName) throws DataAccessException;