View Javadoc
1   package org.kuali.ole.utility.callnumber;
2   
3   /**
4    * Created with IntelliJ IDEA.
5    * User: ?
6    * Date: 20/2/13
7    * Time: 7:31 PM
8    * To change this template use File | Settings | File Templates.
9    */
10  public class LCCallNumber extends AbstractCallNumber implements CallNumber {
11  
12      private static LCCallNumber ourInstance = null;
13  
14      public static LCCallNumber getInstance() {
15          if (null == ourInstance) {
16              ourInstance = new LCCallNumber();
17          }
18          return ourInstance;
19      }
20  
21      public String getSortableKey(String callNumber) {
22          String normalizedCallNumber = CallNumUtils.getLCShelfkey(callNumber, null);
23          return normalizedCallNumber;
24      }
25  
26      public boolean isValid(String callNumber) {
27          boolean isValid = CallNumUtils.isValidLC(callNumber);
28          return isValid;
29      }
30  }