org.opennms.acl.model
Class GroupDTO

java.lang.Object
  extended by org.opennms.acl.model.GroupDTO
All Implemented Interfaces:
GroupView

public class GroupDTO
extends Object
implements GroupView

Since:
jdk 1.5.0
Author:
Massimiliano Dessì (desmax74@yahoo.it)

Constructor Summary
GroupDTO()
           
 
Method Summary
 List<?> getAuthorities()
           
 Boolean getEmptyUsers()
           
 List<GroupView> getGroups()
           
 Integer getId()
           
 String getName()
           
 boolean hasAuthorities()
           
 boolean hasGroups()
           
 boolean isNew()
           
 void setAuthorities(List<?> items)
           
 void setEmptyUsers(Boolean usersEmpty)
           
 void setGroups(List<GroupView> groups)
           
 void setId(Integer id)
           
 void setName(String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GroupDTO

public GroupDTO()
Method Detail

getName

public String getName()
Specified by:
getName in interface GroupView
Returns:
Name of the Authority

setName

public void setName(String name)

getId

public Integer getId()
Specified by:
getId in interface GroupView
Returns:
Unique identifier

setId

public void setId(Integer id)

isNew

public boolean isNew()

hasAuthorities

public boolean hasAuthorities()

hasGroups

public boolean hasGroups()

setAuthorities

public void setAuthorities(List<?> items)

getAuthorities

public List<?> getAuthorities()

getEmptyUsers

public Boolean getEmptyUsers()
Specified by:
getEmptyUsers in interface GroupView

setEmptyUsers

public void setEmptyUsers(Boolean usersEmpty)

getGroups

public List<GroupView> getGroups()
Specified by:
getGroups in interface GroupView
Returns:
List of authorities contained in this group

setGroups

public void setGroups(List<GroupView> groups)


Copyright © 2009. All Rights Reserved.