#
# Redistribution and use of this software and associated documentation
# ("Software"), with or without modification, are permitted provided
# that the following conditions are met:
#
# 1. Redistributions of source code must retain copyright
#    statements and notices.  Redistributions must also contain a
#    copy of this document.
#
# 2. Redistributions in binary form must reproduce the
#    above copyright notice, this list of conditions and the
#    following disclaimer in the documentation and/or other
#    materials provided with the distribution.
#
# 3. The name "OpenEJB" must not be used to endorse or promote
#    products derived from this Software without prior written
#    permission of The OpenEJB Group.  For written permission,
#    please contact openejb-group@openejb.sf.net.
#
# 4. Products derived from this Software may not be called "OpenEJB"
#    nor may "OpenEJB" appear in their names without prior written
#    permission of The OpenEJB Group. OpenEJB is a registered
#    trademark of The OpenEJB Group.
#
# 5. Due credit should be given to the OpenEJB Project
#    (http://openejb.sf.net/).
#
# THIS SOFTWARE IS PROVIDED BY THE OPENEJB GROUP AND CONTRIBUTORS
# ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT
# NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL
# THE OPENEJB GROUP OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
# INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
# OF THE POSSIBILITY OF SUCH DAMAGE.
#
# Copyright 2002 (C) The OpenEJB Group. All Rights Reserved.
#
# $Id: Messages.properties,v 1.3 2002/11/04 01:03:44 dblevins Exp $
#
#--------------------------------------------------------------------
# Validation Rule messages
#--------------------------------------------------------------------

# 0 - Class name
# 1 - Element (home, ejb-class, remote)
# 2 - Bean name
1.cannot.validate         Cannot validate jar
2.cannot.validate         Cannot validate jar
3.cannot.validate         {0}

# 0 - Class name
# 1 - Element (home, ejb-class, remote)
# 2 - Bean name
1.missing.class           Missing class
2.missing.class           Missing class {0} 
3.missing.class           The class {0} not found. Check that the class specified in the {1} element for bean {2} is spelled correctly and the class is present in the jar

# 0 - Class name
# 1 - EJB Class name
1.wrong.class.type        Wrong class type
2.wrong.class.type        Wrong class type {0}
3.wrong.class.type        The class {0} is the wrong type, it does not extend {1}

# 0 - method name
# 1 - full method
# 2 - remote|home
# 3 - interface name
# 4 - EJB Class name
1.no.busines.method       No such business method
2.no.busines.method       Business method {0} not implemented.
3.no.busines.method       Business method {1} not implemented. The method was declared in the {2} interface {3}, but not implemented in the ejb class {4}

# 0 - home interface
# 1 - remote interface
1.no.home.create          No create method.  
2.no.home.create          No create method in {0}.
3.no.home.create          The home interface {0} must declare at least one create method. Example:\n\n\tpublic {1} create() throws javax.ejb.CreateException, java.rmi.RemoteException;

# 1 - EJB Class name
# 2 - create params
1.session.no.ejb.create     Create method not implemented.
2.session.no.ejb.create     Create method not implemented: ejbCreate({1}).
3.session.no.ejb.create     There should be a create method in the bean class {0} with the following signature:\n\n\tpublic void ejbCreate({1}) throws javax.ejb.CreateException

# 1 - EJB Class name
# 2 - primary key class
# 3 - create params
1.entity.no.ejb.create    Create method not implemented.
2.entity.no.ejb.create    Create method not implemented: ejbCreate({2}).
3.entity.no.ejb.create    There should be a create method in the bean class {0} with the following signature:\n\n\tpublic {1} ejbCreate({2}) throws javax.ejb.CreateException

# 1 - EJB Class name
# 2 - create params
1.no.ejb.post.create      No ejbPostCreate method
2.no.ejb.post.create      Missing create method: ejbPostCreate({1})
3.no.ejb.post.create      Entity create method with no matching ejbPostCreate.  There should be an ejbPostCreate method in the bean class {0} with the following signature:\n\n\tpublic void ejbPostCreate({1}) throws javax.ejb.CreateException

# 1 - bean class
# 2 - create params
# 3 - home interface
1.unused.ejb.create       Unused ejbCreate method
2.unused.ejb.create       Unused ejbCreate method: ejbCreate({1})
3.unused.ejb.create       Create method will never be called.  The bean class {0} defines the create method ejbCreate({1}), but there is no matching create({1}) method in the home interface {2}
                                                                                            
