dk.vajhoej.isam
Class KeyInfo

java.lang.Object
  extended by dk.vajhoej.isam.KeyInfo

public class KeyInfo
extends java.lang.Object

Class FieldInfo contains information about a ISAM key field needed for access.


Constructor Summary
KeyInfo(FieldType typ, java.lang.reflect.Field field)
          Create instance of KeyInfo.
 
Method Summary
static KeyInfo[] analyze(java.lang.Class<?> clz)
          Analyze class.
 java.lang.reflect.Field getField()
          Get field
 FieldType getTyp()
          Get type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KeyInfo

public KeyInfo(FieldType typ,
               java.lang.reflect.Field field)
Create instance of KeyInfo.

Parameters:
typ - field type in native struct
field - field type in Java class
Method Detail

getTyp

public FieldType getTyp()
Get type.

Returns:
field type in native struct

getField

public java.lang.reflect.Field getField()
Get field

Returns:
field type in Java class

analyze

public static KeyInfo[] analyze(java.lang.Class<?> clz)
                         throws IsamException
Analyze class.

Parameters:
clz - class to analyze
Returns:
KeyInfo array for class
Throws:
IsamException