Coverage Report - org.kuali.student.r2.core.statement.dto.RefStatementRelationInfo
 
Classes in this File Line Coverage Branch Coverage Complexity
RefStatementRelationInfo
0%
0/16
0%
0/2
1.125
 
 1  
 /*
 2  
  * Copyright 2011 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.r2.core.statement.dto;
 17  
 
 18  
 import org.kuali.student.r2.common.dto.RelationshipInfo;
 19  
 import org.kuali.student.r2.core.statement.infc.RefStatementRelation;
 20  
 import org.w3c.dom.Element;
 21  
 
 22  
 import javax.xml.bind.annotation.XmlAccessType;
 23  
 import javax.xml.bind.annotation.XmlAccessorType;
 24  
 import javax.xml.bind.annotation.XmlAnyElement;
 25  
 import javax.xml.bind.annotation.XmlElement;
 26  
 import javax.xml.bind.annotation.XmlType;
 27  
 import java.io.Serializable;
 28  
 import java.util.List;
 29  
 
 30  
 @XmlAccessorType(XmlAccessType.FIELD)
 31  
 @XmlType(name = "RefStatementRelationInfo", propOrder = {"id", "typeKey", "stateKey", "refObjectTypeKey", "refObjectId", "statementId", "effectiveDate", "expirationDate", "meta", "attributes", "_futureElements"})
 32  
 public class RefStatementRelationInfo extends RelationshipInfo implements RefStatementRelation, Serializable {
 33  
 
 34  
     private static final long serialVersionUID = 1L;
 35  
     @XmlElement
 36  
     private String refObjectTypeKey;
 37  
     @XmlElement
 38  
     private String refObjectId;
 39  
     @XmlElement
 40  
     private String statementId;
 41  
     @XmlAnyElement
 42  
     private List<Element> _futureElements;
 43  
 
 44  0
     public RefStatementRelationInfo() {
 45  0
     }
 46  
 
 47  
     public RefStatementRelationInfo(RefStatementRelation refStatementRelation) {
 48  0
         super(refStatementRelation);
 49  0
         if (null != refStatementRelation) {
 50  0
             this.refObjectId = refStatementRelation.getRefObjectId();
 51  0
             this.statementId = refStatementRelation.getStatementId();
 52  
         }
 53  0
     }
 54  
 
 55  
     @Override
 56  
     public String getRefObjectTypeKey() {
 57  0
         return this.refObjectTypeKey;
 58  
     }
 59  
 
 60  
     public void setRefObjectTypeKey(String refObjectTypeKey) {
 61  0
         this.refObjectTypeKey = refObjectTypeKey;
 62  0
     }
 63  
 
 64  
     @Override
 65  
     public String getRefObjectId() {
 66  0
         return this.refObjectId;
 67  
     }
 68  
 
 69  
     public void setRefObjectId(String refObjectId) {
 70  0
         this.refObjectId = refObjectId;
 71  0
     }
 72  
 
 73  
     @Override
 74  
     public String getStatementId() {
 75  0
         return this.statementId;
 76  
     }
 77  
 
 78  
     public void setStatementId(String statementId) {
 79  0
         this.statementId = statementId;
 80  0
     }
 81  
 
 82  
 }