Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 /*
  *  Copyright 2009-2014 Pavel Ponec
  *
  *  Licensed under the Apache License, Version 2.0 (the "License");
  *  you may not use this file except in compliance with the License.
  *  You may obtain a copy of the License at
  *
  *      http://www.apache.org/licenses/LICENSE-2.0
  *
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 */
package org.ujorm.orm.metaModel;
Class contains the special parameters with for different use.

Author(s):
Pavel Ponec
final public class MoreParams extends AbstractMetaModel {
    private static final Class<MoreParamsCLASS = MoreParams.class;

    
Property Factory
    private static final KeyFactory<MoreParamsf = newFactory();

    
A default engine for the MySQL dialect. The default value of this parameter is: "ENGINE = InnoDB".

    public static final Key<MoreParams,StringDIALECT_MYSQL_ENGINE_TYPE = .newKey("DialectMySqlEngineType""ENGINE = InnoDB");

    
EFFECTIVA REQUEST: to enforce printing all Ujorm joined tables
    public static final Key<MoreParams,BooleanPRINT_All_JOINED_TABLES = .newKey("printAllJoinedTables"false);

    
EFFECTIVA REQUEST: enable to unlock the immutable MetaTable model
    public static final Key<MoreParams,BooleanENABLE_TO_UNLOCK_IMMUTABLE_METAMODEL = .newKey("enableToUnlockImmutableMeta-model"false);

    
EFFECTIVA REQUEST: an extended index name strategy where the default value is false
    public static final Key<MoreParams,BooleanEXTENTED_INDEX_NAME_STRATEGY = .newKey("extentedIndexNameStrategy"false);
    static {
        .lock(); // Lock the Key factory
    }
New to GrepCode? Check out our FAQ X