Package org.opennms.netmgt.config.groups
Class Role
- java.lang.Object
-
- org.opennms.netmgt.config.groups.Role
-
- All Implemented Interfaces:
java.io.Serializable
public class Role extends java.lang.Object implements java.io.Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Role()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addSchedule(Schedule schedule)
void
clearSchedules()
boolean
equals(java.lang.Object obj)
java.util.Optional<java.lang.String>
getDescription()
java.lang.String
getMembershipGroup()
java.lang.String
getName()
java.util.List<Schedule>
getSchedules()
java.lang.String
getSupervisor()
int
hashCode()
void
setDescription(java.lang.String description)
void
setMembershipGroup(java.lang.String membershipGroup)
void
setName(java.lang.String name)
void
setSchedules(java.util.List<Schedule> schedules)
void
setSupervisor(java.lang.String supervisor)
-
-
-
Method Detail
-
getName
public java.lang.String getName()
-
setName
public void setName(java.lang.String name)
-
getMembershipGroup
public java.lang.String getMembershipGroup()
-
setMembershipGroup
public void setMembershipGroup(java.lang.String membershipGroup)
-
getSupervisor
public java.lang.String getSupervisor()
-
setSupervisor
public void setSupervisor(java.lang.String supervisor)
-
getDescription
public java.util.Optional<java.lang.String> getDescription()
-
setDescription
public void setDescription(java.lang.String description)
-
getSchedules
public java.util.List<Schedule> getSchedules()
-
setSchedules
public void setSchedules(java.util.List<Schedule> schedules)
-
addSchedule
public void addSchedule(Schedule schedule)
-
clearSchedules
public void clearSchedules()
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-