org.openmdx.base.accessor.generic.cci
Class Records

java.lang.Object
  extended by org.openmdx.base.accessor.generic.cci.Records

public class Records
extends Object

Records

Since:
openMDX 2.0

Method Summary
static Interaction getInteraction(Object object)
          Retrieve the Object's Interaction interface
static RecordFactory getRecordFactory(Object object)
          Retrieve the Object's RecordFactory
static Object getUserObject(Object key)
          Get the value for the specified key from the map of user objects.
static Object putUserObject(Object key, Object val)
          Put the specified key-value pair into the map of user objects.
static Object removeUserObject(Object key)
          Remove the specified key and its value from the map of user objects.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInteraction

public static Interaction getInteraction(Object object)
Retrieve the Object's Interaction interface

Returns:
the Object's Interaction interface if it is an instance of InteractionCapable; null otherwise.

getRecordFactory

public static RecordFactory getRecordFactory(Object object)
Retrieve the Object's RecordFactory

Returns:
the Object's RecordFactory or null if there is none.

putUserObject

public static Object putUserObject(Object key,
                                   Object val)
Put the specified key-value pair into the map of user objects.


getUserObject

public static Object getUserObject(Object key)
Get the value for the specified key from the map of user objects.

Parameters:
key - the key of the object to be returned
Returns:
the object

removeUserObject

public static Object removeUserObject(Object key)
Remove the specified key and its value from the map of user objects.

Parameters:
key - the key of the object to be removed
Since:
2.0


This software is published under the BSD license. Copyright © 2003-2007, OMEX AG, Switzerland, All rights reserved. Use is subject to license terms.