org.openmdx.compatibility.base.dataprovider.cci
Class AttributeSpecifier

java.lang.Object
  extended by org.openmdx.compatibility.base.dataprovider.cci.AttributeSpecifier
All Implemented Interfaces:
Serializable

public final class AttributeSpecifier
extends Object
implements Serializable

Specfies an attribute to be retrieved

See Also:
Serialized Form

Constructor Summary
AttributeSpecifier(String name)
          Retrieve all attribute values
AttributeSpecifier(String name, int position, int size, short direction)
          Retrieve the specified attribute values
AttributeSpecifier(String name, int position, short order)
          Retrieve the next specified attribute according to order.
 
Method Summary
 short direction()
          Get the direction of value retrieval
 boolean equals(Object object)
           
 int hashCode()
           
 String name()
          Get the attribute's name
 short order()
          Get the sort order
 int position()
          Get the start position of the values to be retrieved
 int size()
          Return the maximum size of the values to be retrieved
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AttributeSpecifier

public AttributeSpecifier(String name)
Retrieve all attribute values


AttributeSpecifier

public AttributeSpecifier(String name,
                          int position,
                          int size,
                          short direction)
Retrieve the specified attribute values

Parameters:
name - the attribute's name
position - start position of the values to be retrieved
size - the maximum size of the values to be retrieved
direction - the direction of the retrieval
See Also:
Directions

AttributeSpecifier

public AttributeSpecifier(String name,
                          int position,
                          short order)
Retrieve the next specified attribute according to order. Used for sorting purposes only.

Parameters:
name - the attribute's name
position - start position of the values to be retrieved
order - defines whether this attribute is relevant for the order; it is applicable to find requests only
See Also:
Orders
Method Detail

name

public String name()
Get the attribute's name

Returns:
the attribute's name

position

public int position()
Get the start position of the values to be retrieved

Returns:
the start position of the values to be retrieved.

size

public int size()
Return the maximum size of the values to be retrieved


direction

public short direction()
Get the direction of value retrieval

Returns:
the direction of value retrieval
See Also:
Directions

order

public short order()
Get the sort order

Returns:
the sort order
See Also:
Orders

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object object)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


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