| ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
TypedCollection is a Collection with associated
type (Class). Only objects of that type can be included.
Embeded Collection is ArrayList.
$Id: TypedCollection.java,v 1.10 2003/01/09 14:46:22 hrivnac Exp $
$Log: TypedCollection.java,v $
Revision 1.10 2003/01/09 14:46:22 hrivnac
1) Creation/Opening of Collections on Accessor implemened and cleaned.
2) Protection against string inconsistencies in SQLDB added.
Revision 1.9 2002/12/20 09:40:40 hrivnac
Documentation update.
| Field Summary | |
private Class | _class |
private String | _className |
private Collection | _collection |
private String | _name |
private static Category | logLogging . |
| Constructor Summary | |
private | TypedCollection()Can't be called. |
| TypedCollection(String name, Class cl)Create. |
| Method Summary | |
void | add(Object object)Add an Object. |
private String | className() |
Collection | collection()Give Collection itself. |
String | name()Give name. |
String | toString() |
Class | type()Give Class. |
| Field Detail |
private Class _class
private String _className
private Collection _collection
private String _name
private static Category log
| Constructor Detail |
private TypedCollection()
public TypedCollection(String name, Class cl)
| Method Detail |
public void add(Object object)
Object.private String className()
public Collection collection()
Collection itself.public String name()
public String toString()
public Class type()
Class.| Association Links |
to Class java.lang.Class
to Class java.lang.String
to Class java.util.Collection
| ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||