From: Xuan B. <med...@us...> - 2008-06-11 02:49:10
|
Update of /cvsroot/tm4j/tm4j/src/org/tm4j/topicmap/tmdm/basic In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv32429/src/org/tm4j/topicmap/tmdm/basic Modified Files: BasicAssociation.java BasicAssociationRole.java Log Message: Implement BasicAssociation.toString() Index: BasicAssociationRole.java =================================================================== RCS file: /cvsroot/tm4j/tm4j/src/org/tm4j/topicmap/tmdm/basic/BasicAssociationRole.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** BasicAssociationRole.java 21 Jan 2008 19:11:20 -0000 1.2 --- BasicAssociationRole.java 11 Jun 2008 02:49:14 -0000 1.3 *************** *** 103,106 **** --- 103,110 ---- getParent().internalRemove(this); } + + public String toString() { + return "BasicAssociationRole[type="+type+",player="+player+"]"; + } } Index: BasicAssociation.java =================================================================== RCS file: /cvsroot/tm4j/tm4j/src/org/tm4j/topicmap/tmdm/basic/BasicAssociation.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** BasicAssociation.java 21 Jan 2008 11:13:44 -0000 1.1 --- BasicAssociation.java 11 Jun 2008 02:49:14 -0000 1.2 *************** *** 139,142 **** --- 139,146 ---- getParent().internalRemove(this); } + + public String toString() { + return "BasicAssociation[type="+type+",roles="+roles+"]"; + } } |