org.eclipse.emf.query.conditions.numbers
Class NumberAdapter.ShortAdapter

java.lang.Object
  extended byorg.eclipse.emf.query.conditions.numbers.NumberAdapter
      extended byorg.eclipse.emf.query.conditions.numbers.NumberAdapter.ShortAdapter
Enclosing class:
NumberAdapter

public abstract static class NumberAdapter.ShortAdapter
extends NumberAdapter

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


Nested Class Summary
 
Nested classes inherited from class org.eclipse.emf.query.conditions.numbers.NumberAdapter
NumberAdapter.ByteAdapter, NumberAdapter.DoubleAdapter, NumberAdapter.FloatAdapter, NumberAdapter.IntegerAdapter, NumberAdapter.LongAdapter, NumberAdapter.ShortAdapter
 
Field Summary
static NumberAdapter.ShortAdapter DEFAULT
          The simplest ShortAdapter implementation that represents the case when to argument object to adapt is a Short object itself.
 
Constructor Summary
NumberAdapter.ShortAdapter()
           
 
Method Summary
abstract  short shortValue(java.lang.Object object)
          An adapting function whose responsible of extracting the short 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.ShortAdapter DEFAULT
The simplest ShortAdapter implementation that represents the case when to argument object to adapt is a Short object itself.

Constructor Detail

NumberAdapter.ShortAdapter

public NumberAdapter.ShortAdapter()
Method Detail

shortValue

public abstract short shortValue(java.lang.Object object)
An adapting function whose responsible of extracting the short value of interest from an the argument object

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

Copyright 2002, 2006 IBM Corporation and others.
All Rights Reserved.