com.centrasite.control.ext.diagnose.trace
Class TraceDurationAccessor

java.lang.Object
  extended by com.centrasite.control.discovery.AbstractPropertyAccessor
      extended by com.centrasite.control.discovery.ReadOnlyPropertyAccessor
          extended by com.centrasite.control.ext.diagnose.trace.TraceDurationAccessor
All Implemented Interfaces:
PropertyAccessor

public class TraceDurationAccessor
extends ReadOnlyPropertyAccessor


Field Summary
static java.lang.String rcs_id
           
 
Constructor Summary
TraceDurationAccessor(ShowTraceCommand.TraceReport report)
           
 
Method Summary
 java.lang.String getDisplayName(java.util.Locale locale)
          Obtain a localized display name for the property accessed using this PropertyAccessor
 java.lang.String getPropertyName()
          Obtain name of property being accessed via this accessor.
 java.lang.String getValue(Item item)
          Get value of property for given Item
 
Methods inherited from class com.centrasite.control.discovery.ReadOnlyPropertyAccessor
getReferencedItem, isReadOnly, setValue
 
Methods inherited from class com.centrasite.control.discovery.AbstractPropertyAccessor
editProperty, getActivatingMessage, getCommands, getDescription, getReferencedItem, getSelectReferencedItemDescriptor, isComplexProperty, isDateProperty, isIntProperty, isTextEditAllowed, selectReferencedItem
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

rcs_id

public static final java.lang.String rcs_id
See Also:
Constant Field Values
Constructor Detail

TraceDurationAccessor

public TraceDurationAccessor(ShowTraceCommand.TraceReport report)
Parameters:
report -
Method Detail

getPropertyName

public java.lang.String getPropertyName()
Description copied from interface: PropertyAccessor
Obtain name of property being accessed via this accessor.

Returns:
The string being returned is an internal string NOT being constructed by means of I18N infrastructure. It may be used internally for storing user-specific settings for example selected columns in a table. This selection should not depend on the language!

getDisplayName

public java.lang.String getDisplayName(java.util.Locale locale)
Description copied from class: AbstractPropertyAccessor
Obtain a localized display name for the property accessed using this PropertyAccessor

Specified by:
getDisplayName in interface PropertyAccessor
Overrides:
getDisplayName in class AbstractPropertyAccessor
Returns:
the localized display name

getValue

public java.lang.String getValue(Item item)
                          throws java.lang.Exception
Description copied from interface: PropertyAccessor
Get value of property for given Item

Throws:
java.lang.Exception