Package mc.core.domain.base.aspect
Class AspectAttribute.DVTextHandler
java.lang.Object
AspectAttribute<C>.DVBaseHandler<DVText,String,AspectAttribute<C>.DVTextHandler>
mc.core.domain.base.aspect.AspectAttribute.DVTextHandler
- All Implemented Interfaces:
AspectAttribute.DataValueHandler<String>
- Enclosing class:
- AspectAttribute<C extends ComplexEntity>
public class AspectAttribute.DVTextHandler
extends AspectAttribute<C>.DVBaseHandler<DVText,String,AspectAttribute<C>.DVTextHandler>
-
Constructor Summary
ConstructorsConstructorDescriptionDVTextHandler(AspectAttribute<C>.mc.core.domain.base.aspect.AspectAttribute.DVStrategyBase strategy) -
Method Summary
Modifier and TypeMethodDescriptionsetValueTOs(List<DataValueTO> dataValueTOs) Sets list of DataValueTOs together according to settingAspectAttribute.DVBaseHandler.setMultiValueAppend(boolean).Methods inherited from class mc.core.domain.base.aspect.AspectAttribute.DVBaseHandler
removeDataValueSet, removeEnumValue, removeValue, removeValue, setCreateStdValues, setDataValueSet, setEntityToAttribute, setEnumValue, setFromString, setFromString, setLocale, setMultiValueAppend, setMultiValues, setMultiValueSplitChars, setPrio, setPrioValue, setRemoveEmptyValues, setTerritory, setTrimValues, setValue, setValue, setValues, toValueDisplayMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface mc.core.domain.base.aspect.AspectAttribute.DataValueHandler
instance
-
Constructor Details
-
DVTextHandler
public DVTextHandler(AspectAttribute<C>.mc.core.domain.base.aspect.AspectAttribute.DVStrategyBase strategy)
-
-
Method Details
-
setValueTOs
public AspectAttribute<C>.DVTextHandler setValueTOs(List<DataValueTO> dataValueTOs) throws mc.core.system.validation.ValidationException Description copied from class:AspectAttribute.DVBaseHandlerSets list of DataValueTOs together according to settingAspectAttribute.DVBaseHandler.setMultiValueAppend(boolean). It is assumed that dataValues are of same locale and territory and validity if given. If a value is specified to be edited by setting e2aId this is ignored. Any special settings for text pool, e.g. correction or providing test set are ignored.- Overrides:
setValueTOsin classAspectAttribute<C extends ComplexEntity>.DVBaseHandler<DVText,String, AspectAttribute<C extends ComplexEntity>.DVTextHandler> - Parameters:
dataValueTOs- mandatory. If empty andAspectAttribute.DVBaseHandler.removeEmptyValuesis true remove values in content locale.- Throws:
mc.core.system.validation.ValidationException- See Also:
-
#setValueTO(DataValueTO)
-
setValue
public AspectAttribute<C>.DVTextHandler setValue(String value, Locale locale) throws mc.core.system.validation.ValidationException - Throws:
mc.core.system.validation.ValidationException
-
setValues
public AspectAttribute<C>.DVTextHandler setValues(List<String> values, Locale locale) throws mc.core.system.validation.ValidationException - Throws:
mc.core.system.validation.ValidationException
-