@Entity public class DenormalizedFieldValue extends Object
| Modifier and Type | Field and Description |
|---|---|
protected String |
code |
protected CustomFieldValue |
customFieldValue |
protected Long |
denormalizedFieldHolderId |
protected DenormalizedFieldHolderType |
denormalizedFieldHolderType |
protected Long |
id |
protected InputType |
inputType |
protected String |
label |
protected int |
position |
protected Set<RenderingLocation> |
renderingLocations |
protected String |
value |
| Modifier | Constructor and Description |
|---|---|
protected |
DenormalizedFieldValue()
For ORM purposes.
|
|
DenormalizedFieldValue(CustomFieldValue customFieldValue,
Long denormalizedFieldHolderId,
DenormalizedFieldHolderType denormalizedFieldHolderType)
Copies the attributes of the given customFieldValue and it's associated customField and customFieldBinding
|
| Modifier and Type | Method and Description |
|---|---|
void |
accept(DenormalizedFieldVisitor visitor) |
String |
getCode() |
CustomFieldValue |
getCustomFieldValue() |
Long |
getDenormalizedFieldHolderId() |
DenormalizedFieldHolderType |
getDenormalizedFieldHolderType() |
Long |
getId() |
InputType |
getInputType() |
String |
getLabel() |
int |
getPosition() |
Set<RenderingLocation> |
getRenderingLocations() |
String |
getValue() |
Date |
getValueAsDate()
Return the value as a Date or
null if the input type is not Date-picker and if the parsing can't be
done. |
void |
setRenderingLocations(Set<RenderingLocation> renderingLocations) |
void |
setValue(String value) |
protected Long id
protected CustomFieldValue customFieldValue
@NotBlank
@Size(min=1,
max=30)
@Pattern(regexp="^[A-Za-z0-9_^;]*$")
protected String code
protected Long denormalizedFieldHolderId
protected DenormalizedFieldHolderType denormalizedFieldHolderType
@NotNull protected InputType inputType
@NotBlank @Size(max=255) protected String label
protected int position
@Size(min=0,
max=255)
protected String value
protected Set<RenderingLocation> renderingLocations
protected DenormalizedFieldValue()
public DenormalizedFieldValue(CustomFieldValue customFieldValue, Long denormalizedFieldHolderId, DenormalizedFieldHolderType denormalizedFieldHolderType)
customFieldValue - : must be bound to it's customFielddenormalizedFieldHolderId - denormalizedFieldHolderType - public Long getId()
public CustomFieldValue getCustomFieldValue()
public String getCode()
public Long getDenormalizedFieldHolderId()
public DenormalizedFieldHolderType getDenormalizedFieldHolderType()
public InputType getInputType()
public String getLabel()
public int getPosition()
public String getValue()
public Date getValueAsDate()
null if the input type is not Date-picker and if the parsing can't be
done.Date or null in case of ParseException and wrong input-typepublic Set<RenderingLocation> getRenderingLocations()
public void setRenderingLocations(Set<RenderingLocation> renderingLocations)
public void accept(DenormalizedFieldVisitor visitor)
public void setValue(String value)
Copyright © 2010–2016 Henix, henix.fr. All rights reserved.