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 java.lang.Object implements SeveritySupplier
-
-
Constructor Summary
Constructors Constructor Description StatusDTO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Integer
getId()
java.lang.String
getName()
OnmsSeverity
getSeverity()
void
setId(java.lang.Integer id)
void
setName(java.lang.String name)
void
setSeverity(OnmsSeverity severity)
-
-
-
Method Detail
-
getSeverity
public OnmsSeverity getSeverity()
- Specified by:
getSeverity
in interfaceSeveritySupplier
-
getId
public java.lang.Integer getId()
-
setId
public void setId(java.lang.Integer id)
-
getName
public java.lang.String getName()
-
setName
public void setName(java.lang.String name)
-
setSeverity
public void setSeverity(OnmsSeverity severity)
-
-