|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.squashtest.tm.domain.denormalizedfield.DenormalizedFieldValue
@Entity public class DenormalizedFieldValue
| Constructor Summary | |
|---|---|
protected |
DenormalizedFieldValue()
For ORM purposes. |
|
DenormalizedFieldValue(CustomFieldValue customFieldValue,
int newBindingPosition,
Long denormalizedFieldHolderId,
DenormalizedFieldHolderType denormalizedFieldHolderType)
Will create a DenormalizedFieldValue with the value param. |
|
DenormalizedFieldValue(CustomFieldValue customFieldValue,
Long denormalizedFieldHolderId,
DenormalizedFieldHolderType denormalizedFieldHolderType)
Copies the attributes of the given customFieldValue and it's associated customField and customFieldBinding |
|
DenormalizedFieldValue(String value,
CustomFieldBinding binding,
Long denormalizedFieldHolderId,
DenormalizedFieldHolderType denormalizedFieldHolderType)
Create DenormalizedFieldValue with value param. |
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected DenormalizedFieldValue()
public DenormalizedFieldValue(CustomFieldValue customFieldValue,
Long denormalizedFieldHolderId,
DenormalizedFieldHolderType denormalizedFieldHolderType)
customFieldValue - : must be bound to it's customFielddenormalizedFieldHolderId - denormalizedFieldHolderType -
public DenormalizedFieldValue(String value,
CustomFieldBinding binding,
Long denormalizedFieldHolderId,
DenormalizedFieldHolderType denormalizedFieldHolderType)
value - binding - denormalizedFieldHolderId - denormalizedFieldHolderType -
public DenormalizedFieldValue(CustomFieldValue customFieldValue,
int newBindingPosition,
Long denormalizedFieldHolderId,
DenormalizedFieldHolderType denormalizedFieldHolderType)
customFieldValue - newBindingPosition - denormalizedFieldHolderId - denormalizedFieldHolderType - | Method Detail |
|---|
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)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||