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

GroupDTO class.

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

Constructor Summary
GroupDTO()
           
 
Method Summary
 List<?> getAuthorities()
          Getter for the field authorities.
 Boolean getEmptyUsers()
          Getter for the field emptyUsers.
 List<GroupView> getGroups()
          Getter for the field groups.
 Integer getId()
          Getter for the field id.
 String getName()
          Getter for the field name.
 boolean hasAuthorities()
          hasAuthorities
 boolean hasGroups()
          hasGroups
 boolean isNew()
          isNew
 void setAuthorities(List<?> items)
          Setter for the field authorities.
 void setEmptyUsers(Boolean usersEmpty)
          Setter for the field emptyUsers.
 void setGroups(List<GroupView> groups)
          Setter for the field groups.
 void setId(Integer id)
          Setter for the field id.
 void setName(String name)
          Setter for the field 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()

Getter for the field name.

Specified by:
getName in interface GroupView
Returns:
a String object.

setName

public void setName(String name)

Setter for the field name.

Parameters:
name - a String object.

getId

public Integer getId()

Getter for the field id.

Specified by:
getId in interface GroupView
Returns:
a Integer object.

setId

public void setId(Integer id)

Setter for the field id.

Parameters:
id - a Integer object.

isNew

public boolean isNew()

isNew

Returns:
a boolean.

hasAuthorities

public boolean hasAuthorities()

hasAuthorities

Returns:
a boolean.

hasGroups

public boolean hasGroups()

hasGroups

Returns:
a boolean.

setAuthorities

public void setAuthorities(List<?> items)

Setter for the field authorities.

Parameters:
items - a List object.

getAuthorities

public List<?> getAuthorities()

Getter for the field authorities.

Returns:
a List object.

getEmptyUsers

public Boolean getEmptyUsers()

Getter for the field emptyUsers.

Specified by:
getEmptyUsers in interface GroupView
Returns:
a Boolean object.

setEmptyUsers

public void setEmptyUsers(Boolean usersEmpty)

Setter for the field emptyUsers.

Parameters:
usersEmpty - a Boolean object.

getGroups

public List<GroupView> getGroups()

Getter for the field groups.

Specified by:
getGroups in interface GroupView
Returns:
a List object.

setGroups

public void setGroups(List<GroupView> groups)

Setter for the field groups.

Parameters:
groups - a List object.


Copyright © 2011. All Rights Reserved.