www.element4solution.com

e4s.persistant
Class E4PersistantVector

java.lang.Object
  extended by e4s.util.E4Object
      extended by e4s.persistant.E4PersistantVector

Deprecated.

public class E4PersistantVector
extends E4Object

A Vector like structure to be used for persistance. See function getQuery() in the generated table classes.

Since:
JDK 1.4

Field Summary
 
Fields inherited from class e4s.util.E4Object
CRLF, E4S_CORE_SYSTEM_LANGUAGE, NBSP, NULLSTR, URL_ENCODING_CHARSET
 
Constructor Summary
E4PersistantVector()
          Deprecated.  
 
Method Summary
static java.lang.String _getSVNVersionString()
          Deprecated. Get version info string from subversion.
 void addElement(java.lang.Object o)
          Deprecated. Add an element to the Vector.
 java.util.Enumeration elements()
          Deprecated. Get an Enumeration of the elements.
 java.util.Vector getVector()
          Deprecated. Get the underlaying Vector.
 boolean hasChanged()
          Deprecated. Get the status of the changed flag for the Vector.
 void removeAllElements(boolean new_changed_flag)
          Deprecated. Remove all elements from the Vector.
 void removeElement(java.lang.Object o)
          Deprecated. Remove an element from the vector.
 void resetChanged()
          Deprecated. Reset the changed flag.
 int size()
          Deprecated. Get the number of elements in the Vector.
 java.lang.String toString()
          Deprecated.  
 void updateElement(java.lang.Object o)
          Deprecated. Change the changed flag for the vector on true, independent of the object.
 
Methods inherited from class e4s.util.E4Object
Calendar, CName, CName, E4LabelApp, E4LabelApp, E4LabelApp, E4LabelApp, E4LabelApp, E4LabelApp, E4LabelNone, E4LabelNone, E4LabelNone, E4LabelNone, E4LabelSys, E4LabelSys, e4sCopyright, e4sVersion, encode, encode, encode, encodeHtml, encodeHtml, encodeHtml, encodeURL, encodeURL, encodeURL, finalize, getLINE, getTRACE, getTRACE, getTRACE, getTRACE, getTRACE, getTRACE, getTraceMemory, HtmlEncode, HtmlEncode, HtmlEncode, isdecimal, isdigit, isnotok, isnotok, isnumeric, isok, isok, isok, isok, lastCallingFunction, lastCallingFunction, lastCallingFunction, lastCallingFunction, lastCallingStack, mkdirs, null2nbsp, null2nbsp, null2nbsp, ok, ok, ok, ok, outPrintln, setLogFile4Trace, setTraceMemory, STACKTRACE, toDebug, toDouble, toFloat, toFloat, TRACE_CALLS, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, wait
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

E4PersistantVector

public E4PersistantVector()
Deprecated. 
Method Detail

addElement

public void addElement(java.lang.Object o)
Deprecated. 
Add an element to the Vector. Set the changed flag on true.

Parameters:
o - the element to be added, may not be null
See Also:
removeElement( Object )

removeElement

public void removeElement(java.lang.Object o)
Deprecated. 
Remove an element from the vector. Set the changed flag on true.

Parameters:
o - element to be removed.
See Also:
addElement(Object)

updateElement

public void updateElement(java.lang.Object o)
Deprecated. 
Change the changed flag for the vector on true, independent of the object.


hasChanged

public boolean hasChanged()
Deprecated. 
Get the status of the changed flag for the Vector.

Returns:
true, if new elements have been added or elements have been removed or updated.
See Also:
resetChanged()

removeAllElements

public void removeAllElements(boolean new_changed_flag)
Deprecated. 
Remove all elements from the Vector.

Parameters:
new_changed_flag - is the new status for the changed flag.

resetChanged

public void resetChanged()
Deprecated. 
Reset the changed flag.

See Also:
hasChanged()

elements

public java.util.Enumeration elements()
Deprecated. 
Get an Enumeration of the elements.

Returns:
Enumeration of elements, or null if no elements have been added so far.
See Also:
getVector()

getVector

public java.util.Vector getVector()
Deprecated. 
Get the underlaying Vector.

Returns:
the underlaying Vector, might be null.
See Also:
elements()

size

public int size()
Deprecated. 
Get the number of elements in the Vector.

Returns:
number of elements, 0 indicates that the Vector is empty or null

toString

public java.lang.String toString()
Deprecated. 
Overrides:
toString in class E4Object

_getSVNVersionString

public static java.lang.String _getSVNVersionString()
Deprecated. 
Get version info string from subversion.

Returns:
the version info string.
See Also:
E4Util.getRevisionCodeFromSVN(Class)

www.element4solution.com