Class AddEditorRoleToPersonGenerator
- java.lang.Object
-
- edu.cornell.mannlib.vitro.webapp.edit.n3editing.configuration.generators.BaseEditConfigurationGenerator
-
- edu.cornell.mannlib.vitro.webapp.edit.n3editing.configuration.generators.AddRoleToPersonTwoStageGenerator
-
- edu.cornell.mannlib.vitro.webapp.edit.n3editing.configuration.generators.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
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class edu.cornell.mannlib.vitro.webapp.edit.n3editing.configuration.generators.AddRoleToPersonTwoStageGenerator
AddRoleToPersonTwoStageGenerator.RoleActivityOptionTypes
-
-
Constructor Summary
Constructors Constructor Description AddEditorRoleToPersonGenerator()
-
Method Summary
-
Methods inherited from class edu.cornell.mannlib.vitro.webapp.edit.n3editing.configuration.generators.AddRoleToPersonTwoStageGenerator
addFormSpecificData, getActivityTypeQueryForChildVClassOptions, getActivityTypeQueryForConstantOptions, getActivityTypeQueryForIndividualsViaClassGroupOptions, getEditConfiguration, getEditMode, getEndDatePrecision, getFilterRoleToActivityPredicate, getPossibleActivityToRolePredicates, getPossibleRoleToActivityPredicates, getRoleToActivityPredicate, getStartDatePrecision
-
-