public boolean addObject ( String objectType , String id , String content ) { Map < String , Object > container = new HashMap < String , Object > ( ) ; if ( objectType != null ) { container . put ( "objectType" , objectType ) ; } if ( id != null ) { container . put ( "id" , id ) ; } if ( content != null ) { container . put ( "content" , content ) ; } return addChild ( "object" , container , null ) ; }
Add an object to this activity