Re: Velocity Template Errors on my Model...

From: James Cicenia (jame..imijon.com)
Date: Mon Dec 03 2007 - 19:53:54 EST

  • Next message: James Cicenia: "Re: EOGenerator vs. JavaGenerator vs. VelocityGenerator ?"

    On Dec 3, 2007, at 5:55 PM, Mike Schrag wrote:

    >> 1) Error on a lot of these...
    >>
    >> public static UserPasswordArchive
    >> fetchRequiredTOSUserPasswordArchive(EOEditingContext
    >> editingContext, String keyName, Object value) {
    >> return
    >> _UserPasswordArchive
    >> .fetchRequiredTOSUserPasswordArchive(editingContext, new
    >> EOKeyValueQualifier(keyName, EOQualifier.QualifierOperatorEqual,
    >> value));
    >> }
    >>
    >> the above gives me an error saying that the arguments are wrong.
    > I just used the Entity14 templates at a new client site today --
    > _specifically_ what is the error? what arguments are wrong?

    Says: the method fetchRequiredTOSUserPasswordArchive(EOEditingContext,
    String, Object) in the type _TOSUserPasswordArchive is not applicable
    to the arguments (EOEditingContext, EOKeyValueQualifier)

    >
    >> notice in the second method that the fetchLifeCycleState should
    >> actually be fetchTOSLifeCycleState
    > Is this the difference between class name and entity name here?
    > Mine are always the same, so it's possible I've just missed a couple
    > places that interchange them by accident.
    >
    > ms

    no they are the same.

    James



    This archive was generated by hypermail 2.0.0 : Mon Dec 03 2007 - 19:55:12 EST