org.squashtest.csp.tm.domain.customfield
Class CustomFieldBinding

java.lang.Object
  extended by org.squashtest.csp.tm.domain.customfield.CustomFieldBinding

@Entity
public class CustomFieldBinding
extends Object

Defines the binding of a CustomField to instances of BindableEntitys contained in a Project

Author:
Gregory Fouquet

Nested Class Summary
static class CustomFieldBinding.PositionAwareBindingList
          In case you wonder : NOT THREAD SAFE !
 
Constructor Summary
CustomFieldBinding()
           
 
Method Summary
 CustomFieldValue createNewValue()
           
 BindableEntity getBoundEntity()
           
 GenericProject getBoundProject()
           
 CustomField getCustomField()
           
 Long getId()
           
 int getPosition()
           
 Set<RenderingLocation> getRenderingLocations()
           
 void setBoundEntity(BindableEntity boundEntity)
           
 void setBoundProject(GenericProject boundProject)
           
 void setCustomField(CustomField customField)
           
 void setPosition(int position)
           
 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

CustomFieldBinding

public CustomFieldBinding()
Method Detail

getRenderingLocations

public Set<RenderingLocation> getRenderingLocations()
Returns:
the renderingLocations

getCustomField

public CustomField getCustomField()

setCustomField

public void setCustomField(CustomField customField)

getBoundEntity

public BindableEntity getBoundEntity()

setBoundEntity

public void setBoundEntity(BindableEntity boundEntity)

getBoundProject

public GenericProject getBoundProject()

setBoundProject

public void setBoundProject(GenericProject boundProject)

getId

public Long getId()

setRenderingLocations

public void setRenderingLocations(Set<RenderingLocation> renderingLocations)

getPosition

public int getPosition()

setPosition

public void setPosition(int position)

createNewValue

public CustomFieldValue createNewValue()


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