Re: Custom class with D2W
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