* @param libraryId the primary key of the s library
* @return the s library, or <code>null</code> if a s library with the primary key could not be found
* @throws SystemException if a system exception occurred
*/
public SLibrary fetchByPrimaryKey(long libraryId) throws SystemException {
SLibrary sLibrary = (SLibrary)EntityCacheUtil.getResult(SLibraryModelImpl.ENTITY_CACHE_ENABLED,
SLibraryImpl.class, libraryId);
if (sLibrary == _nullSLibrary) {
return null;
}