@Entity public class CustomFieldValue extends Object implements Identified, SingleValuedCustomFieldValue
| Modifier and Type | Field and Description |
|---|---|
protected CustomFieldBinding |
binding |
protected Long |
boundEntityId |
protected BindableEntity |
boundEntityType |
protected Long |
cufId |
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 |
|---|---|
void |
accept(CustomFieldValueVisitor visitor) |
RawValue |
asRawValue() |
CustomFieldValue |
copy() |
CustomFieldBinding |
getBinding() |
Long |
getBoundEntityId() |
BindableEntity |
getBoundEntityType() |
Long |
getCufId() |
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 |
setCufId(Long cufId) |
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
protected Long cufId
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 Long getCufId()
public void setCufId(Long cufId)
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 SingleValuedCustomFieldValuepublic void accept(CustomFieldValueVisitor visitor)
Copyright © 2010–2016 Henix, henix.fr. All rights reserved.