All Packages  This Package  Class Hierarchy  Class Search  Index

Class com.syncbuilder.storage.CategoryAppBlock
java.lang.Object
   |
   +----com.syncbuilder.storage.Block
           |
           +----com.syncbuilder.storage.AppBlock
                   |
                   +----com.syncbuilder.storage.CategoryAppBlock

  Summary

public class  CategoryAppBlock
     extends com.syncbuilder.storage.AppBlock
{
          // Fields 5
     public static final int LENGTH;
     public int[] categoryID;
     public int categoryLastUniqueID;
     public String[] categoryName;
     public boolean[] categoryRenamed;

          // Constructors 2
     public CategoryAppBlock();
     public CategoryAppBlock(byte[]);

          // Methods 5
     public String describe();
     public boolean equals(Object);
     public void fill();
     public byte[] pack();
     public void unpack(byte[]) throws IllegalArgumentException;
}

The foundation of all AppBlocks which can store categories. The PalmOS has the built-in capability to assign each record of a database to one of 16 categories. The names of these categories are stored in an AppBlock which is associated with that database. The name of each category is limited to a length of 15 characters.


  Cross Reference

Extended By:
AppBlock, AppBlock, AppBlock, AppBlock, AppBlock, AppBlock





  Fields

· LENGTH

Summary  |  Top
   public static final int LENGTH

The fixed-length size of the native representation of the CategoryAppBlock


· categoryRenamed

Summary  |  Top
   public boolean[] categoryRenamed


· categoryLastUniqueID

Summary  |  Top
   public int categoryLastUniqueID


· categoryName

Summary  |  Top
   public String[] categoryName


· categoryID

Summary  |  Top
   public int[] categoryID


  Constructors

· CategoryAppBlock

Summary  |  Top

   public CategoryAppBlock() 


· CategoryAppBlock

Summary  |  Top
   public CategoryAppBlock(byte[] contents) 


  Methods

· unpack

Summary  |  Top
   public void unpack(byte[] data)  throws IllegalArgumentException
Overrides:
unpack in class Block


· pack

Summary  |  Top
   public byte[] pack() 
Overrides:
pack in class Block


· fill

Summary  |  Top
   public void fill() 
Overrides:
fill in class Block


· equals

Summary  |  Top
   public boolean equals(Object other) 

Test for equality with another Object. Mostly used for testing.

Overrides:
equals in class Object


· describe

Summary  |  Top
   public String describe() 
Overrides:
describe in class AppBlock


All Packages  This Package  Class Hierarchy  Class Search  Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7