Class IndividualsViaObjectPropetyOptions
- java.lang.Object
-
- edu.cornell.mannlib.vitro.webapp.edit.n3editing.VTwo.fields.IndividualsViaObjectPropetyOptions
-
- All Implemented Interfaces:
FieldOptions
- Direct Known Subclasses:
IndividualsViaObjectPropertyByRankOptions
public class IndividualsViaObjectPropetyOptions extends Object implements FieldOptions
-
-
Constructor Summary
Constructors Constructor Description IndividualsViaObjectPropetyOptions(String subjectUri, String predicateUri, String objectUri)IndividualsViaObjectPropetyOptions(String subjectUri, String predicateUri, List<VClass> rangeTypes, String objectUri)IndividualsViaObjectPropetyOptions(String subjectUri, String predicateUri, List<VClass> rangeTypes, String objectUri, VitroRequest vreq)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Comparator<String[]>getCustomComparator()Map<String,String>getOptions(EditConfigurationVTwo editConfig, String fieldName, WebappDaoFactory wDaoFact, I18nBundle i18n)Any object that are needed to get the options should be passed in the constructor of the implementation.IndividualsViaObjectPropetyOptionssetDefaultOptionLabel(String label)
-
-
-
Constructor Detail
-
IndividualsViaObjectPropetyOptions
public IndividualsViaObjectPropetyOptions(String subjectUri, String predicateUri, List<VClass> rangeTypes, String objectUri, VitroRequest vreq) throws Exception
- Throws:
Exception
-
IndividualsViaObjectPropetyOptions
public IndividualsViaObjectPropetyOptions(String subjectUri, String predicateUri, String objectUri) throws Exception
- Throws:
Exception
-
-
Method Detail
-
setDefaultOptionLabel
public IndividualsViaObjectPropetyOptions setDefaultOptionLabel(String label)
-
getOptions
public Map<String,String> getOptions(EditConfigurationVTwo editConfig, String fieldName, WebappDaoFactory wDaoFact, I18nBundle i18n)
Description copied from interface:FieldOptionsAny object that are needed to get the options should be passed in the constructor of the implementation.- Specified by:
getOptionsin interfaceFieldOptions- Returns:
- return a map of value->label for the options. Should never return null.
-
getCustomComparator
public Comparator<String[]> getCustomComparator()
- Specified by:
getCustomComparatorin interfaceFieldOptions
-
-