On 30/09/16 14:19, neha gupta wrote:
Actually their are many call from other classes thats why it is useless to
copy all the code and paste here.
Make a minimal complete example -- the smallest piece of code
you can produce that shows the problem and that other people
and run.
Chris
On 30/09/16 14:35, neha gupta wrote:
Hello Lorenz, I have assigned the value to team1 but mistakenly typed only
team.
The Chris Dollin comment about "*setPropertyValue is /documented/ as
deleting any previous value **for that property" *
*makes sense but if I write *
team1.addLiteral(goals, p), i
Hello Lorenz, I have assigned the value to team1 but mistakenly typed only
team.
The Chris Dollin comment about "*setPropertyValue is /documented/ as
deleting any previous value **for that property" *
*makes sense but if I write *
team1.addLiteral(goals, p), in place of team1.setPropertyValue(goals
Then you can provide the code via some other appropriate means. For example,
you can put it in a Github repository. Then you can more usefully quote
excerpts in email, because the people who want to help you will be able to
retrieve the necessary context.
---
A. Soroka
The University of Virgin
Actually their are many call from other classes thats why it is useless to
copy all the code and paste here.
I tried to type the code so that you understand it. I am sorry for any
inconvenience.
On Fri, Sep 30, 2016 at 5:06 AM, Chris Dollin
wrote:
> On 30/09/16 12:08, neha gupta wrote:
>
>> Hel
On 30/09/16 12:08, neha gupta wrote:
Hello this does not sum the newly entered goals with the one already saved
in my owl file. Every time I enter new goal (integer value), new data is
saved and does not added(sum) with previously entered values.
You are not showing us the code you are using.
I don't understand why you assign an integer value to a class "Team" and
not an individual like "team1" which belongs to the class "Team"
> Hello this does not sum the newly entered goals with the one already saved
> in my owl file. Every time I enter new goal (integer value), new data is
> saved
Hello this does not sum the newly entered goals with the one already saved
in my owl file. Every time I enter new goal (integer value), new data is
saved and does not added(sum) with previously entered values.
* int goalsss = soln.getLiteral("goal").getInt() ; //return integer value*
*int totalgoa