public BnAgentPK ejbCreate(BnAgentValue nd) throws InvalidValueException, EJBException, CreateException(Code)
Create a BnAgent based on the supplied BnAgent Value Object.
throws: InvalidValueException - If one of the values are not correct,this will not roll back the transactionbecause the caller has the chance tofix the problem and try again throws: EJBException - If no new unique ID could be retrieved this willrollback the transaction because there is nohope to try again throws: CreateException - Because we have to do so (EJB spec.)
Create a BnAgent based on the supplied Name and type.
throws: InvalidValueException - If one of the values are not correct,this will not roll back the transactionbecause the caller has the chance tofix the problem and try again throws: EJBException - If no new unique ID could be retrieved this willrollback the transaction because there is nohope to try again throws: CreateException - Because we have to do so (EJB spec.)