org.opennms.acl.model
Class AuthorityDTO
java.lang.Object
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)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AuthorityDTO
public AuthorityDTO()
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.