1 package org.kuali.student.core.subjectcode.bo; 2 3 import java.util.ArrayList; 4 import java.util.List; 5 6 import org.kuali.student.core.bo.KsTypeStateBusinessObjectBase; 7 8 public class SubjectCode extends KsTypeStateBusinessObjectBase { 9 10 private static final long serialVersionUID = 8238736199474085646L; 11 12 private String code; 13 private SubjectCodeType type; 14 private List<SubjectCodeJoinOrg> orgs; 15 16 public SubjectCode() { 17 super(); 18 orgs = new ArrayList<SubjectCodeJoinOrg>(); 19 } 20 21 public void setCode(String code) { 22 this.code = code; 23 } 24 25 public String getCode() { 26 return code; 27 } 28 29 public void setType(SubjectCodeType type) { 30 this.type = type; 31 } 32 33 public SubjectCodeType getType() { 34 return type; 35 } 36 37 public void setOrgs(List<SubjectCodeJoinOrg> orgs) { 38 this.orgs = orgs; 39 } 40 41 public List<SubjectCodeJoinOrg> getOrgs() { 42 return orgs; 43 } 44 45 }