Class StatusDTO
- java.lang.Object
-
- org.opennms.web.rest.v2.status.model.StatusDTO
-
- All Implemented Interfaces:
SeveritySupplier
- Direct Known Subclasses:
ApplicationDTO
,BusinessServiceDTO
,NodeDTO
public class StatusDTO extends Object implements SeveritySupplier
-
-
Constructor Summary
Constructors Constructor Description StatusDTO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Integer
getId()
String
getName()
OnmsSeverity
getSeverity()
void
setId(Integer id)
void
setName(String name)
void
setSeverity(OnmsSeverity severity)
-
-
-
Method Detail
-
getSeverity
public OnmsSeverity getSeverity()
- Specified by:
getSeverity
in interfaceSeveritySupplier
-
getId
public Integer getId()
-
setId
public void setId(Integer id)
-
getName
public String getName()
-
setName
public void setName(String name)
-
setSeverity
public void setSeverity(OnmsSeverity severity)
-
-