• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Custom class with D2W
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Custom class with D2W


  • Subject: Re: Custom class with D2W
  • From: David Teran <email@hidden>
  • Date: Wed, 9 Nov 2005 07:58:40 +0100

Yes, I realised after I sent it that I had omitted to say that I had already created the EOGenericRecord custom class, named "Idea" through EOModeller. "Idea" is the entity and "value" is the attribute. I have gone back and corrected a few lines of code but I am now just have one remaining error:

Idea.java:121: cannot resolve symbol
symbol  : method setValue (java.math.BigDecimal)
Build failed for target "BigIdeaD2W" using build style "Development" (1 error)

This is from:

public void awakeFromInsertion (EOEditingContext ec) {
super.awakeFromInsertion(ec);
if (value() == null) {
setValue(new BigDecimal("500"));
}
}
}

Any thoughts?

Yes, read the error message, this is quite clear and means: The class Idea.java -and- and of its super classes has no method named 'setValue(BigDecimal)'. Whats so complicated about this? 

Regards, David

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Custom class with D2W (From: Pete Rive <email@hidden>)

  • Prev by Date: Re: Pure Swing JavaClient distribution channel
  • Next by Date: Re: Oracle Tables showing no columns in EOModeler 5.3
  • Previous by thread: Custom class with D2W
  • Next by thread: Re: Custom class with D2W
  • Index(es):
    • Date
    • Thread