Class ChildVClassesOptions
- java.lang.Object
-
- edu.cornell.mannlib.vitro.webapp.edit.n3editing.VTwo.fields.ChildVClassesOptions
-
- All Implemented Interfaces:
FieldOptions
public class ChildVClassesOptions extends Object implements FieldOptions
-
-
Constructor Summary
Constructors Constructor Description ChildVClassesOptions(String vclassUri)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetClassUri()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.ChildVClassesOptionssetDefaultOptionLabel(String label)
-
-
-
Constructor Detail
-
ChildVClassesOptions
public ChildVClassesOptions(String vclassUri)
-
-
Method Detail
-
setDefaultOptionLabel
public ChildVClassesOptions setDefaultOptionLabel(String label)
-
getOptions
public Map<String,String> getOptions(EditConfigurationVTwo editConfig, String fieldName, WebappDaoFactory wDaoFact, I18nBundle i18n) throws Exception
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.
- Throws:
Exception
-
getClassUri
public String getClassUri()
-
getCustomComparator
public Comparator<String[]> getCustomComparator()
- Specified by:
getCustomComparatorin interfaceFieldOptions
-
-