Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.jguild.jrpm.io.datatype
Interface DataTypeIf  view DataTypeIf download DataTypeIf.java

All Known Implementing Classes:
BIN, CHAR, I18NSTRING, INT16, INT32, INT64, INT8, NULL, STRING, STRING_ARRAY

public interface DataTypeIf

Global interface for all RPM data types


Method Summary
 java.lang.Object get(int i)
          Gets the i-th element of this object.
 java.lang.Object getDataObject()
          Get the data as an object.
 long getElementCount()
          Returns the number of elements stored in this data type.
 long getSize()
          Returns the size of this type in the RPM file
 com.jguild.jrpm.io.constant.RPMIndexType getType()
          Get the type of this data object
 boolean isArray()
          Returns TRUE if this object contains an array or FALSE if it is not an array.
 

Method Detail

isArray

public boolean isArray()
Returns TRUE if this object contains an array or FALSE if it is not an array.


getDataObject

public java.lang.Object getDataObject()
Get the data as an object.


getElementCount

public long getElementCount()
Returns the number of elements stored in this data type.


getSize

public long getSize()
Returns the size of this type in the RPM file


getType

public com.jguild.jrpm.io.constant.RPMIndexType getType()
Get the type of this data object


get

public java.lang.Object get(int i)
Gets the i-th element of this object.