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