public Attribute[] getPrimaryKeyAttributes() { return PersonFinder.getPrimaryKeyAttributes(); }
public Attribute[] getPrimaryKeyAttributes() { return PersonFinder.getPrimaryKeyAttributes(); }
public List getSimulatedSequenceInitValues() { ArrayList simulatedSequenceInitValues = new ArrayList(1); Attribute[] primaryKeyAttributes = PersonFinder.getPrimaryKeyAttributes(); SimulatedSequenceInitValues initValues = null; initValues = new SimulatedSequenceInitValues("Person", 10, 1, 1, "kata.util.ObjectSequenceObjectFactory", false, primaryKeyAttributes[0], primaryKeyAttributes[0].getSourceAttributeType()); simulatedSequenceInitValues.add(initValues); return simulatedSequenceInitValues; }
public List getSimulatedSequenceInitValues() { ArrayList simulatedSequenceInitValues = new ArrayList(1); Attribute[] primaryKeyAttributes = PersonFinder.getPrimaryKeyAttributes(); SimulatedSequenceInitValues initValues = null; initValues = new SimulatedSequenceInitValues("Person", 1, 1, 1, "kata.util.ObjectSequenceObjectFactory", false, primaryKeyAttributes[0], primaryKeyAttributes[0].getSourceAttributeType()); simulatedSequenceInitValues.add(initValues); return simulatedSequenceInitValues; }
public Cache instantiateFullCache(MithraConfigurationManager.Config config) { Cache result; if (config.isParticipatingInTx()) { result = new FullNonDatedTransactionalCache(PersonFinder.getPrimaryKeyAttributes(), this, PersonFinder.getImmutableAttributes()); } else { result = new FullNonDatedCache(PersonFinder.getPrimaryKeyAttributes(), this, PersonFinder.getImmutableAttributes(), new NonTransactionalUnderlyingObjectGetter()); } initPortal(result, config); return result; }
public Cache instantiateFullCache(MithraConfigurationManager.Config config) { Cache result; if (config.isParticipatingInTx()) { result = new FullNonDatedTransactionalCache(PersonFinder.getPrimaryKeyAttributes(), this, PersonFinder.getImmutableAttributes()); } else { result = new FullNonDatedCache(PersonFinder.getPrimaryKeyAttributes(), this, PersonFinder.getImmutableAttributes(), new NonTransactionalUnderlyingObjectGetter()); } initPortal(result, config); return result; }
public Cache instantiatePartialCache(MithraConfigurationManager.Config config) { Cache result; if (config.isParticipatingInTx()) { result = new PartialNonDatedTransactionalCache(PersonFinder.getPrimaryKeyAttributes(), this, PersonFinder.getImmutableAttributes(), config.getCacheTimeToLive(), config.getRelationshipCacheTimeToLive()); } else { result = new PartialNonDatedCache(PersonFinder.getPrimaryKeyAttributes(), this, PersonFinder.getImmutableAttributes(), new NonTransactionalUnderlyingObjectGetter(), config.getCacheTimeToLive(), config.getRelationshipCacheTimeToLive()); } initPortal(result, config); return result; }
public Cache instantiatePartialCache(MithraConfigurationManager.Config config) { Cache result; if (config.isParticipatingInTx()) { result = new PartialNonDatedTransactionalCache(PersonFinder.getPrimaryKeyAttributes(), this, PersonFinder.getImmutableAttributes(), config.getCacheTimeToLive(), config.getRelationshipCacheTimeToLive()); } else { result = new PartialNonDatedCache(PersonFinder.getPrimaryKeyAttributes(), this, PersonFinder.getImmutableAttributes(), new NonTransactionalUnderlyingObjectGetter(), config.getCacheTimeToLive(), config.getRelationshipCacheTimeToLive()); } initPortal(result, config); return result; }