|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.fc.WTLargeStringSet
This class duplicates the behavior of WTStringSet, but does NOT limit
the total number of bytes in the String's it contains.
(Codegen constraints prevent an inheritance relationship between the
classes).
CAUTION: If modelling Persistent Attributes of type WTLargeStringSet,
make sure their ColumnType is set to BLOB or INLINEBLOB, since VARCHAR2's
are limited to 4K!!
Supported API: false
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
static long |
EXTERNALIZATION_VERSION_UID
|
protected static long |
OLD_FORMAT_VERSION_UID
|
private static String |
RESOURCE
|
(package private) static long |
serialVersionUID
|
(package private) Hashtable |
stringTable
|
private String |
value
|
Constructor Summary | |
WTLargeStringSet()
No arg constructor. |
|
WTLargeStringSet(String value)
Constructor that takes a comma separated string as argument. |
Method Summary | |
void |
add(String element)
Adds a new element to set. |
boolean |
contains(String element)
Determines if element belongs to set. |
Enumeration |
elements()
Returns an enumeration with the elements of the set. |
boolean |
equals(Object obj)
Determines whether the set is equal to the one passed as parameter. |
protected String |
getValue()
Gets the value of the attribute: value; Comma separated list that represents the set internally. |
int |
hashCode()
Returns hash code. |
boolean |
includes(WTLargeStringSet set)
Determines if the set includes the set passed as argument. |
WTLargeStringSet |
intersection(WTLargeStringSet set)
Subtracts from the set all elements that don't belong to the set passed as argument. |
boolean |
isEmpty()
Determines whether set is empty. |
WTLargeStringSet |
minus(WTLargeStringSet set)
Subtracts from the set all elements of the set passed as argument. |
void |
readExternal(ObjectInput input)
Reads the non-transient fields of this class from an external source. |
private boolean |
readOldVersion(ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source, which is not the current version. |
protected boolean |
readVersion(WTLargeStringSet thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source. |
void |
remove(String element)
Adds a new element to set. |
private void |
setStringValue()
|
protected void |
setTable()
|
protected void |
setValue(String a_Value)
Sets the value of the attribute: value; Comma separated list that represents the set internally. |
int |
size()
Returns the number of elements in the set. |
String |
toString()
Returns internal representation of the set. |
WTLargeStringSet |
union(WTLargeStringSet set)
Adds to the set all elements of the set passed as argument. |
void |
writeExternal(ObjectOutput output)
Writes the non-transient fields of this class to an external source. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private String value
static final long serialVersionUID
public static final long EXTERNALIZATION_VERSION_UID
protected static final long OLD_FORMAT_VERSION_UID
Hashtable stringTable
Constructor Detail |
public WTLargeStringSet()
public WTLargeStringSet(String value)
value
- Method Detail |
public void writeExternal(ObjectOutput output) throws IOException
writeExternal
in interface Externalizable
output
-
IOException
public void readExternal(ObjectInput input) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
input
-
IOException
ClassNotFoundException
protected boolean readVersion(WTLargeStringSet thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
thisObject
- input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
private boolean readOldVersion(ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
protected String getValue()
protected void setValue(String a_Value)
a_Value
- public void add(String element) throws WTException
element
-
WTException
public void remove(String element) throws WTException
element
-
WTException
public boolean contains(String element)
element
-
public boolean isEmpty()
public int size()
public Enumeration elements()
public String toString()
public boolean equals(Object obj)
obj
-
public boolean includes(WTLargeStringSet set)
set
-
public WTLargeStringSet union(WTLargeStringSet set) throws WTException
set
-
WTException
public WTLargeStringSet minus(WTLargeStringSet set) throws WTException
set
-
WTException
public WTLargeStringSet intersection(WTLargeStringSet set) throws WTException
set
-
WTException
public int hashCode()
protected void setTable()
private void setStringValue()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |