protected int generatePersonId() { Object sourceAttribute = null; PersonFinder.getMithraObjectPortal().getCache(); SimulatedSequencePrimaryKeyGenerator primaryKeyGenerator = MithraPrimaryKeyGenerator.getInstance().getSimulatedSequencePrimaryKeyGeneratorForNoSourceAttribute("Person", "kata.util.ObjectSequenceObjectFactory",sourceAttribute); return (int)primaryKeyGenerator.getNextId(sourceAttribute); }
protected int generateTaskId() { Object sourceAttribute = null; TaskFinder.getMithraObjectPortal().getCache(); SimulatedSequencePrimaryKeyGenerator primaryKeyGenerator = MithraPrimaryKeyGenerator.getInstance().getSimulatedSequencePrimaryKeyGeneratorForNoSourceAttribute("Task", "kata.util.ObjectSequenceObjectFactory",sourceAttribute); return (int)primaryKeyGenerator.getNextId(sourceAttribute); }
protected int generateCustomerId() { Object sourceAttribute = null; CustomerFinder.getMithraObjectPortal().getCache(); SimulatedSequencePrimaryKeyGenerator primaryKeyGenerator = MithraPrimaryKeyGenerator.getInstance().getSimulatedSequencePrimaryKeyGeneratorForNoSourceAttribute("Customer", "kata.util.ObjectSequenceObjectFactory",sourceAttribute); return (int)primaryKeyGenerator.getNextId(sourceAttribute); }
protected int generatePersonId() { Object sourceAttribute = null; PersonFinder.getMithraObjectPortal().getCache(); SimulatedSequencePrimaryKeyGenerator primaryKeyGenerator = MithraPrimaryKeyGenerator.getInstance().getSimulatedSequencePrimaryKeyGeneratorForNoSourceAttribute("Person", "kata.util.ObjectSequenceObjectFactory",sourceAttribute); return (int)primaryKeyGenerator.getNextId(sourceAttribute); }
protected long generateId() { Object sourceAttribute = null; ApplicantFinder.getMithraObjectPortal().getCache(); SimulatedSequencePrimaryKeyGenerator primaryKeyGenerator = MithraPrimaryKeyGenerator.getInstance().getSimulatedSequencePrimaryKeyGeneratorForNoSourceAttribute("Applicant", "com.gs.reladomo.example_credit_decision.ObjectSequenceObjectFactory",sourceAttribute); return (long)primaryKeyGenerator.getNextId(sourceAttribute); }