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 NLMCallNumber extends AbstractCallNumber implements CallNumber {
11      private static NLMCallNumber ourInstance = null;
12  
13      public static NLMCallNumber getInstance() {
14          if (null == ourInstance) {
15              ourInstance = new NLMCallNumber();
16          }
17          return ourInstance;
18      }
19  
20      public String getSortableKey(String callNumber) {
21          String normalizedCallNumber = CallNumUtils.getLCShelfkey(callNumber, null);
22          return normalizedCallNumber;
23      }
24  
25      public boolean isValid(String callNumber) {
26          boolean isValid = CallNumUtils.isValidLC(callNumber);
27          return isValid;
28      }
29  }