Class AddEditorRoleToPersonGenerator

  • All Implemented Interfaces:
    edu.cornell.mannlib.vitro.webapp.edit.n3editing.configuration.generators.EditConfigurationGenerator

    public class AddEditorRoleToPersonGenerator
    extends AddRoleToPersonTwoStageGenerator
    Generates the edit configuration for adding a Role to a Person. Stage one is selecting the type of the non-person thing associated with the Role with the intention of reducing the number of Individuals that the user has to select from. Stage two is selecting the non-person Individual to associate with the Role. This is intended to create a set of statements like: ?person core:hasResearchActivityRole ?newRole. ?newRole rdf:type core:ResearchActivityRole ; roleToActivityPredicate ?someActivity . ?someActivity rdf:type core:ResearchActivity . ?someActivity rdfs:label "activity title" . Each subclass of the abstract two stage Generator class will have the option of overriding certain methods, and must always implement the following methods: getRoleType getRoleActivityTypeOptionsType getRoleActivityTypeObjectClassUri getRoleActivityTypeLiteralOptions
    • Constructor Detail

      • AddEditorRoleToPersonGenerator

        public AddEditorRoleToPersonGenerator()