Skip to content

Instantly share code, notes, and snippets.

@gbadner
Last active August 29, 2015 14:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gbadner/feed0e0413cedb7c364d to your computer and use it in GitHub Desktop.
Save gbadner/feed0e0413cedb7c364d to your computer and use it in GitHub Desktop.
public interface Mappings {
...
/**
* Get the current naming strategy.
*
* @return The current naming strategy.
*/
@deprecated
public NamingStrategy getNamingStrategy();
/**
* Set the current naming strategy.
*
* @param namingStrategy The naming strategy to use.
*/
@deprecated
public void setNamingStrategy(NamingStrategy namingStrategy);
/**
* Get the current naming strategy delegates.
*
* @return The current naming strategy delegates.
*/
public NamingStrategyDelegates getNamingStrategyDelegates();
/**
* Set the current naming strategy delegates.
*
* @param namingStrategyDelegates The naming strategy delegates to use.
*/
public void setNamingStrategyDelegate(NamingStrategyDelegates namingStrategyDelegates);
...
}
public interface NamingStrategyDelegates {
public LogicalNamingStrategyDelegate getLogicalNamingStrategyDelegate();
public PhysicalNamingStrategyDelegate getPhysicalNamingStrategyDelegate();
}
public interface LogicalNamingStrategyDelegate {
}
public interface PhysicalNamingStrategyDelegate {
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment