Method Summary |
|
public AttributeValue | copy() |
public boolean | equals(Object obj) |
public Activity | getActivity() Gets the Activity record associated with this AttributeValue
It can only be retrieved after the save() method has been called
since that is when it is generated. |
public AttributeOption | getAttributeOption() |
public AttributeValue | getChainedValue() Get the value of chainedValue. |
public static AttributeValue | getNewInstance(RModuleAttribute rma, Issue issue) Creates, initializes and returns a new AttributeValue. |
public static AttributeValue | getNewInstance(Integer attId, Issue issue) Creates, initializes and returns a new AttributeValue. |
public static synchronized AttributeValue | getNewInstance(Attribute attribute, Issue issue) Creates, initializes and returns a new AttributeValue. |
public String | getOptionIdAsString() |
public Integer[] | getOptionIds() |
public String | getQueryKey() |
public RModuleAttribute | getRModuleAttribute() |
public Integer[] | getUserIds() |
public List | getValueList() This method returns a flat List of all AttributeValues that might
be chained to this one. |
public int | hashCode() |
abstract public void | init() Override this method if you need any initialization for this attr. |
public boolean | isQuickSearchAttribute() if the Attribute related to this value is marked as relevant
to quick search in the module related to the Issue
related to this value. |
public boolean | isRequired() |
public boolean | isSet() |
abstract protected Object | loadResources() Loads from database data specific for this Attribute including Name. |
public void | save(Connection dbcon) |
public void | setActivity(Activity activity) |
public void | setActivityDescription(String string) Allows you to override the description for
the activity that is generated when this attributevalue
is saved. |
public void | setAttributeId(Integer nk) sets the AttributeId for this as well as any chained values. |
public void | setChainedValue(AttributeValue v) Set the value of chainedValue. |
public void | setIssueId(Long nk) sets the IssueId for this as well as any chained values. |
public void | setNumericValue(Integer v) |
public void | setOptionId(Integer optionId) |
protected void | setOptionIdOnly(Integer optionId) |
public void | setOptionIds(Integer[] ids) |
public void | setProperties(AttributeValue attVal1) |
abstract protected void | setResources(Object resources) This method is used by an Attribute instance to obtain
specific resources such as option list for SelectOneAttribute.
It may, for example put them into instance variables. |
public void | setUserId(Integer userId) |
protected void | setUserIdOnly(Integer value) |
public void | setUserIds(Integer[] ids) |
public void | setValue(String value) |
protected void | setValueOnly(String value) |
public void | startActivitySet(ActivitySet activitySet) Enters this attribute value into a activitySet. |
public boolean | supportsVoting() |
public String | toString() |