public class CustomTool extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
iconUrl |
protected int |
id |
protected String |
key |
protected Map<String,String> |
name |
protected boolean |
newtab |
protected String |
toolUrl |
Constructor and Description |
---|
CustomTool() |
Modifier and Type | Method and Description |
---|---|
String |
getIconUrl()
Optional icon URL
|
int |
getId()
Internal ID
|
String |
getKey()
Unique key of the tool
|
Map<String,String> |
getName()
Name of the Tool in english and german
|
String |
getToolUrl()
Tool URL
|
boolean |
isNewtab()
True if the tool shall be opened in a new tab
|
CustomTool |
setIconUrl(String iconUrl)
Set icon URL
|
CustomTool |
setId(int id)
Set the internal ID
|
CustomTool |
setKey(String key)
Set the key
|
CustomTool |
setName(Map<String,String> name)
Set the name in english and german
|
CustomTool |
setNewtab(boolean newtab)
Set newtab flag
|
CustomTool |
setToolUrl(String toolUrl)
Set Tool URL
|
String |
toString() |
protected int id
protected String key
protected String toolUrl
protected String iconUrl
protected boolean newtab
public int getId()
public CustomTool setId(int id)
id
- IDpublic String getKey()
public CustomTool setKey(String key)
key
- keypublic Map<String,String> getName()
public CustomTool setName(Map<String,String> name)
name
- name mappublic String getToolUrl()
public CustomTool setToolUrl(String toolUrl)
toolUrl
- tool URLpublic String getIconUrl()
public CustomTool setIconUrl(String iconUrl)
iconUrl
- icon URLpublic boolean isNewtab()
public CustomTool setNewtab(boolean newtab)
newtab
- true for new tabCopyright © 2024 Gentics Software. All rights reserved.