|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gnu.pilotlink.Record
public abstract class Record
Description of the Class
Field Summary | |
---|---|
static int |
ARCHIVED
Description of the Field |
protected int |
attribs
Description of the Field |
static int |
BUSY
Description of the Field |
protected int |
category
Description of the Field |
static int |
DELETED
Description of the Field |
static int |
DIRTY
Description of the Field |
protected long |
id
Description of the Field |
protected int |
size
Description of the Field |
static int |
SECRET
Description of the Field |
Constructor Summary | |
---|---|
Record(int i,
int att,
int cat,
int sz)
Constructor for the Record object |
|
Record(Record r)
Constructor for the Record object |
|
Record()
Constructor for the Record object |
Method Summary | |
---|---|
int |
getAttribs()
Gets the attribs attribute of the Record object |
abstract byte[] |
getBuffer()
Gets the buffer attribute of the Record object |
int |
getCategory()
Gets the category attribute of the Record object |
static java.util.Date |
getDateAt(byte[] buffer,
int idx)
Gets the dateAt attribute of the Record class |
java.util.Date |
getDateAt(int idx)
Gets the dateAt attribute of the Record object |
static java.util.Date |
getDateTimeAt(byte[] buffer,
int idx,
int tidx)
Gets the dateTimeAt attribute of the Record class |
java.util.Date |
getDateTimeAt(int idx,
int tidx)
Gets the dateTimeAt attribute of the Record object |
static double |
getDoubleAt(byte[] buffer,
int idx)
Gets the doubleAt attribute of the Record class |
static long |
getDoubleLongAt(byte[] buffer,
int idx)
Gets the doubleLongAt attribute of the Record class |
long |
getId()
Gets the id attribute of the Record object |
static int |
getIntAt(byte[] buffer,
int idx)
Gets the intAt attribute of the Record class |
int |
getIntAt(int idx)
Gets the intAt attribute of the Record object |
static long |
getLongAt(byte[] buffer,
int idx)
Gets the longAt attribute of the Record class |
int |
getSize()
Gets the size attribute of the Record object |
static java.lang.String |
getStringAt(byte[] buffer,
int idx)
Gets the stringAt attribute of the Record class |
java.lang.String |
getStringAt(int idx)
Gets the stringAt attribute of the Record object |
boolean |
isArchived()
Gets the archived attribute of the Record object |
boolean |
isBusy()
Gets the busy attribute of the Record object |
boolean |
isDeleted()
Gets the deleted attribute of the Record object |
boolean |
isDirty()
Gets the dirty attribute of the Record object |
boolean |
isSecret()
Gets the secret attribute of the Record object |
void |
setArchived(boolean a)
Sets the archived attribute of the Record object |
void |
setAttribs(int a)
Sets the attribs attribute of the Record object |
abstract void |
setBuffer(byte[] buf)
Sets the buffer attribute of the Record object |
void |
setCategory(int c)
Sets the category attribute of the Record object |
static void |
setDateAt(byte[] buffer,
java.util.Date d,
int idx)
Sets the dateAt attribute of the Record class |
static void |
setDateTimeAt(byte[] buffer,
java.util.Date d,
int idx,
int tidx)
Sets the dateTimeAt attribute of the Record class |
void |
setDirty(boolean d)
Sets the dirty attribute of the Record object |
static void |
setDoubleAt(byte[] buffer,
double v,
int idx)
Sets the doubleAt attribute of the Record class |
static void |
setDoubleLongAt(byte[] buffer,
long v,
int idx)
Sets the doubleLongAt attribute of the Record class |
void |
setId(long i)
Sets the id attribute of the Record object |
static void |
setIntAt(byte[] buffer,
int i,
int idx)
Sets the intAt attribute of the Record class |
static void |
setLongAt(byte[] buffer,
long v,
int idx)
Sets the longAt attribute of the Record class |
void |
setSecret(boolean b)
|
void |
setSize(int s)
Sets the size attribute of the Record object |
static int |
setStringAt(byte[] buffer,
java.lang.String s,
int idx)
Sets the stringAt attribute of the Record class |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notifyAll, notify, toString, wait, wait, wait |
Field Detail |
---|
public static final int DELETED
public static final int DIRTY
public static final int BUSY
public static final int SECRET
public static final int ARCHIVED
protected long id
protected int attribs
protected int category
protected int size
Constructor Detail |
---|
public Record()
public Record(int i, int att, int cat, int sz)
i
- Description of the Parameteratt
- Description of the Parametercat
- Description of the Parametersz
- Description of the Parameterpublic Record(Record r)
r
- Description of the ParameterMethod Detail |
---|
public boolean isDeleted()
public boolean isSecret()
public boolean isArchived()
public boolean isDirty()
public boolean isBusy()
public void setDirty(boolean d)
d
- The new dirty valuepublic void setSecret(boolean b)
public void setArchived(boolean a)
a
- The new archived valuepublic void setId(long i)
i
- The new id valuepublic int getCategory()
public void setCategory(int c)
c
- The new category valuepublic void setAttribs(int a)
a
- The new attribs valuepublic int getAttribs()
public long getId()
public int getSize()
public void setSize(int s)
s
- The new size valuepublic abstract byte[] getBuffer()
public abstract void setBuffer(byte[] buf)
buf
- The new buffer valuepublic java.util.Date getDateAt(int idx)
idx
- Description of the Parameter
public static java.util.Date getDateAt(byte[] buffer, int idx)
buffer
- Description of the Parameteridx
- Description of the Parameter
public static void setDateAt(byte[] buffer, java.util.Date d, int idx)
buffer
- The new dateAt valued
- The new dateAt valueidx
- The new dateAt valuepublic static void setDateTimeAt(byte[] buffer, java.util.Date d, int idx, int tidx)
buffer
- The new dateTimeAt valued
- The new dateTimeAt valueidx
- The new dateTimeAt valuetidx
- The new dateTimeAt valuepublic java.util.Date getDateTimeAt(int idx, int tidx)
idx
- Description of the Parametertidx
- Description of the Parameter
public static java.util.Date getDateTimeAt(byte[] buffer, int idx, int tidx)
buffer
- Description of the Parameteridx
- Description of the Parametertidx
- Description of the Parameter
public static int setStringAt(byte[] buffer, java.lang.String s, int idx)
buffer
- The new stringAt values
- The new stringAt valueidx
- The new stringAt value
public java.lang.String getStringAt(int idx)
idx
- Description of the Parameter
public static java.lang.String getStringAt(byte[] buffer, int idx)
buffer
- Description of the Parameteridx
- Description of the Parameter
public static void setIntAt(byte[] buffer, int i, int idx)
buffer
- The new intAt valuei
- The new intAt valueidx
- The new intAt valuepublic int getIntAt(int idx)
idx
- Description of the Parameter
public static int getIntAt(byte[] buffer, int idx)
buffer
- Description of the Parameteridx
- Description of the Parameter
public static double getDoubleAt(byte[] buffer, int idx)
buffer
- Description of the Parameteridx
- Description of the Parameter
public static void setDoubleAt(byte[] buffer, double v, int idx)
buffer
- The new doubleAt valuev
- The new doubleAt valueidx
- The new doubleAt valuepublic static long getDoubleLongAt(byte[] buffer, int idx)
buffer
- Description of the Parameteridx
- Description of the Parameter
public static void setDoubleLongAt(byte[] buffer, long v, int idx)
buffer
- The new doubleLongAt valuev
- The new doubleLongAt valueidx
- The new doubleLongAt valuepublic static void setLongAt(byte[] buffer, long v, int idx)
buffer
- The new longAt valuev
- The new longAt valueidx
- The new longAt valuepublic static long getLongAt(byte[] buffer, int idx)
buffer
- Description of the Parameteridx
- Description of the Parameter
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |