|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| StatementInfo | Line # 26 | 9 | 0% | 8 | 4 | 80% |
0.8
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||
| (12) | |||
| Result | |||
|
0.7
|
org.kuali.student.core.statement.service.impl.TestStatementServiceImpl.testCreateStatement
org.kuali.student.core.statement.service.impl.TestStatementServiceImpl.testCreateStatement
|
1 PASS | |
|
0.65
|
org.kuali.student.core.statement.service.impl.TestStatementServiceImpl.testUpdateStatement
org.kuali.student.core.statement.service.impl.TestStatementServiceImpl.testUpdateStatement
|
1 PASS | |
|
0.6
|
org.kuali.student.core.statement.service.impl.TestStatementServiceImpl.testUpdateStatementTreeViewFromEmpty
org.kuali.student.core.statement.service.impl.TestStatementServiceImpl.testUpdateStatementTreeViewFromEmpty
|
1 PASS | |
|
0.5
|
org.kuali.student.core.dictionary.service.TestStatementDictionary.testStatementInfoValidation
org.kuali.student.core.dictionary.service.TestStatementDictionary.testStatementInfoValidation
|
1 PASS | |
|
0.4
|
org.kuali.student.core.statement.service.impl.TestStatementServiceImpl.testGetStatements_DetailInfo
org.kuali.student.core.statement.service.impl.TestStatementServiceImpl.testGetStatements_DetailInfo
|
1 PASS | |
|
0.4
|
org.kuali.student.core.statement.service.impl.TestStatementServiceImpl.testStatementStatementRelation
org.kuali.student.core.statement.service.impl.TestStatementServiceImpl.testStatementStatementRelation
|
1 PASS | |
|
0.4
|
org.kuali.student.core.statement.service.impl.TestStatementServiceImpl.testGetStatementsByType
org.kuali.student.core.statement.service.impl.TestStatementServiceImpl.testGetStatementsByType
|
1 PASS | |
|
0.4
|
org.kuali.student.core.statement.service.impl.TestStatementServiceImpl.testGetStatement
org.kuali.student.core.statement.service.impl.TestStatementServiceImpl.testGetStatement
|
1 PASS | |
|
0.2
|
org.kuali.student.core.statement.service.impl.TestStatementServiceImpl.testGetStatementsUsingStatement
org.kuali.student.core.statement.service.impl.TestStatementServiceImpl.testGetStatementsUsingStatement
|
1 PASS | |
|
0.2
|
org.kuali.student.core.statement.service.impl.TestStatementServiceImpl.testUpdateStatement_VersionMismatchException
org.kuali.student.core.statement.service.impl.TestStatementServiceImpl.testUpdateStatement_VersionMismatchException
|
1 PASS | |
|
0.2
|
org.kuali.student.core.statement.service.impl.TestStatementServiceImpl.testGetStatementsUsingReqComponent
org.kuali.student.core.statement.service.impl.TestStatementServiceImpl.testGetStatementsUsingReqComponent
|
1 PASS | |
|
0.2
|
org.kuali.student.core.statement.service.impl.TestStatementServiceImpl.testDeleteStatement
org.kuali.student.core.statement.service.impl.TestStatementServiceImpl.testDeleteStatement
|
1 PASS | |
| 1 | /** | |
| 2 | * Copyright 2010 The Kuali Foundation Licensed under the | |
| 3 | * Educational Community License, Version 2.0 (the "License"); you may | |
| 4 | * not use this file except in compliance with the License. You may | |
| 5 | * obtain a copy of the License at | |
| 6 | * | |
| 7 | * http://www.osedu.org/licenses/ECL-2.0 | |
| 8 | * | |
| 9 | * Unless required by applicable law or agreed to in writing, | |
| 10 | * software distributed under the License is distributed on an "AS IS" | |
| 11 | * BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express | |
| 12 | * or implied. See the License for the specific language governing | |
| 13 | * permissions and limitations under the License. | |
| 14 | */ | |
| 15 | ||
| 16 | package org.kuali.student.core.statement.dto; | |
| 17 | ||
| 18 | import java.util.ArrayList; | |
| 19 | import java.util.List; | |
| 20 | ||
| 21 | import javax.xml.bind.annotation.XmlElement; | |
| 22 | ||
| 23 | /** | |
| 24 | *Detailed information about a single LU statement. | |
| 25 | */ | |
| 26 | public class StatementInfo extends AbstractStatementInfo { | |
| 27 | ||
| 28 | private static final long serialVersionUID = 1L; | |
| 29 | ||
| 30 | @XmlElement | |
| 31 | private List<String> statementIds; | |
| 32 | ||
| 33 | @XmlElement | |
| 34 | private List<String> reqComponentIds; | |
| 35 | /** | |
| 36 | * List of LU statement identifiers. | |
| 37 | */ | |
| 38 | 22 |
public List<String> getStatementIds() { |
| 39 | 22 | if (statementIds == null) { |
| 40 | 2 | statementIds = new ArrayList<String>(0); |
| 41 | } | |
| 42 | 22 | return statementIds; |
| 43 | } | |
| 44 | ||
| 45 | 45 |
public void setStatementIds(List<String> statementIds) { |
| 46 | 45 | this.statementIds = statementIds; |
| 47 | } | |
| 48 | ||
| 49 | /** | |
| 50 | * List of requirement component identifiers. | |
| 51 | */ | |
| 52 | 24 |
public List<String> getReqComponentIds() { |
| 53 | 24 | if (reqComponentIds == null) { |
| 54 | 3 | reqComponentIds = new ArrayList<String>(0); |
| 55 | } | |
| 56 | 24 | return reqComponentIds; |
| 57 | } | |
| 58 | ||
| 59 | 45 |
public void setReqComponentIds(List<String> reqComponentIds) { |
| 60 | 45 | this.reqComponentIds = reqComponentIds; |
| 61 | } | |
| 62 | ||
| 63 | 0 |
@Override |
| 64 | public String toString() { | |
| 65 | 0 | return "StatementInfo[id=" + getId() + (getDesc() == null ? "" : ", desc=" + getDesc().getPlain()) + ", operator=" + getOperator() + ", type=" |
| 66 | + getType() + ", state=" + getState() + "]"; | |
| 67 | } | |
| 68 | } | |
|
||||||||||||