Le 13/12/2010 08:56, Nicolas Malin a écrit :
Le 12/12/2010 01:32, Adam Heath a écrit :
BJ Freeman wrote:
most of the frame works are objects.
so how would you implement your object in simple-methods
like GenericValue?
These new classes are still GenericValue, while also being more
specific.
We chose to use the full model reader when running the entity-gen since there
are not trivial manipulations of the en*xml files, such as extending,
auto-relationships, auto-indexes, materialized views, view optimizations...
We don't entiy-gen on every build. Manually done. This is a bit of a
Marc Morin wrote:
We chose to use the full model reader when running the
entity-gen since there are not trivial manipulations of the
en*xml files, such as extending, auto-relationships,
auto-indexes, materialized views, view optimizations...
We don't entiy-gen on every build. Manually
Hi Marc,
On Dec 11, 2010, at 9:40 PM, Marc Morin wrote:
Now it's pretty obvious that many are reading the incorrectly renamed O-R
mapping subject and saying it's counter to OFBiz entity model, core
philosophy, discussed before... go away you Object lovin' Java developer...
;-)
I don't
Le 12/12/2010 01:32, Adam Heath a écrit :
BJ Freeman wrote:
most of the frame works are objects.
so how would you implement your object in simple-methods
like GenericValue?
These new classes are still GenericValue, while also being more specific.
class Party extends GenericValue {}
Now it's pretty obvious that many are reading the incorrectly renamed O-R
mapping subject and saying it's counter to OFBiz entity model, core philosophy,
discussed before... go away you Object lovin' Java developer... ;-)
I don't want to repeat the topic, but it is a getter/setter decorator
Marc Morin wrote:
Now it's pretty obvious that many are reading the incorrectly renamed O-R
mapping subject and saying it's counter to OFBiz entity model, core
philosophy, discussed before... go away you Object lovin' Java developer...
;-)
I don't want to repeat the topic, but it is a
when you use a Class it is an object.
getter and setter are methods by another name.
if you instantiate a class all the methods are carried with it whether
they are used or not.
so regardless of your argument it is OO.
if you are familar with c then create a hello world function and compile
We statically generate all the classes during build as you mentioned. We have
a new ant target 'entity-gen' that runs after framework base util entity have
been compiled. It is a custom container that reads the entity model, puts
stuff into a context, then uses an ftl for the template of each
Well the good old GenericValue is an object as well. ;-)
Marc Morin
Emforium Group Inc.
ALL-IN Software
519-772-6824 ext 201
mmo...@emforium.com
- Original Message -
when you use a Class it is an object.
getter and setter are methods by another name.
if you instantiate a class all
Have you extended the base-line non-typed get() method to support
relation fetching? So, in groovy, I could do order.entryDate(which is
possible now), or order.OrderItem(because the first char is capital,
it would do a relation fetch).
So we haven't but that is something that should be
Marc Morin wrote:
We statically generate all the classes during build as you
mentioned. We have a new ant target 'entity-gen' that runs
after framework base util entity have been compiled. It is
a custom container that reads the entity model, puts stuff
into a context, then uses an ftl for
We have talked and lamented on handling in the framework the Entity
sub-classing *Type entities with the hasTable and *TypeId hierarchy
both on loading and the is A operator on entities and their types...
Marc Morin
Emforium Group Inc.
ALL-IN Software
519-772-6824 ext 201
most of the frame works are objects.
so how would you implement your object in simple-methods
like GenericValue?
=
BJ Freeman
Strategic Power Office with Supplier Automation
http://www.businessesnetwork.com/automation/viewforum.php?f=52
Specialtymarket.com
BJ Freeman wrote:
most of the frame works are objects.
so how would you implement your object in simple-methods
like GenericValue?
These new classes are still GenericValue, while also being more specific.
class Party extends GenericValue {}
15 matches
Mail list logo