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

Quick Search    Search Deep

org.bluej.core
Class DataElement  view DataElement download DataElement.java

java.lang.Object
  extended byorg.bluej.core.DataElement
Direct Known Subclasses:
DataElementUtils

public class DataElement
extends java.lang.Object


Nested Class Summary
(package private)  class DataElement.List
           
 class DataElement.ListScanner
           
 
Field Summary
static int BOOL
           
static int DATALT
           
static int DATSEQ
           
static int INT_1
           
static int INT_16
           
static int INT_2
           
static int INT_4
           
static int INT_8
           
static int NULL
           
static int STRING
           
(package private)  int type
           
static int U_INT_1
           
static int U_INT_16
           
static int U_INT_2
           
static int U_INT_4
           
static int U_INT_8
           
static int URL
           
static int UUID
           
(package private)  java.lang.Object val
           
 
Constructor Summary
DataElement(boolean bool)
           
DataElement(int valueType)
           
DataElement(int valueType, long value)
           
DataElement(int valueType, java.lang.Object value)
           
 
Method Summary
 void addElement(DataElement elem)
           
 boolean getBoolean()
           
 int getDataType()
           
 long getLong()
           
 int getSize()
           
 java.lang.Object getValue()
           
 void insertElementAt(DataElement elem, int index)
           
 boolean removeElement(DataElement elem)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NULL

public static final int NULL
See Also:
Constant Field Values

U_INT_1

public static final int U_INT_1
See Also:
Constant Field Values

U_INT_2

public static final int U_INT_2
See Also:
Constant Field Values

U_INT_4

public static final int U_INT_4
See Also:
Constant Field Values

U_INT_8

public static final int U_INT_8
See Also:
Constant Field Values

U_INT_16

public static final int U_INT_16
See Also:
Constant Field Values

INT_1

public static final int INT_1
See Also:
Constant Field Values

INT_2

public static final int INT_2
See Also:
Constant Field Values

INT_4

public static final int INT_4
See Also:
Constant Field Values

INT_8

public static final int INT_8
See Also:
Constant Field Values

INT_16

public static final int INT_16
See Also:
Constant Field Values

URL

public static final int URL
See Also:
Constant Field Values

UUID

public static final int UUID
See Also:
Constant Field Values

BOOL

public static final int BOOL
See Also:
Constant Field Values

STRING

public static final int STRING
See Also:
Constant Field Values

DATSEQ

public static final int DATSEQ
See Also:
Constant Field Values

DATALT

public static final int DATALT
See Also:
Constant Field Values

type

int type

val

java.lang.Object val
Constructor Detail

DataElement

public DataElement(int valueType)

DataElement

public DataElement(boolean bool)

DataElement

public DataElement(int valueType,
                   long value)

DataElement

public DataElement(int valueType,
                   java.lang.Object value)
Method Detail

addElement

public void addElement(DataElement elem)

getSize

public int getSize()

insertElementAt

public void insertElementAt(DataElement elem,
                            int index)

removeElement

public boolean removeElement(DataElement elem)

getDataType

public int getDataType()

getLong

public long getLong()

getBoolean

public boolean getBoolean()

getValue

public java.lang.Object getValue()