com.atlassian.jira.issue
Class MockIssueConstant
java.lang.Object
com.atlassian.jira.issue.MockIssueConstant
- All Implemented Interfaces:
- IssueConstant, Comparable
- Direct Known Subclasses:
- MockIssueType, MockStatus
public class MockIssueConstant
- extends Object
- implements IssueConstant
- Since:
- v3.13
MockIssueConstant
public MockIssueConstant(org.ofbiz.core.entity.GenericValue genericValue)
MockIssueConstant
public MockIssueConstant(String id,
String name)
getGenericValue
public org.ofbiz.core.entity.GenericValue getGenericValue()
- Specified by:
getGenericValue
in interface IssueConstant
getId
public String getId()
- Specified by:
getId
in interface IssueConstant
getName
public String getName()
- Specified by:
getName
in interface IssueConstant
setName
public void setName(String name)
- Specified by:
setName
in interface IssueConstant
getDescription
public String getDescription()
- Specified by:
getDescription
in interface IssueConstant
setDescription
public void setDescription(String description)
- Specified by:
setDescription
in interface IssueConstant
getSequence
public Long getSequence()
- Specified by:
getSequence
in interface IssueConstant
setSequence
public void setSequence(Long sequence)
- Specified by:
setSequence
in interface IssueConstant
getIconUrl
public String getIconUrl()
- Specified by:
getIconUrl
in interface IssueConstant
getIconUrlHtml
public String getIconUrlHtml()
- Description copied from interface:
IssueConstant
- Returns the HTML-escaped URL for this issue constant.
- Specified by:
getIconUrlHtml
in interface IssueConstant
- Returns:
- a String containing an HTML-escaped icon URL
- See Also:
IssueConstant.getIconUrl()
setIconUrl
public void setIconUrl(String iconURL)
- Specified by:
setIconUrl
in interface IssueConstant
getNameTranslation
public String getNameTranslation()
- Specified by:
getNameTranslation
in interface IssueConstant
getDescTranslation
public String getDescTranslation()
- Specified by:
getDescTranslation
in interface IssueConstant
getNameTranslation
public String getNameTranslation(String locale)
- Specified by:
getNameTranslation
in interface IssueConstant
getDescTranslation
public String getDescTranslation(String locale)
- Specified by:
getDescTranslation
in interface IssueConstant
getNameTranslation
public String getNameTranslation(I18nHelper i18n)
- Specified by:
getNameTranslation
in interface IssueConstant
getDescTranslation
public String getDescTranslation(I18nHelper i18n)
- Specified by:
getDescTranslation
in interface IssueConstant
setTranslation
public void setTranslation(String translatedName,
String translatedDesc,
String issueConstantPrefix,
Locale locale)
- Specified by:
setTranslation
in interface IssueConstant
deleteTranslation
public void deleteTranslation(String issueConstantPrefix,
Locale locale)
- Specified by:
deleteTranslation
in interface IssueConstant
getPropertySet
public com.opensymphony.module.propertyset.PropertySet getPropertySet()
- Specified by:
getPropertySet
in interface IssueConstant
compareTo
public int compareTo(Object o)
- Specified by:
compareTo
in interface Comparable
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2002-2012 Atlassian. All Rights Reserved.