content: package org.orman.mapper;
  
  /**
   * Holds information about physical name formatting guidelines of fields or
   * table names.
   * 
   * @author ahmet alp balkan <ahmetalpbalkan@gmail.com>
   * 
   */
  public class PhysicalNamingPolicy {
  
  	private boolean uppercase = false;
  	private boolean underscore = true;
  	private boolean camelCase = false;
  	private boolean pluralize = false;
  
  	public boolean isUppercase() {
  		return uppercase;
  	}
  
  	public PhysicalNamingPolicy uppercase(boolean uppercase) {
  		this.uppercase = uppercase;
  		return this;
  	}
  
  	public boolean isUnderscore() {
  		return underscore;
  	}
  
  	public PhysicalNamingPolicy underscore(boolean underscore) {
  		this.underscore = underscore;
  		return this;
  	}
  
  	public boolean isPluralize() {
  		return pluralize;
  	}
  
  	public PhysicalNamingPolicy pluralize(boolean pluralize) {
  		this.pluralize = pluralize;
  		return this;
  	}
  
  	/**
  	 * Overrides lowercase policy.
  	 * 
  	 * @param camelCase
  	 */
  	public PhysicalNamingPolicy camelCase(boolean camelCase) {
  		this.camelCase = camelCase;
  		return this;
  	}
  
  	public boolean isCamelCase() {
  		return camelCase;
  	}
  
  }
  