Package com.webobjects.foundation

Examples of com.webobjects.foundation.NSMutableDictionary.takeValueForKey()


      if (entityModelerDict == null) {
        mutableEntityModelerDict = new NSMutableDictionary();
      } else {
        mutableEntityModelerDict = entityModelerDict.mutableClone();
      }
      mutableEntityModelerDict.takeValueForKey(Boolean.TRUE, "inEntityModeler");
      modelUserInfo.takeValueForKey(mutableEntityModelerDict, "_EntityModeler");
      _model.setUserInfo(modelUserInfo);
    }

    ensureSingleTableInheritanceParentEntitiesAreIncluded();
View Full Code Here


        prototypesModel = eoAdaptorPrototypesEntity.model();
        // System.out.println("EOFSQLGenerator.EOFSQLGenerator:
        // removing " + eoAdaptorPrototypesEntity.name() + " from "
        // + prototypesModel.name());
        prototypesModel.removeEntity(eoAdaptorPrototypesEntity);
        removedPrototypeEntities.takeValueForKey(eoAdaptorPrototypesEntity, eoAdaptorPrototypesEntity.name());
      }
    }

    EOEntity eoPrototypesEntity = _modelGroup.entityNamed("EOPrototypes");
    if (eoPrototypesEntity != null) {
View Full Code Here

      prototypesModel = eoPrototypesEntity.model();
      prototypesModel.removeEntity(eoPrototypesEntity);
      // System.out.println("EOFSQLGenerator.EOFSQLGenerator: removing
      // " + eoPrototypesEntity.name() + " from " +
      // prototypesModel.name());
      removedPrototypeEntities.takeValueForKey(eoPrototypesEntity, eoPrototypesEntity.name());
    }

    EOEntity prototypesEntity = _modelGroup.entityNamed(prototypeEntityName);
    if (prototypesEntity == null) {
      prototypesEntity = (EOEntity) removedPrototypeEntities.valueForKey(prototypeEntityName);
View Full Code Here

          dropEntities.removeObjectAtIndex(entityNum);
        }
      }
      if (dropEntities.count() != _entities.count()) {
        NSMutableDictionary dropFlags = new NSMutableDictionary();
        dropFlags.takeValueForKey("YES", EOSchemaGeneration.DropTablesKey);
        dropFlags.takeValueForKey("NO", EOSchemaGeneration.DropPrimaryKeySupportKey);
        dropFlags.takeValueForKey("NO", EOSchemaGeneration.CreateTablesKey);
        dropFlags.takeValueForKey("NO", EOSchemaGeneration.CreatePrimaryKeySupportKey);
        dropFlags.takeValueForKey("NO", EOSchemaGeneration.PrimaryKeyConstraintsKey);
        dropFlags.takeValueForKey("NO", EOSchemaGeneration.ForeignKeyConstraintsKey);
View Full Code Here

        }
      }
      if (dropEntities.count() != _entities.count()) {
        NSMutableDictionary dropFlags = new NSMutableDictionary();
        dropFlags.takeValueForKey("YES", EOSchemaGeneration.DropTablesKey);
        dropFlags.takeValueForKey("NO", EOSchemaGeneration.DropPrimaryKeySupportKey);
        dropFlags.takeValueForKey("NO", EOSchemaGeneration.CreateTablesKey);
        dropFlags.takeValueForKey("NO", EOSchemaGeneration.CreatePrimaryKeySupportKey);
        dropFlags.takeValueForKey("NO", EOSchemaGeneration.PrimaryKeyConstraintsKey);
        dropFlags.takeValueForKey("NO", EOSchemaGeneration.ForeignKeyConstraintsKey);
        dropFlags.takeValueForKey("NO", EOSchemaGeneration.CreateDatabaseKey);
View Full Code Here

      }
      if (dropEntities.count() != _entities.count()) {
        NSMutableDictionary dropFlags = new NSMutableDictionary();
        dropFlags.takeValueForKey("YES", EOSchemaGeneration.DropTablesKey);
        dropFlags.takeValueForKey("NO", EOSchemaGeneration.DropPrimaryKeySupportKey);
        dropFlags.takeValueForKey("NO", EOSchemaGeneration.CreateTablesKey);
        dropFlags.takeValueForKey("NO", EOSchemaGeneration.CreatePrimaryKeySupportKey);
        dropFlags.takeValueForKey("NO", EOSchemaGeneration.PrimaryKeyConstraintsKey);
        dropFlags.takeValueForKey("NO", EOSchemaGeneration.ForeignKeyConstraintsKey);
        dropFlags.takeValueForKey("NO", EOSchemaGeneration.CreateDatabaseKey);
        dropFlags.takeValueForKey("NO", EOSchemaGeneration.DropDatabaseKey);
View Full Code Here

      if (dropEntities.count() != _entities.count()) {
        NSMutableDictionary dropFlags = new NSMutableDictionary();
        dropFlags.takeValueForKey("YES", EOSchemaGeneration.DropTablesKey);
        dropFlags.takeValueForKey("NO", EOSchemaGeneration.DropPrimaryKeySupportKey);
        dropFlags.takeValueForKey("NO", EOSchemaGeneration.CreateTablesKey);
        dropFlags.takeValueForKey("NO", EOSchemaGeneration.CreatePrimaryKeySupportKey);
        dropFlags.takeValueForKey("NO", EOSchemaGeneration.PrimaryKeyConstraintsKey);
        dropFlags.takeValueForKey("NO", EOSchemaGeneration.ForeignKeyConstraintsKey);
        dropFlags.takeValueForKey("NO", EOSchemaGeneration.CreateDatabaseKey);
        dropFlags.takeValueForKey("NO", EOSchemaGeneration.DropDatabaseKey);
        flags.takeValueForKey("NO", EOSchemaGeneration.DropTablesKey);
View Full Code Here

        NSMutableDictionary dropFlags = new NSMutableDictionary();
        dropFlags.takeValueForKey("YES", EOSchemaGeneration.DropTablesKey);
        dropFlags.takeValueForKey("NO", EOSchemaGeneration.DropPrimaryKeySupportKey);
        dropFlags.takeValueForKey("NO", EOSchemaGeneration.CreateTablesKey);
        dropFlags.takeValueForKey("NO", EOSchemaGeneration.CreatePrimaryKeySupportKey);
        dropFlags.takeValueForKey("NO", EOSchemaGeneration.PrimaryKeyConstraintsKey);
        dropFlags.takeValueForKey("NO", EOSchemaGeneration.ForeignKeyConstraintsKey);
        dropFlags.takeValueForKey("NO", EOSchemaGeneration.CreateDatabaseKey);
        dropFlags.takeValueForKey("NO", EOSchemaGeneration.DropDatabaseKey);
        flags.takeValueForKey("NO", EOSchemaGeneration.DropTablesKey);
        String dropSql = syncFactory.schemaCreationScriptForEntities(dropEntities, dropFlags);
View Full Code Here

        dropFlags.takeValueForKey("YES", EOSchemaGeneration.DropTablesKey);
        dropFlags.takeValueForKey("NO", EOSchemaGeneration.DropPrimaryKeySupportKey);
        dropFlags.takeValueForKey("NO", EOSchemaGeneration.CreateTablesKey);
        dropFlags.takeValueForKey("NO", EOSchemaGeneration.CreatePrimaryKeySupportKey);
        dropFlags.takeValueForKey("NO", EOSchemaGeneration.PrimaryKeyConstraintsKey);
        dropFlags.takeValueForKey("NO", EOSchemaGeneration.ForeignKeyConstraintsKey);
        dropFlags.takeValueForKey("NO", EOSchemaGeneration.CreateDatabaseKey);
        dropFlags.takeValueForKey("NO", EOSchemaGeneration.DropDatabaseKey);
        flags.takeValueForKey("NO", EOSchemaGeneration.DropTablesKey);
        String dropSql = syncFactory.schemaCreationScriptForEntities(dropEntities, dropFlags);
        sqlBuffer.append(dropSql);
View Full Code Here

        dropFlags.takeValueForKey("NO", EOSchemaGeneration.DropPrimaryKeySupportKey);
        dropFlags.takeValueForKey("NO", EOSchemaGeneration.CreateTablesKey);
        dropFlags.takeValueForKey("NO", EOSchemaGeneration.CreatePrimaryKeySupportKey);
        dropFlags.takeValueForKey("NO", EOSchemaGeneration.PrimaryKeyConstraintsKey);
        dropFlags.takeValueForKey("NO", EOSchemaGeneration.ForeignKeyConstraintsKey);
        dropFlags.takeValueForKey("NO", EOSchemaGeneration.CreateDatabaseKey);
        dropFlags.takeValueForKey("NO", EOSchemaGeneration.DropDatabaseKey);
        flags.takeValueForKey("NO", EOSchemaGeneration.DropTablesKey);
        String dropSql = syncFactory.schemaCreationScriptForEntities(dropEntities, dropFlags);
        sqlBuffer.append(dropSql);
        sqlBuffer.append("\n");
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.