org.itracker.model
Class CustomFieldValue
java.lang.Object
org.itracker.model.AbstractEntity
org.itracker.model.CustomFieldValue
- All Implemented Interfaces:
- Serializable, Cloneable, Comparable<Entity>, Entity
public class CustomFieldValue
- extends AbstractEntity
An option for the value of a CustomField of type LIST.
- Author:
- ready, johnny
- See Also:
- Serialized Form
| Methods inherited from class org.itracker.model.AbstractEntity |
clone, compareTo, equals, getCreateDate, getId, getLastModifiedDate, hashCode, isNew, setCreateDate, setId, setLastModifiedDate |
NAME_COMPARATOR
public static final Comparator<CustomFieldValue> NAME_COMPARATOR
SORT_ORDER_COMPARATOR
public static final Comparator<CustomFieldValue> SORT_ORDER_COMPARATOR
CustomFieldValue
public CustomFieldValue()
- Default constructor (required by Hibernate).
PENDING: should be private so that it can only be used by
Hibernate, to ensure that the fields which form an instance's identity
are always initialized/never null.
CustomFieldValue
public CustomFieldValue(CustomField customField,
String value)
- Parameters:
customField - value -
getCustomField
public CustomField getCustomField()
setCustomField
public void setCustomField(CustomField customField)
getValue
public String getValue()
setValue
public void setValue(String value)
- Parameters:
value -
getSortOrder
public int getSortOrder()
setSortOrder
public void setSortOrder(int sortOrder)
toString
public String toString()
- Returns a string with this instance's id and natural key.
- Overrides:
toString in class Object
Copyright © 2002-2012 itracker. All Rights Reserved.