Class DateTimePropertyGenerator
- java.lang.Object
-
- edu.cornell.mannlib.vitro.webapp.edit.n3editing.configuration.generators.BaseEditConfigurationGenerator
-
- edu.cornell.mannlib.vitro.webapp.edit.n3editing.configuration.generators.DateTimeValueFormGenerator
-
- edu.cornell.mannlib.vitro.webapp.edit.n3editing.configuration.generators.DateTimePropertyGenerator
-
- All Implemented Interfaces:
EditConfigurationGenerator
public class DateTimePropertyGenerator extends DateTimeValueFormGenerator
- Author:
- hjk54 There are multiple date time properties in VIVO, all of which have a DateTimeValue individual as an object. I am extending DateTimeValueFormGenerator to enable the predicate to be utilized as the "toDateTimeValue" property, i.e. the property associating the subject with the date time value individual. The dateTimeValueForm template has been used as the basis for the general form for this generator that can be applied to multiple properties.
-
-
Field Summary
-
Fields inherited from class edu.cornell.mannlib.vitro.webapp.edit.n3editing.configuration.generators.BaseEditConfigurationGenerator
DEFAULT_NS_FOR_NEW_RESOURCE
-
-
Constructor Summary
Constructors Constructor Description DateTimePropertyGenerator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EditConfigurationVTwogetEditConfiguration(VitroRequest vreq, javax.servlet.http.HttpSession session)protected StringgetToDateTimeValuePredicate()-
Methods inherited from class edu.cornell.mannlib.vitro.webapp.edit.n3editing.configuration.generators.DateTimeValueFormGenerator
addFormSpecificData, getDateTimeFieldName, getEditMode, getExistingDateTimeValueQuery, getExistingPrecisionQuery, getN3ForValue, getNodeN3Var, getNodeVar, getTemplate
-
Methods inherited from class edu.cornell.mannlib.vitro.webapp.edit.n3editing.configuration.generators.BaseEditConfigurationGenerator
setupModelSelectorsFromVitroRequest
-
-
-
-
Method Detail
-
getEditConfiguration
public EditConfigurationVTwo getEditConfiguration(VitroRequest vreq, javax.servlet.http.HttpSession session)
- Specified by:
getEditConfigurationin interfaceEditConfigurationGenerator- Overrides:
getEditConfigurationin classDateTimeValueFormGenerator
-
getToDateTimeValuePredicate
protected String getToDateTimeValuePredicate()
- Overrides:
getToDateTimeValuePredicatein classDateTimeValueFormGenerator
-
-