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

AuthorityDTO class.

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

Constructor Summary
AuthorityDTO()
           
 
Method Summary
 String getDescription()
          Getter for the field description.
 Integer getId()
          Getter for the field id.
 List<?> getItems()
          Getter for the field items.
 String getName()
          Getter for the field name.
 boolean hasItems()
          hasItems
 boolean isNew()
          isNew
 void setDescription(String description)
          Setter for the field description.
 void setId(Integer id)
          Setter for the field id.
 void setItems(List<?> items)
          Setter for the field items.
 void setName(String value)
          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

AuthorityDTO

public AuthorityDTO()
Method Detail

getName

public String getName()

Getter for the field name.

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

getId

public Integer getId()

Getter for the field id.

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

setName

public void setName(String value)

Setter for the field name.

Parameters:
value - a String 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.

hasItems

public boolean hasItems()

hasItems

Returns:
a boolean.

getItems

public List<?> getItems()

Getter for the field items.

Specified by:
getItems in interface AuthorityView
Returns:
a List object.

setItems

public void setItems(List<?> items)

Setter for the field items.

Parameters:
items - a List object.

getDescription

public String getDescription()

Getter for the field description.

Specified by:
getDescription in interface AuthorityView
Returns:
a String object.

setDescription

public void setDescription(String description)

Setter for the field description.

Parameters:
description - a String object.


Copyright © 2011. All Rights Reserved.