001package org.kuali.ole.utility.callnumber;
002
003/**
004 * Created with IntelliJ IDEA.
005 * User: ?
006 * Date: 20/2/13
007 * Time: 7:31 PM
008 * To change this template use File | Settings | File Templates.
009 */
010public class LCCallNumber extends AbstractCallNumber implements CallNumber {
011
012    private static LCCallNumber ourInstance = null;
013
014    public static LCCallNumber getInstance() {
015        if (null == ourInstance) {
016            ourInstance = new LCCallNumber();
017        }
018        return ourInstance;
019    }
020
021    public String getSortableKey(String callNumber) {
022        String normalizedCallNumber = CallNumUtils.getLCShelfkey(callNumber, null);
023        return normalizedCallNumber;
024    }
025
026    public boolean isValid(String callNumber) {
027        boolean isValid = CallNumUtils.isValidLC(callNumber);
028        return isValid;
029    }
030}