public class CourseOfferingCodeGeneratorImpl extends Object implements CourseOfferingCodeGenerator
ACTIVITY_OFFERING_CODE_LIST_KEY, COURSE_OFFERING_CODE_KEY
Constructor and Description |
---|
CourseOfferingCodeGeneratorImpl() |
Modifier and Type | Method and Description |
---|---|
String |
calculateNextCode(List<String> codes) |
String |
generateActivityOfferingCode(Map<String,Object> generationProperties) |
String |
generateCourseOfferingInternalCode(List<CourseOfferingInfo> existingCourseOfferings) |
String |
getNextCode(String source)
Gets the next letter of the alphabet in caps in the form A,B...Z,AA,AB...AZ,BA,BB..BZ,CA,CB....ZZ,AAA,AAB...
|
public CourseOfferingCodeGeneratorImpl()
public String generateActivityOfferingCode(Map<String,Object> generationProperties)
generateActivityOfferingCode
in interface CourseOfferingCodeGenerator
generationProperties
- A map containing the properties needed to generate the codespublic String generateCourseOfferingInternalCode(List<CourseOfferingInfo> existingCourseOfferings)
generateCourseOfferingInternalCode
in interface CourseOfferingCodeGenerator
public String calculateNextCode(List<String> codes)
public String getNextCode(String source)
source
- source code stringCopyright © 2004-2014 The Kuali Foundation. All Rights Reserved.