Coverage Report - org.kuali.student.enrollment.hold.dto.RestrictionInfo
 
Classes in this File Line Coverage Branch Coverage Complexity
RestrictionInfo
0%
0/6
N/A
1
 
 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  
 package org.kuali.student.enrollment.hold.dto;
 16  
 
 17  
 import java.io.Serializable;
 18  
 import java.util.List;
 19  
 
 20  
 import javax.xml.bind.annotation.XmlAccessType;
 21  
 import javax.xml.bind.annotation.XmlAccessorType;
 22  
 import javax.xml.bind.annotation.XmlAnyElement;
 23  
 import javax.xml.bind.annotation.XmlType;
 24  
 
 25  
 import org.kuali.student.enrollment.hold.infc.Restriction;
 26  
 import org.kuali.student.r2.common.dto.KeyEntityInfo;
 27  
 import org.w3c.dom.Element;
 28  
 
 29  
 @XmlAccessorType(XmlAccessType.FIELD)
 30  
 @XmlType(name = "RestrictionInfo", propOrder = { "key", "typeKey", "stateKey",
 31  
                 "name", "descr", "meta", "attributes", "_futureElements" })
 32  
 public class RestrictionInfo extends KeyEntityInfo implements Restriction,
 33  
                 Serializable {
 34  
         private static final long serialVersionUID = 1L;
 35  
 
 36  
         @XmlAnyElement
 37  
         private final List<Element> _futureElements;
 38  
 
 39  0
         public RestrictionInfo() {
 40  0
                 _futureElements = null;
 41  0
         }
 42  
 
 43  
         /**
 44  
          * Constructs a new RestrictionInfo from another Restriction.
 45  
          * 
 46  
          * @param restriction
 47  
          *            the Restriction to copy
 48  
          */
 49  
         public RestrictionInfo(Restriction restriction) {
 50  0
                 super(restriction);
 51  0
                 _futureElements = null;
 52  0
         }
 53  
 }