kom.gateway
Class Build.KOMsub
java.lang.Object
|
+--java.util.Dictionary
|
+--java.util.Hashtable
|
+--kom.gateway.KomData
|
+--kom.gateway.Build.KOMsub
- Direct Known Subclasses:
- Build.KOMactivity, Build.KOMcategory, Build.KOMmt
- Enclosing class:
- Build
- public class Build.KOMsub
- extends KomData
Common class for categories, activities, threads, etc
- See Also:
- Serialized Form
Field Summary |
protected java.lang.String |
id
Object id |
protected java.lang.String |
parent
Object id of parent |
Fields inherited from class java.util.Hashtable |
count,
ENTRIES,
entrySet,
KEYS,
keySet,
loadFactor,
modCount,
serialVersionUID,
table,
threshold,
values,
VALUES |
Method Summary |
(package private) java.lang.String |
commented()
Finds out if this object refers to some other message |
void |
dispgen(KomData ht)
Displays a genealogy tree |
void |
dispmemb()
Shows member list |
protected void |
establishId()
Synchronizes id, parent with "Pid" value |
(package private) boolean |
istype(java.lang.String t)
Checks object type |
protected void |
mkcont()
Updates contents data for the parent object |
void |
publish(java.lang.String orig)
Integrates (KOMsub) object data into database |
void |
putid(java.lang.String id)
Sets id and parent |
Methods inherited from class kom.gateway.KomData |
add,
create,
debugLog,
display,
disppriv,
errorLog,
get,
getAllData,
getBDATA,
getCDATA,
getData,
getElem,
getKeyList,
getKeys,
getName,
getPDATA,
getStringValues,
getStringVector,
getValues,
init,
isEmpty,
mayput,
normal,
put,
put,
putBDATA,
putCDATA,
putData,
putfirst,
putlast,
putPDATA,
putValue,
qput,
remove,
setName,
setValue,
toString |
Methods inherited from class java.util.Hashtable |
clear,
clone,
contains,
containsKey,
containsValue,
elements,
entrySet,
equals,
get,
hashCode,
isEmpty,
keys,
keySet,
put,
putAll,
readObject,
rehash,
remove,
size,
values,
writeObject |
Methods inherited from class java.lang.Object |
,
finalize,
getClass,
notify,
notifyAll,
registerNatives,
wait,
wait,
wait |
id
protected java.lang.String id
- Object id
parent
protected java.lang.String parent
- Object id of parent
Build.KOMsub
Build.KOMsub()
Build.KOMsub
Build.KOMsub(java.lang.String ref,
java.lang.String cont)
- Constructor
- Parameters:
ref
- Id of object, may be used to find datacont
- String representation, defines data if non-null
Build.KOMsub
Build.KOMsub(Build.KOMsub sub)
- Clone
putid
public void putid(java.lang.String id)
- Sets id and parent
- Overrides:
- putid in class KomData
- Parameters:
id
- (new) object id
establishId
protected void establishId()
- Synchronizes id, parent with "Pid" value
publish
public void publish(java.lang.String orig)
- Integrates (KOMsub) object data into database
- Overrides:
- publish in class KomData
- Parameters:
orig
- Ref to original if copying (used in subclasses)
mkcont
protected void mkcont()
- Updates contents data for the parent object
dispmemb
public void dispmemb()
- Shows member list
dispgen
public void dispgen(KomData ht)
- Displays a genealogy tree
- Parameters:
ht
- Data for tree
istype
boolean istype(java.lang.String t)
- Checks object type
- Parameters:
t
- type- Returns:
- true if object type includes t
commented
java.lang.String commented()
- Finds out if this object refers to some other message
- Returns:
- Thread id if this is a comment (also put ref in Pthr,
part in Pcom), otherwise null