org.opennms.acl.model
Class AuthorityDTO

java.lang.Object
  extended by org.opennms.acl.model.AuthorityDTO
All Implemented Interfaces:
AuthorityView

public class AuthorityDTO
extends Object
implements AuthorityView

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

Constructor Summary
AuthorityDTO()
           
 
Method Summary
 String getDescription()
           
 Integer getId()
           
 List<?> getItems()
           
 String getName()
           
 boolean hasItems()
           
 boolean isNew()
           
 void setDescription(String description)
           
 void setId(Integer id)
           
 void setItems(List<?> items)
           
 void setName(String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthorityDTO

public AuthorityDTO()
Method Detail

getName

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

getId

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

setName

public void setName(String value)

setId

public void setId(Integer id)

isNew

public boolean isNew()

hasItems

public boolean hasItems()

getItems

public List<?> getItems()
Specified by:
getItems in interface AuthorityView
Returns:
List of items managed by this authority

setItems

public void setItems(List<?> items)

getDescription

public String getDescription()
Specified by:
getDescription in interface AuthorityView
Returns:
Description of the Authority

setDescription

public void setDescription(String description)


Copyright © 2009. All Rights Reserved.