@Entity public class TagsValue extends CustomFieldValue implements MultiValuedCustomFieldValue, CustomFieldVisitor
binding, boundEntityId, boundEntityType, cufId, MAX_SIZE, value| Constructor and Description |
|---|
TagsValue() |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(CustomFieldValueVisitor visitor) |
void |
addCUFieldValueOption(CustomFieldValueOption cufVO) |
RawValue |
asRawValue()
Returns the value as a RawValue.
|
CustomFieldValue |
copy() |
List<CustomFieldValueOption> |
getSelectedOptions()
Returns the selected options as a collection.
|
String |
getValue()
Returns the list of selected options as one concatenated string with ' ' as separator.
|
List<String> |
getValues()
Returns the selected options as String
|
void |
removeCUFValueOption(CustomFieldValueOption cufVO) |
void |
setSelectedOptions(List<CustomFieldValueOption> options)
Sets the value as a list of CustomFieldValueOption
|
void |
setValue(String value)
Deprecated.
|
void |
setValues(List<String> values)
Sets the value as a list of String.
|
void |
visit(CustomField standardValue) |
void |
visit(MultiSelectField multiselect) |
void |
visit(NumericField numericField) |
void |
visit(RichTextField richField) |
void |
visit(SingleSelectField selectField) |
getBinding, getBoundEntityId, getBoundEntityType, getCufId, getCustomField, getId, getValueAsDate, representsSameBinding, representsSameCustomField, setBinding, setBoundEntity, setCufId, setIdpublic List<CustomFieldValueOption> getSelectedOptions()
MultiValuedCustomFieldValuegetSelectedOptions in interface MultiValuedCustomFieldValuepublic void addCUFieldValueOption(CustomFieldValueOption cufVO)
public void removeCUFValueOption(CustomFieldValueOption cufVO)
public void setValues(List<String> values)
MultiValuedCustomFieldValuesetValues in interface MultiValuedCustomFieldValuepublic List<String> getValues()
MultiValuedCustomFieldValuegetValues in interface MultiValuedCustomFieldValuepublic String getValue()
MultiValuedCustomFieldValuegetValue in interface MultiValuedCustomFieldValuegetValue in interface SingleValuedCustomFieldValuegetValue in class CustomFieldValue@Deprecated public void setValue(String value)
setValue in interface SingleValuedCustomFieldValuesetValue in class CustomFieldValuepublic CustomFieldValue copy()
copy in class CustomFieldValuepublic RawValue asRawValue()
MultiValuedCustomFieldValueasRawValue in interface MultiValuedCustomFieldValueasRawValue in interface SingleValuedCustomFieldValueasRawValue in class CustomFieldValuepublic void setSelectedOptions(List<CustomFieldValueOption> options)
MultiValuedCustomFieldValuesetSelectedOptions in interface MultiValuedCustomFieldValuepublic void visit(SingleSelectField selectField)
visit in interface CustomFieldVisitorpublic void visit(CustomField standardValue)
visit in interface CustomFieldVisitorpublic void visit(RichTextField richField)
visit in interface CustomFieldVisitorpublic void visit(NumericField numericField)
visit in interface CustomFieldVisitorpublic void visit(MultiSelectField multiselect)
visit in interface CustomFieldVisitorpublic void accept(CustomFieldValueVisitor visitor)
accept in class CustomFieldValueCopyright © 2010–2016 Henix, henix.fr. All rights reserved.