IBM Rational Software Modeler
Release 6.0

com.ibm.xtools.emf.query.conditions.numbers
Class NumberAdapter.LongAdapter

java.lang.Object
  extended bycom.ibm.xtools.emf.query.conditions.numbers.NumberAdapter
      extended bycom.ibm.xtools.emf.query.conditions.numbers.NumberAdapter.LongAdapter
Enclosing class:
NumberAdapter

public abstract static class NumberAdapter.LongAdapter
extends NumberAdapter

A subclass of NumberAdapter to be used to adapt an argument object to long values Clients can either use the default implemantation supplied or have their own.


Nested Class Summary
 
Nested classes inherited from class com.ibm.xtools.emf.query.conditions.numbers.NumberAdapter
NumberAdapter.ByteAdapter, NumberAdapter.DoubleAdapter, NumberAdapter.FloatAdapter, NumberAdapter.IntegerAdapter, NumberAdapter.LongAdapter, NumberAdapter.ShortAdapter
 
Field Summary
static NumberAdapter.LongAdapter DEFAULT
          The simplest LongAdapter implementation that represents the case when to argument object to adapt is a Long object itself.
 
Constructor Summary
NumberAdapter.LongAdapter()
           
 
Method Summary
abstract  long longValue(Object object)
          An adapting function whose responsible of extracting the long value of interest from an the argument object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT

public static final NumberAdapter.LongAdapter DEFAULT
The simplest LongAdapter implementation that represents the case when to argument object to adapt is a Long object itself.

Constructor Detail

NumberAdapter.LongAdapter

public NumberAdapter.LongAdapter()
Method Detail

longValue

public abstract long longValue(Object object)
An adapting function whose responsible of extracting the long value of interest from an the argument object

Parameters:
object - The Object to adapt to long
Returns:
The long value of interest that got extracted by this adapter from the argument object

IBM Rational Software Modeler
Release 6.0


Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2004. All rights reserved.