It sounds like you still have some confusion about what the attributes are meant to be used for. They are really for temporary needs (though I recommend against even that...), or more importantly for name/value pairs that are not known when you are designing the data model and writing code. I don't mean to be decided later, I mean defined as not known until the user decides.

You might also find the doc on the helpful:

http://incubator.apache.org/ofbiz/entity-overview.html

For this, it should DEFINITELY be a field of an entity, and not an attribute.

-David


On Aug 31, 2006, at 2:09 PM, Chris Howe wrote:

From this week's development blog

"Add singleUse indicator to ContactList to allow for
lists whose members should be contacted only once.
Updated sendCommEventAsEmail to expire
ContactListParty if singleUse = 'Y'. (r 437027)"

Would this type of functionality be better suited as
ContactListAttribute.attrName = singleUse ;
ContactListAttribute.attrValue = Y  ??

Is there a forseeable use outside of the implemented
functionality of this field?

If there is not and maintaining the field in the
ContactList Entity is still preferred, then is there
any benefit in having attribute entities?

Reply via email to