org.openpermis.policy.bean.basic
Class BasicUtilities.DetailsProvider<T>

java.lang.Object
  extended by org.openpermis.policy.bean.basic.BasicUtilities.DetailsProvider<T>
Type Parameters:
T - the type of items processed.
Enclosing class:
BasicUtilities

public static class BasicUtilities.DetailsProvider<T>
extends Object

Provides string details about an item.

Since:
0.1.0

Constructor Summary
BasicUtilities.DetailsProvider()
           
 
Method Summary
 String details(T item)
          Returns the string details of the specified item.
protected  String provideDetails(T item)
          Provides the string details about the specified item.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicUtilities.DetailsProvider

public BasicUtilities.DetailsProvider()
Method Detail

provideDetails

protected String provideDetails(T item)
Provides the string details about the specified item.

The default implementation returns its Object.toString() value.

Parameters:
item - the item for which to provide details, never null.
Returns:
the details requested.
Since:
0.1.0

details

public final String details(T item)
Returns the string details of the specified item.

Parameters:
item - the item for which to provide details, may be null.
Returns:
the details requested.
Since:
0.1.0


OpenPermis Role Based Access Control 0.9.0 (Build 16)
2009/08/13 07:16:59
Copyright (c) 2002-2007 Ergon Informatik AG