Coverage Report - org.kuali.student.lum.program.dto.CoreProgramInfo
 
Classes in this File Line Coverage Branch Coverage Complexity
CoreProgramInfo
0%
0/87
0%
0/4
1.034
 
 1  
 /*
 2  
  * Copyright 2009 The Kuali Foundation
 3  
  *
 4  
  * Licensed under the Educational Community License, Version 1.0 (the "License");
 5  
  * you may not use this file except in compliance with the License.
 6  
  * You may obtain a copy of the License at
 7  
  *
 8  
  * http://www.opensource.org/licenses/ecl1.php
 9  
  *
 10  
  * Unless required by applicable law or agreed to in writing, software
 11  
  * distributed under the License is distributed on an "AS IS" BASIS,
 12  
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 13  
  * See the License for the specific language governing permissions and
 14  
  * limitations under the License.
 15  
  */
 16  
 package org.kuali.student.lum.program.dto;
 17  
 
 18  
 import java.io.Serializable;
 19  
 import java.util.ArrayList;
 20  
 import java.util.HashMap;
 21  
 import java.util.List;
 22  
 import java.util.Map;
 23  
 
 24  
 import javax.xml.bind.annotation.XmlAccessType;
 25  
 import javax.xml.bind.annotation.XmlAccessorType;
 26  
 import javax.xml.bind.annotation.XmlAttribute;
 27  
 import javax.xml.bind.annotation.XmlElement;
 28  
 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
 29  
 
 30  
 import org.kuali.student.core.dto.HasAttributes;
 31  
 import org.kuali.student.core.dto.HasTypeState;
 32  
 import org.kuali.student.core.dto.Idable;
 33  
 import org.kuali.student.core.dto.MetaInfo;
 34  
 import org.kuali.student.core.dto.RichTextInfo;
 35  
 import org.kuali.student.core.versionmanagement.dto.VersionInfo;
 36  
 import org.kuali.student.core.ws.binding.JaxbAttributeMapListAdapter;
 37  
 import org.kuali.student.lum.course.dto.LoDisplayInfo;
 38  
 import org.kuali.student.lum.program.dto.assembly.ProgramAtpAssembly;
 39  
 import org.kuali.student.lum.program.dto.assembly.ProgramBasicOrgAssembly;
 40  
 import org.kuali.student.lum.program.dto.assembly.ProgramCodeAssembly;
 41  
 import org.kuali.student.lum.program.dto.assembly.ProgramCommonAssembly;
 42  
 import org.kuali.student.lum.program.dto.assembly.ProgramIdentifierAssembly;
 43  
 import org.kuali.student.lum.program.dto.assembly.ProgramPublicationAssembly;
 44  
 import org.kuali.student.lum.program.dto.assembly.ProgramRequirementAssembly;
 45  
 
 46  
 /**
 47  
  * Detailed information about a core program requirements associated with Credential Programs
 48  
  *
 49  
  * @Author KSContractMojo
 50  
  * @Author Li Pan
 51  
  * @Since Wed Jun 30 14:55:48 PDT 2010
 52  
  * @See <a href="https://test.kuali.org/confluence/display/KULSTU/coreProgramInfo+Structure">CoreProgramInfo</>
 53  
  *
 54  
  */
 55  
 @XmlAccessorType(XmlAccessType.FIELD)
 56  0
 public class CoreProgramInfo implements Serializable, Idable, HasTypeState, HasAttributes, ProgramCommonAssembly, ProgramBasicOrgAssembly, ProgramAtpAssembly,
 57  
         ProgramCodeAssembly, ProgramIdentifierAssembly, ProgramPublicationAssembly, ProgramRequirementAssembly {
 58  
 
 59  
     private static final long serialVersionUID = 1L;
 60  
 
 61  
     @XmlElement
 62  
     private String shortTitle;
 63  
 
 64  
     @XmlElement
 65  
     private String longTitle;
 66  
     
 67  
     @XmlElement
 68  
     private String transcriptTitle;
 69  
 
 70  
     @XmlElement
 71  
     private String code;
 72  
     
 73  
     @XmlElement
 74  
     private String universityClassification;
 75  
 
 76  
     @XmlElement
 77  
     private String startTerm;
 78  
 
 79  
     @XmlElement
 80  
     private String endTerm;
 81  
 
 82  
     @XmlElement
 83  
     private String endProgramEntryTerm;
 84  
 
 85  
     @XmlElement
 86  
     private List<String> programRequirements;
 87  
 
 88  
     @XmlElement
 89  
     private List<String> divisionsContentOwner;
 90  
     
 91  
     @XmlElement
 92  
     private List<String> divisionsStudentOversight;
 93  
 
 94  
     @XmlElement
 95  
     private List<String> unitsContentOwner;
 96  
     
 97  
     @XmlElement
 98  
     private List<String> unitsStudentOversight;
 99  
 
 100  
     @XmlElement
 101  
     private RichTextInfo descr;
 102  
     
 103  
     @XmlElement
 104  
     private String referenceURL;
 105  
     
 106  
     @XmlElement
 107  
     private RichTextInfo catalogDescr;
 108  
 
 109  
     @XmlElement
 110  
     private List<String> catalogPublicationTargets;
 111  
     
 112  
     @XmlElement
 113  
     private List<LoDisplayInfo> learningObjectives;
 114  
     
 115  
     @XmlElement
 116  
     @XmlJavaTypeAdapter(JaxbAttributeMapListAdapter.class)
 117  
     private Map<String, String> attributes;
 118  
 
 119  
     @XmlElement
 120  
     private MetaInfo metaInfo;
 121  
 
 122  
     @XmlElement
 123  
     private VersionInfo versionInfo;
 124  
 
 125  
     @XmlAttribute
 126  
     private String type;
 127  
 
 128  
     @XmlAttribute
 129  
     private String state;
 130  
 
 131  
     @XmlAttribute
 132  
     private String id;
 133  
 
 134  
     /**
 135  
      * Core Program Requirements.
 136  
      */
 137  
     public List<String> getProgramRequirements() {
 138  0
         if (programRequirements == null) {
 139  0
             programRequirements = new ArrayList<String>(0);
 140  
         }
 141  0
         return programRequirements;
 142  
     }
 143  
 
 144  
     public void setProgramRequirements(List<String> programRequirements) {
 145  0
         this.programRequirements = programRequirements;
 146  0
     }
 147  
 
 148  
     /**
 149  
      * List of key/value pairs, typically used for dynamic attributes.
 150  
      */
 151  
     public Map<String, String> getAttributes() {
 152  0
         if (attributes == null) {
 153  0
             attributes = new HashMap<String, String>();
 154  
         }
 155  0
         return attributes;
 156  
     }
 157  
 
 158  
     public void setAttributes(Map<String, String> attributes) {
 159  0
         this.attributes = attributes;
 160  0
     }
 161  
 
 162  
     /**
 163  
      * Create and last update info for the structure. This is optional and treated as read only since the data is set by the internals of the service during maintenance operations.
 164  
      */
 165  
     public MetaInfo getMetaInfo() {
 166  0
         return metaInfo;
 167  
     }
 168  
 
 169  
     public void setMetaInfo(MetaInfo metaInfo) {
 170  0
         this.metaInfo = metaInfo;
 171  0
     }
 172  
 
 173  
         
 174  
     public VersionInfo getVersionInfo() {
 175  0
                 return versionInfo;
 176  
         }
 177  
 
 178  
         public void setVersionInfo(VersionInfo versionInfo) {
 179  0
                 this.versionInfo = versionInfo;
 180  0
         }
 181  
 
 182  
         /**
 183  
      * Unique identifier for a learning unit type. Once set at create time, this field may not be updated.
 184  
      */
 185  
     public String getType() {
 186  0
         return type;
 187  
     }
 188  
 
 189  
     public void setType(String type) {
 190  0
         this.type = type;
 191  0
     }
 192  
 
 193  
     /**
 194  
      * The current status of the credential program. The values for this field are constrained to those in the luState enumeration. A separate setup operation does not exist for retrieval of the meta data around this value.
 195  
      */
 196  
     public String getState() {
 197  0
         return state;
 198  
     }
 199  
 
 200  
     public void setState(String state) {
 201  0
         this.state = state;
 202  0
     }
 203  
 
 204  
     /**
 205  
      * Unique identifier for an Core Program Requirement. This is optional, due to the identifier being set at the time of creation. Once the Program has been created, this should be seen as required.
 206  
      */
 207  
     public String getId() {
 208  0
         return id;
 209  
     }
 210  
 
 211  
     public void setId(String id) {
 212  0
         this.id = id;
 213  0
     }
 214  
     
 215  
     /**
 216  
      * Abbreviated name of the Core requirement 
 217  
      */
 218  
     public String getShortTitle() {
 219  0
         return shortTitle;
 220  
     }
 221  
 
 222  
     public void setShortTitle(String shortTitle) {
 223  0
         this.shortTitle = shortTitle;
 224  0
     }
 225  
 
 226  
     /**
 227  
      * Full name of the Core Requirement    
 228  
      */
 229  
     public String getLongTitle() {
 230  0
         return longTitle;
 231  
     }
 232  
 
 233  
     public void setLongTitle(String longTitle) {
 234  0
         this.longTitle = longTitle;
 235  0
     }
 236  
 
 237  
     /**
 238  
      * Information related to the official identification of the Core requirement, typically in human readable form. Used to officially reference or publish.
 239  
      */
 240  
     public String getTranscriptTitle() {
 241  0
         return transcriptTitle;
 242  
     }
 243  
     
 244  
     public void setTranscriptTitle(String transcriptTitle) {
 245  0
         this.transcriptTitle = transcriptTitle;
 246  0
     }
 247  
 
 248  
     @Override
 249  
     public String getDiplomaTitle() {
 250  0
         return null;  //To change body of implemented methods use File | Settings | File Templates.
 251  
     }
 252  
 
 253  
     @Override
 254  
     public void setDiplomaTitle(String diplomaTitle) {
 255  
         //To change body of implemented methods use File | Settings | File Templates.
 256  0
     }
 257  
 
 258  
     /**
 259  
      * The composite string that is used to officially reference or publish the Core Program.   
 260  
      */
 261  
     public String getCode() {
 262  0
         return code;
 263  
     }
 264  
 
 265  
     public void setCode(String code) {
 266  0
         this.code = code;
 267  0
     }
 268  
 
 269  
     /**
 270  
      * University specific classification e.g General Education Program 
 271  
      */
 272  
     public String getUniversityClassification() {
 273  0
         return universityClassification;
 274  
     }
 275  
 
 276  
     public void setUniversityClassification(String universityClassification) {
 277  0
         this.universityClassification = universityClassification;
 278  0
     }
 279  
 
 280  
     /**
 281  
      * The first academic time period that this clu would be effective. This may not reflect the first "real" academic time period for this Core.   
 282  
      */
 283  
     public String getStartTerm() {
 284  0
         return startTerm;
 285  
     }
 286  
 
 287  
     public void setStartTerm(String startTerm) {
 288  0
         this.startTerm = startTerm;
 289  0
     }
 290  
 
 291  
     /**
 292  
      * The last academic time period that this Core would be effective. 
 293  
      */
 294  
     public String getEndTerm() {
 295  0
         return endTerm;
 296  
     }
 297  
 
 298  
     public void setEndTerm(String endTerm) {
 299  0
         this.endTerm = endTerm;
 300  0
     }
 301  
 
 302  
     /**
 303  
      * The last academic time period that this Core would be available for enrollment. This may not reflect the last "real" academic time period for this requirement.  
 304  
      */
 305  
     public String getEndProgramEntryTerm() {
 306  0
         return endProgramEntryTerm;
 307  
     }
 308  
 
 309  
     public void setEndProgramEntryTerm(String endProgramEntryTerm) {
 310  0
         this.endProgramEntryTerm = endProgramEntryTerm;
 311  0
     }
 312  
 
 313  
     /**
 314  
      * Divisions responsible to make changes to the CORE requirements   
 315  
      */
 316  
     public List<String> getDivisionsContentOwner() {
 317  0
         return divisionsContentOwner;
 318  
     }
 319  
 
 320  
     public void setDivisionsContentOwner(List<String> divisionsContentOwner) {
 321  0
         this.divisionsContentOwner = divisionsContentOwner;
 322  0
     }
 323  
 
 324  
     /**
 325  
      * Divisions responsible for student exceptions to the requirements.    
 326  
      */
 327  
     public List<String> getDivisionsStudentOversight() {
 328  0
         return divisionsStudentOversight;
 329  
     }
 330  
 
 331  
     public void setDivisionsStudentOversight(List<String> divisionsStudentOversight) {
 332  0
         this.divisionsStudentOversight = divisionsStudentOversight;
 333  0
     }
 334  
     
 335  
     /**
 336  
      * Unit responsible to make changes to the CORE requirements    
 337  
      */
 338  
     public List<String> getUnitsContentOwner() {
 339  0
         return unitsContentOwner;
 340  
     }
 341  
 
 342  
     public void setUnitsContentOwner(List<String> unitsContentOwner) {
 343  0
         this.unitsContentOwner = unitsContentOwner;
 344  0
     }
 345  
 
 346  
     /**
 347  
      * Unit responsible for student exceptions to the requirements. 
 348  
      */
 349  
     public List<String> getUnitsStudentOversight() {
 350  0
         return unitsStudentOversight;
 351  
     }
 352  
 
 353  
     public void setUnitsStudentOversight(List<String> unitsStudentOversight) {
 354  0
         this.unitsStudentOversight = unitsStudentOversight;
 355  0
     }
 356  
 
 357  
     /**
 358  
      * Narrative description of the Core requirement.   
 359  
      */
 360  
     public RichTextInfo getDescr() {
 361  0
         return descr;
 362  
     }
 363  
     
 364  
     public void setDescr(RichTextInfo descr) {
 365  0
         this.descr = descr;
 366  0
     }
 367  
 
 368  
     /**
 369  
      * Narrative description of the Core that will show up in Catalog
 370  
      */
 371  
     public RichTextInfo getCatalogDescr() {
 372  0
         return catalogDescr;
 373  
     }
 374  
 
 375  
     public void setCatalogDescr(RichTextInfo catalogDescr) {
 376  0
         this.catalogDescr = catalogDescr;
 377  0
     }
 378  
 
 379  
     /**
 380  
      * List of catalog targets where information will be published.   
 381  
      */
 382  
     public List<String> getCatalogPublicationTargets() {
 383  0
         return catalogPublicationTargets;
 384  
     }
 385  
 
 386  
     public void setCatalogPublicationTargets(List<String> catalogPublicationTargets) {
 387  0
         this.catalogPublicationTargets = catalogPublicationTargets;
 388  0
     }
 389  
 
 390  
     /**
 391  
      * An URL for additional information about the Core Requirement.    
 392  
      */
 393  
     public String getReferenceURL() {
 394  0
         return referenceURL;
 395  
     }
 396  
 
 397  
     public void setReferenceURL(String referenceURL) {
 398  0
         this.referenceURL = referenceURL;
 399  0
     }
 400  
 
 401  
     /**
 402  
      * Learning Objectives associated with this Core requirement.   
 403  
      */
 404  
     public List<LoDisplayInfo> getLearningObjectives() {
 405  0
         return learningObjectives;
 406  
     }
 407  
 
 408  
     public void setLearningObjectives(List<LoDisplayInfo> learningObjectives) {
 409  0
         this.learningObjectives = learningObjectives;
 410  0
     }
 411  
 
 412  
     @Override
 413  
     public String getCip2000Code() {
 414  0
         return null;  //To change body of implemented methods use File | Settings | File Templates.
 415  
     }
 416  
 
 417  
     @Override
 418  
     public void setCip2000Code(String cip2000Code) {
 419  
         //To change body of implemented methods use File | Settings | File Templates.
 420  0
     }
 421  
 
 422  
     @Override
 423  
     public String getCip2010Code() {
 424  0
         return null;  //To change body of implemented methods use File | Settings | File Templates.
 425  
     }
 426  
 
 427  
     @Override
 428  
     public void setCip2010Code(String cip2010Code) {
 429  
         //To change body of implemented methods use File | Settings | File Templates.
 430  0
     }
 431  
 
 432  
     @Override
 433  
     public String getHegisCode() {
 434  0
         return null;  //To change body of implemented methods use File | Settings | File Templates.
 435  
     }
 436  
 
 437  
     @Override
 438  
     public void setHegisCode(String hegisCode) {
 439  
         //To change body of implemented methods use File | Settings | File Templates.
 440  0
     }
 441  
 
 442  
     @Override
 443  
     public String getSelectiveEnrollmentCode() {
 444  0
         return null;  //To change body of implemented methods use File | Settings | File Templates.
 445  
     }
 446  
 
 447  
     @Override
 448  
     public void setSelectiveEnrollmentCode(String selectiveEnrollmentCode) {
 449  
         //To change body of implemented methods use File | Settings | File Templates.
 450  0
     }
 451  
 }