com.azalient.api.file.record
Class AbstractStoreRecordRenamableNumeric

java.lang.Object
  extended by com.azalient.api.file.record.TypeObject
      extended by com.azalient.api.file.record.ReaderUtilities
          extended by com.azalient.api.file.record.AbstractRecordR
              extended by com.azalient.api.file.record.AbstractRecordRW
                  extended by com.azalient.api.file.record.AbstractStoreRecordRenamable
                      extended by com.azalient.api.file.record.AbstractStoreRecordRenamableNumeric
All Implemented Interfaces:
IRecord, RecordR, RecordRW, RecordW, SortableData, StoreRecordRW

public abstract class AbstractStoreRecordRenamableNumeric
extends AbstractStoreRecordRenamable


Field Summary
 
Fields inherited from interface com.azalient.api.a.tables.IRecord
DELETED, KEY_SEP, KEY_SEP_CHAR
 
Constructor Summary
AbstractStoreRecordRenamableNumeric(IStore aStore, int index)
           
 
Method Summary
 int index()
           
 void index(int x)
           
 String name()
          Return a NUMERIC name
 void rename(String newName)
          Rename this record, if that is possible.
 
Methods inherited from class com.azalient.api.file.record.AbstractStoreRecordRenamable
canRename, indirectName, store, store, toString
 
Methods inherited from class com.azalient.api.file.record.AbstractRecordRW
extraGet, extraGetB, extraGetD, extraGetI, extraGetS, extraGetT, get, isVolatile, set
 
Methods inherited from class com.azalient.api.file.record.AbstractRecordR
extraCols, extraSet, finished, isApplicable, isEditable
 
Methods inherited from class com.azalient.api.file.record.TypeObject
b, c, d, equals, equals, equalsEW, f, i, keyString, keyString, nameFromKeyString, rowKeysFromKeyString, s, t, t
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.azalient.api.file.RecordR
extraSet, finished, isApplicable, isEditable, set
 
Methods inherited from interface com.azalient.api.file.RecordW
extraCols, extraGet, extraGetB, extraGetD, extraGetI, extraGetS, extraGetT, get, isVolatile
 

Constructor Detail

AbstractStoreRecordRenamableNumeric

public AbstractStoreRecordRenamableNumeric(IStore aStore,
                                           int index)
Method Detail

rename

public void rename(String newName)
Description copied from interface: StoreRecordRW
Rename this record, if that is possible. If it is not possible an error will be generated, so if you are not sure, check first using StoreRecordRW.canRename()

Specified by:
rename in interface StoreRecordRW
Overrides:
rename in class AbstractStoreRecordRenamable

name

public final String name()
Return a NUMERIC name

Specified by:
name in interface IRecord
Overrides:
name in class AbstractStoreRecordRenamable

index

public int index()

index

public void index(int x)