|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jalios.jstore.BasicStorable com.jalios.jstore.Test
public class Test
This class runs a bunch of tests.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.jalios.jstore.BasicStorable |
---|
BasicStorable.CdateComparator<T extends Storable>, BasicStorable.IdComparator<T extends Storable>, BasicStorable.MdateComparator<T extends Storable> |
Field Summary | |
---|---|
static String |
REVISION
|
Fields inherited from class com.jalios.jstore.BasicStorable |
---|
cdate, ddate, id, mdate, store |
Constructor Summary | |
---|---|
Test()
|
|
Test(Test other)
|
Method Summary | |
---|---|
ArrayList<Object> |
getMyArrayList()
Get the value of myArrayList. |
boolean |
getMyBoolean()
Get the value of myBoolean. |
boolean[] |
getMyBooleanArray()
Get the value of myBooleanArray. |
byte |
getMyByte()
Get the value of myByte. |
byte[] |
getMyByteArray()
Get the value of myByteArray. |
char |
getMyChar()
Get the value of myChar. |
char[] |
getMyCharArray()
Get the value of myCharArray. |
Class<?> |
getMyClass()
Get the value of myClass. |
Date |
getMyDate()
Get the value of myDate. |
double |
getMyDouble()
Get the value of myDouble. |
double[] |
getMyDoubleArray()
Get the value of myDoubleArray. |
float |
getMyFloat()
Get the value of myFloat. |
float[] |
getMyFloatArray()
Get the value of myFloatArray. |
HashMap<Object,Object> |
getMyHashMap()
Get the value of myHashMap. |
HashSet<Object> |
getMyHashSet()
Get the value of myHashSet. |
Hashtable<Object,Object> |
getMyHashtable()
Get the value of myHashtable. |
int |
getMyInt()
Get the value of myInt. |
int[] |
getMyIntArray()
Get the value of myIntArray. |
LinkedList<Object> |
getMyLinkedList()
Get the value of myLinkedList. |
long |
getMyLong()
Get the value of myLong. |
long[] |
getMyLongArray()
Get the value of myLongArray. |
Properties |
getMyProperties()
Get the value of myProperties. |
short |
getMyShort()
Get the value of myShort. |
short[] |
getMyShortArray()
Get the value of myShortArray. |
String |
getMyString()
Get the value of myString. |
String[] |
getMyStringArray()
Get the value of myStringArray. |
StringBuffer |
getMyStringBuffer()
Get the value of myStringBuffer. |
Test |
getMyTest()
Get the value of myTest. |
Test[] |
getMyTestArray()
Get the value of myTestArray. |
TreeMap<Object,Object> |
getMyTreeMap()
Get the value of myTreeMap. |
TreeSet<Object> |
getMyTreeSet()
Get the value of myTreeSet. |
Vector<Object> |
getMyVector()
Get the value of myVector. |
String[] |
getSearchStrings()
This method gets called to get all the String to search in (typically the String attribute of the Storable). |
static void |
main(String[] args)
|
void |
read(String logFilename,
String[] args)
|
void |
read2(String logFilename,
String[] args)
|
void |
setMyArrayList(ArrayList<Object> v)
Set the value of myArrayList. |
void |
setMyBoolean(boolean v)
Set the value of myBoolean. |
void |
setMyBooleanArray(boolean[] v)
Set the value of myBooleanArray. |
void |
setMyByte(byte v)
Set the value of myByte. |
void |
setMyByteArray(byte[] v)
Set the value of myByteArray. |
void |
setMyChar(char v)
Set the value of myChar. |
void |
setMyCharArray(char[] v)
Set the value of myCharArray. |
void |
setMyClass(Class<?> v)
Set the value of myClass. |
void |
setMyDate(Date v)
Set the value of myDate. |
void |
setMyDouble(double v)
Set the value of myDouble. |
void |
setMyDoubleArray(double[] v)
Set the value of myDoubleArray. |
void |
setMyFloat(float v)
Set the value of myFloat. |
void |
setMyFloatArray(float[] v)
Set the value of myFloatArray. |
void |
setMyHashMap(HashMap<Object,Object> v)
Set the value of myHashMap. |
void |
setMyHashSet(HashSet<Object> v)
Set the value of myHashSet. |
void |
setMyHashtable(Hashtable<Object,Object> v)
Set the value of myHashtable. |
void |
setMyInt(int v)
Set the value of myInt. |
void |
setMyIntArray(int[] v)
Set the value of myIntArray. |
void |
setMyLinkedList(LinkedList<Object> v)
Set the value of myLinkedList. |
void |
setMyLong(long v)
Set the value of myLong. |
void |
setMyLongArray(long[] v)
Set the value of myLongArray. |
void |
setMyProperties(Properties v)
Set the value of myProperties. |
void |
setMyShort(short v)
Set the value of myShort. |
void |
setMyShortArray(short[] v)
Set the value of myShortArray. |
void |
setMyString(String v)
Set the value of myString. |
void |
setMyStringArray(String[] v)
Set the value of myStringArray. |
void |
setMyStringBuffer(StringBuffer v)
Set the value of myStringBuffer. |
void |
setMyTest(Test v)
Set the value of myTest. |
void |
setMyTestArray(Test[] v)
Set the value of myTestArray. |
void |
setMyTreeMap(TreeMap<Object,Object> v)
Set the value of myTreeMap. |
void |
setMyTreeSet(TreeSet<Object> v)
Set the value of myTreeSet. |
void |
setMyVector(Vector<Object> v)
Set the value of myVector. |
String |
toLongString()
|
String |
toString()
|
void |
version(String logFilename,
String[] args)
|
void |
write(String logFilename,
String[] args)
|
void |
write2(String logFilename,
String[] args)
|
Methods inherited from class com.jalios.jstore.BasicStorable |
---|
clearId, clone, compareTo, equals, getAttribute, getAttributes, getCdate, getCdateComparator, getDdate, getId, getIdComparator, getMdate, getMdateComparator, getStore, getUrid, hasBeenUpdated, hashCode, isStored, resolveAtt, resolveVal, setAttributes, setCdate, setDdate, setId, setMdate, setStore, toXml |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String REVISION
Constructor Detail |
---|
public Test()
public Test(Test other)
Method Detail |
---|
public static void main(String[] args) throws Exception
Exception
public void read2(String logFilename, String[] args) throws Exception
Exception
public void version(String logFilename, String[] args) throws Exception
Exception
public void read(String logFilename, String[] args) throws Exception
Exception
public void write2(String logFilename, String[] args) throws Exception
Exception
public void write(String logFilename, String[] args) throws Exception
Exception
public String[] getSearchStrings()
Searchable
getSearchStrings
in interface Searchable
public String toString()
toString
in class Object
public String toLongString()
public boolean getMyBoolean()
public void setMyBoolean(boolean v)
v
- Value to assign to myBoolean.public byte getMyByte()
public void setMyByte(byte v)
v
- Value to assign to myByte.public char getMyChar()
public void setMyChar(char v)
v
- Value to assign to myChar.public double getMyDouble()
public void setMyDouble(double v)
v
- Value to assign to myDouble.public float getMyFloat()
public void setMyFloat(float v)
v
- Value to assign to myFloat.public int getMyInt()
public void setMyInt(int v)
v
- Value to assign to myInt.public long getMyLong()
public void setMyLong(long v)
v
- Value to assign to myLong.public short getMyShort()
public void setMyShort(short v)
v
- Value to assign to myShort.public boolean[] getMyBooleanArray()
public void setMyBooleanArray(boolean[] v)
v
- Value to assign to myBooleanArray.public byte[] getMyByteArray()
public void setMyByteArray(byte[] v)
v
- Value to assign to myByteArray.public char[] getMyCharArray()
public void setMyCharArray(char[] v)
v
- Value to assign to myCharArray.public double[] getMyDoubleArray()
public void setMyDoubleArray(double[] v)
v
- Value to assign to myDoubleArray.public float[] getMyFloatArray()
public void setMyFloatArray(float[] v)
v
- Value to assign to myFloatArray.public int[] getMyIntArray()
public void setMyIntArray(int[] v)
v
- Value to assign to myIntArray.public long[] getMyLongArray()
public void setMyLongArray(long[] v)
v
- Value to assign to myLongArray.public short[] getMyShortArray()
public void setMyShortArray(short[] v)
v
- Value to assign to myShortArray.public String[] getMyStringArray()
public void setMyStringArray(String[] v)
v
- Value to assign to myStringArray.public Test[] getMyTestArray()
public void setMyTestArray(Test[] v)
v
- Value to assign to myTestArray.public String getMyString()
public void setMyString(String v)
v
- Value to assign to myString.public StringBuffer getMyStringBuffer()
public void setMyStringBuffer(StringBuffer v)
v
- Value to assign to myStringBuffer.public Date getMyDate()
public void setMyDate(Date v)
v
- Value to assign to myDate.public Class<?> getMyClass()
public void setMyClass(Class<?> v)
v
- Value to assign to myClass.public Properties getMyProperties()
public void setMyProperties(Properties v)
v
- Value to assign to myProperties.public Test getMyTest()
public void setMyTest(Test v)
v
- Value to assign to myTest.public LinkedList<Object> getMyLinkedList()
public void setMyLinkedList(LinkedList<Object> v)
v
- Value to assign to myLinkedList.public ArrayList<Object> getMyArrayList()
public void setMyArrayList(ArrayList<Object> v)
v
- Value to assign to myArrayList.public Vector<Object> getMyVector()
public void setMyVector(Vector<Object> v)
v
- Value to assign to myVector.public HashSet<Object> getMyHashSet()
public void setMyHashSet(HashSet<Object> v)
v
- Value to assign to myHashSet.public TreeSet<Object> getMyTreeSet()
public void setMyTreeSet(TreeSet<Object> v)
v
- Value to assign to myTreeSet.public HashMap<Object,Object> getMyHashMap()
public void setMyHashMap(HashMap<Object,Object> v)
v
- Value to assign to myHashMap.public Hashtable<Object,Object> getMyHashtable()
public void setMyHashtable(Hashtable<Object,Object> v)
v
- Value to assign to myHashtable.public TreeMap<Object,Object> getMyTreeMap()
public void setMyTreeMap(TreeMap<Object,Object> v)
v
- Value to assign to myTreeMap.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |