public final class Category extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Category.Location |
Constructor and Description |
---|
Category(CategoryId id,
String name) |
Category(CategoryId id,
String name,
Category.Location location) |
Category(CategoryId id,
String name,
Category.Location location,
boolean onByDefault) |
Category(CategoryId id,
String name,
Category.Location location,
boolean onByDefault,
String tabName) |
Modifier and Type | Method and Description |
---|---|
CategoryId |
getId() |
Category.Location |
getLocation() |
String |
getName() |
String |
getTabName() |
boolean |
isDefaultOff()
Checks whether the category has been turned off
by default by the category author.
|
String |
toString() |
public Category(CategoryId id, String name)
public Category(CategoryId id, String name, Category.Location location)
public Category(CategoryId id, String name, Category.Location location, boolean onByDefault)
public Category(CategoryId id, String name, Category.Location location, boolean onByDefault, String tabName)
@NotNull public CategoryId getId()
@NotNull public String getName()
@Nullable public String getTabName()
public boolean isDefaultOff()
public Category.Location getLocation()