com.jrockit.mc.flightrecorder.provider
Class ReferenceField

java.lang.Object
  extended by com.jrockit.mc.flightrecorder.provider.Field
      extended by com.jrockit.mc.flightrecorder.provider.ReferenceField
All Implemented Interfaces:
IField

public final class ReferenceField
extends Field

Field that can reference a value in another event Typically used when creating aggregated events.

Author:
Erik Gahlin

Constructor Summary
ReferenceField(IEventType type, java.lang.String id, IField valueField, IField eventField)
           
 
Method Summary
 java.lang.Object getValue(IEvent event)
          Returns a field value for an event
 
Methods inherited from class com.jrockit.mc.flightrecorder.provider.Field
equals, getContentType, getDescription, getEventTypePath, getIdentifier, getName, getPropertyKeys, getPropertyValue, getRelationalKey, getType, hashCode, isRelational, isSynthetic, isVisible, setContentType, setDescription, setFieldType, setName, setPath, setProperty, setRelationalKey, setSynthetic, setVisible
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReferenceField

public ReferenceField(IEventType type,
                      java.lang.String id,
                      IField valueField,
                      IField eventField)
Method Detail

getValue

public java.lang.Object getValue(IEvent event)
Description copied from interface: IField
Returns a field value for an event

Specified by:
getValue in interface IField
Specified by:
getValue in class Field
Parameters:
event - the event
Returns:
value the value


Copyright © 1999, 2011, Oracle and/or its affiliates. All rights reserved.