ru.goodidea.df.dictionary.datasource
Class Key

java.lang.Object
  extended by ru.goodidea.df.dictionary.datasource.Key
All Implemented Interfaces:
java.io.Serializable

public class Key
extends java.lang.Object
implements java.io.Serializable

Title:

Description:

Copyright: Copyright (c) 2004

Company:

Version:
1.0
Author:
Konstantin Pupkov
See Also:
Serialized Form

Constructor Summary
protected Key(int[] index)
           
 
Method Summary
protected  java.lang.Object clone()
          Creates and returns a copy of this object.
 boolean equals(java.lang.Object obj)
          Indicates whether some other object is "equal to" this one.
 Entity getEntity()
           
 int[] getIndex()
           
 int hashCode()
          Returns a hash code value for the object.
protected  void setEntity(Entity owner)
           
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Key

protected Key(int[] index)
Method Detail

getIndex

public int[] getIndex()

clone

protected java.lang.Object clone()
Creates and returns a copy of this object.

Overrides:
clone in class java.lang.Object
Returns:
a clone of this instance.
Throws:
java.lang.CloneNotSupportedException - if the object's class does not support the Cloneable interface. Subclasses that override the clone method can also throw this exception to indicate that an instance cannot be cloned.

getEntity

public Entity getEntity()

setEntity

protected void setEntity(Entity owner)

equals

public boolean equals(java.lang.Object obj)
Indicates whether some other object is "equal to" this one.

Overrides:
equals in class java.lang.Object
Parameters:
obj - the reference object with which to compare.
Returns:
true if this object is the same as the obj argument; false otherwise.

hashCode

public int hashCode()
Returns a hash code value for the object.

Overrides:
hashCode in class java.lang.Object
Returns:
a hash code value for this object.


Copyright © 2009. All Rights Reserved.