@Entity public class OnmsCategory extends Object implements Serializable, Comparable<OnmsCategory>
OnmsCategory class.
Constructor and Description |
---|
OnmsCategory()
default constructor
|
OnmsCategory(String name)
Constructor for OnmsCategory.
|
OnmsCategory(String name,
String descr)
Constructor for OnmsCategory.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(OnmsCategory o)
compareTo
|
boolean |
equals(Object obj) |
Set<String> |
getAuthorizedGroups()
getAuthorizedGroups
|
String |
getDescription()
getDescription
|
Integer |
getId()
getId
|
String |
getName()
getName
|
int |
hashCode()
hashCode
|
void |
setAuthorizedGroups(Set<String> authorizedGroups)
setAuthorizedGroups
|
void |
setDescription(String description)
setDescription
|
void |
setId(Integer id)
setId
|
void |
setName(String name)
setName
|
String |
toString()
toString
|
public OnmsCategory()
public void setDescription(String description)
setDescription
description
- a String
object.public Set<String> getAuthorizedGroups()
getAuthorizedGroups
Set
object.public void setAuthorizedGroups(Set<String> authorizedGroups)
setAuthorizedGroups
authorizedGroups
- a Set
object.public String toString()
toString
public int compareTo(OnmsCategory o)
compareTo
compareTo
in interface Comparable<OnmsCategory>
o
- a OnmsCategory
object.Copyright © 2021. All rights reserved.