public class AccountTypeDetails
extends java.lang.Object
Constructor and Description |
---|
AccountTypeDetails(int category,
int context,
java.lang.String label,
java.lang.String icon)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
getCategory() |
int |
getContext() |
java.lang.String |
getIcon() |
java.lang.String |
getLabel() |
void |
setCategory(int category) |
void |
setContext(int context) |
void |
setIcon(java.lang.String icon) |
void |
setLabel(java.lang.String label) |
public AccountTypeDetails(int category, int context, java.lang.String label, java.lang.String icon)
category
- Use InfraAccountTypes.CAT_COMPUTING, InfraAccountTypes.CAT_STORAGE, InfraAccountTypes.CAT_NETWORK,
InfraAccountTypes.CAT_OTHERS.context
- Use a valid report context's type.label
- The string to show in UI for this account type.icon
- This should be a relative url path to the icon for this account type. Something like:
/app/images/icons/kubrick/Device_group_1211_16.pngpublic java.lang.String getIcon()
public void setIcon(java.lang.String icon)
public int getCategory()
public void setCategory(int category)
public int getContext()
public void setContext(int context)
public java.lang.String getLabel()
public void setLabel(java.lang.String label)