Re: TagNormalizer ?
Re: TagNormalizer ?
- Subject: Re: TagNormalizer ?
- From: James Cicenia <email@hidden>
- Date: Fri, 19 Oct 2012 15:16:24 -0500
I tried to do this:
@SuppressWarnings("unchecked") public static <T extends ERXGenericRecord> ERTaggableEntity<T> taggableEntity(EOEntity entity) { Class<? extends ERTaggableEntity> taggableEntityClass = ERTaggableEntity._taggableEntities.objectForKey(entity.name()); ERTaggableEntity<T> taggableEntity; if (taggableEntityClass == null) { taggableEntity = new ERTaggableEntity<T>(entity); ERTaggableEntity.setTaggableEntityForEntityNamed(taggableEntity, entity.name());
but get the following compiler error:
The method setTaggableEntityForEntityNamed(Class<? extends ERTaggableEntity<?>>, String) in the type ERTaggableEntity is not applicable for the arguments (ERTaggableEntity<T>, String)
Thanks James
On Oct 19, 2012, at 2:58 PM, Mike Schrag < email@hidden> wrote: ERTaggableEntity.setTaggableEntityForEntityNamed
|
_______________________________________________
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