62 | | |
| 63 | public String toJSONString2() { |
| 64 | String json_str ="{"; |
| 65 | |
| 66 | if( propertyURI != null ) { |
| 67 | json_str+="\"propertyURI\":"+"\""+propertyURI+"\","; |
| 68 | } |
| 69 | if( linkedClassURI != null ){ |
| 70 | json_str+="\"linkedClassURI\":"+"\""+linkedClassURI+"\","; |
| 71 | } |
| 72 | json_str+="\"numOfLinks\":"+"\""+numOfLinks+"\","; |
| 73 | json_str+="\"numOfLinkedInstances\":"+"\""+numOfLinkedInstances+"\","; |
| 74 | json_str+="\"numOfOriginInstances\":"+"\""+numOfOriginInstances+"\","; |
| 75 | json_str+="\"numOfOriginClassInstances\":"+"\""+numOfOriginClassInstances+"\","; |
| 76 | json_str+="\"numOfLinkedClassInstances\":"+"\""+numOfLinkedClassInstances+"\"}"; |
| 77 | |
| 78 | return json_str; |
| 79 | } |
| 80 | |