public class MockIssueConstant extends Object implements IssueConstant
Constructor and Description |
---|
MockIssueConstant(org.ofbiz.core.entity.GenericValue genericValue) |
MockIssueConstant(String id,
String name) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Object o) |
void |
deleteTranslation(String issueConstantPrefix,
Locale locale) |
boolean |
equals(Object o) |
String |
getCompleteIconUrl()
Returns the url for the icon with the context path added if necessary.
|
String |
getDescription() |
String |
getDescTranslation() |
String |
getDescTranslation(I18nHelper i18n) |
String |
getDescTranslation(String locale) |
org.ofbiz.core.entity.GenericValue |
getGenericValue() |
String |
getIconUrl() |
String |
getIconUrlHtml()
Returns the HTML-escaped URL for this issue constant.
|
String |
getId() |
String |
getName() |
String |
getNameTranslation() |
String |
getNameTranslation(I18nHelper i18n) |
String |
getNameTranslation(String locale) |
com.opensymphony.module.propertyset.PropertySet |
getPropertySet() |
Long |
getSequence() |
int |
hashCode() |
void |
setDescription(String description) |
void |
setIconUrl(String iconURL) |
void |
setName(String name) |
void |
setSequence(Long sequence) |
MockIssueConstant |
setTranslatedName(String translatedName) |
void |
setTranslation(String translatedName,
String translatedDesc,
String issueConstantPrefix,
Locale locale) |
String |
toString() |
MockIssueConstant |
url(String url) |
public MockIssueConstant(org.ofbiz.core.entity.GenericValue genericValue)
public org.ofbiz.core.entity.GenericValue getGenericValue()
getGenericValue
in interface IssueConstant
public String getId()
getId
in interface IssueConstant
public String getName()
getName
in interface IssueConstant
public void setName(String name)
setName
in interface IssueConstant
public String getDescription()
getDescription
in interface IssueConstant
public void setDescription(String description)
setDescription
in interface IssueConstant
public Long getSequence()
getSequence
in interface IssueConstant
public void setSequence(Long sequence)
setSequence
in interface IssueConstant
public String getCompleteIconUrl()
IssueConstant
getCompleteIconUrl
in interface IssueConstant
public String getIconUrl()
getIconUrl
in interface IssueConstant
public String getIconUrlHtml()
IssueConstant
getIconUrlHtml
in interface IssueConstant
IssueConstant.getIconUrl()
public void setIconUrl(String iconURL)
setIconUrl
in interface IssueConstant
public MockIssueConstant url(String url)
public String getNameTranslation()
getNameTranslation
in interface IssueConstant
public MockIssueConstant setTranslatedName(String translatedName)
public String getDescTranslation()
getDescTranslation
in interface IssueConstant
public String getNameTranslation(String locale)
getNameTranslation
in interface IssueConstant
public String getDescTranslation(String locale)
getDescTranslation
in interface IssueConstant
public String getNameTranslation(I18nHelper i18n)
getNameTranslation
in interface IssueConstant
public String getDescTranslation(I18nHelper i18n)
getDescTranslation
in interface IssueConstant
public void setTranslation(String translatedName, String translatedDesc, String issueConstantPrefix, Locale locale)
setTranslation
in interface IssueConstant
public void deleteTranslation(String issueConstantPrefix, Locale locale)
deleteTranslation
in interface IssueConstant
public com.opensymphony.module.propertyset.PropertySet getPropertySet()
getPropertySet
in interface IssueConstant
public int compareTo(Object o)
compareTo
in interface Comparable
Copyright © 2002-2016 Atlassian. All Rights Reserved.