org.squashtest.tm.domain.customfield
Class CustomFieldValue

java.lang.Object
  extended by org.squashtest.tm.domain.customfield.CustomFieldValue
All Implemented Interfaces:
Identified

@Entity
public class CustomFieldValue
extends Object
implements Identified


Constructor Summary
CustomFieldValue()
           
CustomFieldValue(Long boundEntityId, BindableEntity boundEntityType, CustomFieldBinding binding, String value)
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CustomFieldValue

public CustomFieldValue()

CustomFieldValue

public CustomFieldValue(Long boundEntityId,
                        BindableEntity boundEntityType,
                        CustomFieldBinding binding,
                        String value)
Method Detail

getId

public Long getId()
Specified by:
getId in interface Identified

setId

public void setId(Long id)

getValue

public String getValue()

setValue

public void setValue(String value)

getBinding

public CustomFieldBinding getBinding()

getCustomField

public CustomField getCustomField()

setBinding

public void setBinding(CustomFieldBinding binding)

getBoundEntityId

public Long getBoundEntityId()

getBoundEntityType

public BindableEntity getBoundEntityType()

setBoundEntity

public void setBoundEntity(BoundEntity entity)

copy

public CustomFieldValue copy()

representsSameBinding

public boolean representsSameBinding(CustomFieldValue otherValue)

representsSameCustomField

public boolean representsSameCustomField(CustomFieldValue otherValue)

getValueAsDate

public Date getValueAsDate()


Copyright © 2010-2013 Henix, henix.fr. All Rights Reserved.