|
From: Stefan H. <ste...@us...> - 2004-05-15 10:24:36
|
Update of /cvsroot/cobricks/cobricks2/src/org/cobricks/item In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15848/src/org/cobricks/item Modified Files: Item.java Log Message: Index: Item.java =================================================================== RCS file: /cvsroot/cobricks/cobricks2/src/org/cobricks/item/Item.java,v retrieving revision 1.30 retrieving revision 1.31 diff -u -d -r1.30 -r1.31 --- Item.java 14 May 2004 18:03:42 -0000 1.30 +++ Item.java 15 May 2004 10:24:28 -0000 1.31 @@ -1097,4 +1097,18 @@ public void removeItemAttachment(ItemAttachment ia) { attachments.remove("" + ia.getId()); } + /** + * This method returns the amount of attachments this file has. + * @return An int value + */ + public int getAttachmentCount() { + return attachments.size(); + } + /** + * This method returns the amount of attachments this file has. + * @return An int value + */ + public int getAnnotationCount() { + return annotations.size(); + } } \ No newline at end of file |