Update JoinType.java

Removed getTemplate() method.