All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.kuali.ole.utility.callnumber.NLMCallNumber Maven / Gradle / Ivy

The newest version!
package org.kuali.ole.utility.callnumber;

/**
 * Created with IntelliJ IDEA.
 * User: ?
 * Date: 20/2/13
 * Time: 7:31 PM
 * To change this template use File | Settings | File Templates.
 */
public class NLMCallNumber extends AbstractCallNumber implements CallNumber {
    private static NLMCallNumber ourInstance = null;

    public static NLMCallNumber getInstance() {
        if (null == ourInstance) {
            ourInstance = new NLMCallNumber();
        }
        return ourInstance;
    }

    public String getSortableKey(String callNumber) {
        String normalizedCallNumber = CallNumUtils.getLCShelfkey(callNumber, null);
        return normalizedCallNumber;
    }

    public boolean isValid(String callNumber) {
        boolean isValid = CallNumUtils.isValidLC(callNumber);
        return isValid;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy