@Entity public class CustomFieldValue extends Object implements Identified, SingleValuedCustomFieldValue
| Modifier and Type | Field and Description |
|---|---|
protected CustomFieldBinding |
binding |
protected Long |
boundEntityId |
protected BindableEntity |
boundEntityType |
static int |
MAX_SIZE |
protected String |
value |
| Constructor and Description |
|---|
CustomFieldValue() |
CustomFieldValue(Long boundEntityId,
BindableEntity boundEntityType,
CustomFieldBinding binding,
String value) |
| Modifier and Type | Method and Description |
|---|---|
RawValue |
asRawValue() |
CustomFieldValue |
copy() |
CustomFieldBinding |
getBinding() |
Long |
getBoundEntityId() |
BindableEntity |
getBoundEntityType() |
CustomField |
getCustomField() |
Long |
getId() |
String |
getValue() |
Date |
getValueAsDate() |
boolean |
representsSameBinding(CustomFieldValue otherValue) |
boolean |
representsSameCustomField(CustomFieldValue otherValue) |
void |
setBinding(CustomFieldBinding binding) |
void |
setBoundEntity(BoundEntity entity) |
void |
setId(Long id) |
void |
setValue(String value) |
public static final int MAX_SIZE
protected Long boundEntityId
protected BindableEntity boundEntityType
protected CustomFieldBinding binding
@Size(min=0,
max=255)
protected String value
public CustomFieldValue()
public CustomFieldValue(Long boundEntityId, BindableEntity boundEntityType, CustomFieldBinding binding, String value)
public Long getId()
getId in interface Identifiedpublic void setId(Long id)
public String getValue()
getValue in interface SingleValuedCustomFieldValuepublic void setValue(String value)
setValue in interface SingleValuedCustomFieldValuepublic CustomFieldBinding getBinding()
public CustomField getCustomField()
public void setBinding(CustomFieldBinding binding)
public Long getBoundEntityId()
public BindableEntity getBoundEntityType()
public void setBoundEntity(BoundEntity entity)
public CustomFieldValue copy()
public boolean representsSameBinding(CustomFieldValue otherValue)
public boolean representsSameCustomField(CustomFieldValue otherValue)
public Date getValueAsDate()
public RawValue asRawValue()
asRawValue in interface SingleValuedCustomFieldValueCopyright © 2010-2015 Henix, henix.fr. All Rights Reserved.