org.squashtest.csp.tm.domain.customfield
Class CustomFieldOption
java.lang.Object
org.squashtest.csp.tm.domain.customfield.CustomFieldOption
@Embeddable
public class CustomFieldOption
- extends Object
Defines an option which can be selected among a list and set as a custom field's value.
- Author:
- Gregory Fouquet
CustomFieldOption
public CustomFieldOption(String label,
String code)
CustomFieldOption
protected CustomFieldOption()
- For Hibernate.
setLabel
public void setLabel(String label)
setCode
public void setCode(String code)
getLabel
public String getLabel()
- Returns:
- the label
getCode
public String getCode()
- Returns:
- the code
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
Copyright © 2010-2012 Henix, henix.fr. All Rights Reserved.