package fi.otavanopisto.muikku.plugins.schooldatapyramus.entities;
import fi.otavanopisto.muikku.model.users.EnvironmentRoleArchetype;
import fi.otavanopisto.muikku.plugins.schooldatapyramus.SchoolDataPyramusPluginDescriptor;
import fi.otavanopisto.muikku.schooldata.entity.EnvironmentRole;
public class PyramusEnvironmentRole implements EnvironmentRole {
public PyramusEnvironmentRole(String identifier, EnvironmentRoleArchetype archetype, String name) {
this.identifier = identifier;
this.archetype = archetype;
this.name = name;
}
@Override
public String getSchoolDataSource() {
return SchoolDataPyramusPluginDescriptor.SCHOOL_DATA_SOURCE;
}
@Override
public String getIdentifier() {
return identifier;
}
@Override
public EnvironmentRoleArchetype getArchetype() {
return archetype;
}
@Override
public String getName() {
return name;
}
private String identifier;
private EnvironmentRoleArchetype archetype;
private String name;
}