View Javadoc

1   /*
2    * Copyright 2013 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.rule.dto;
17  
18  import org.kuali.student.r2.common.dto.IdEntityInfo;
19  import org.kuali.student.core.rule.infc.Rule;
20  
21  import javax.xml.bind.annotation.XmlAccessType;
22  import javax.xml.bind.annotation.XmlAccessorType;
23  import javax.xml.bind.annotation.XmlAnyElement;
24  import javax.xml.bind.annotation.XmlType;
25  import java.io.Serializable;
26  import java.util.List;
27  
28  @XmlAccessorType(XmlAccessType.FIELD)
29  @XmlType(name = "RuleInfo", propOrder = {"id",
30          "typeKey",
31          "stateKey",
32          "name",
33          "descr",
34          "meta",
35          "attributes", "_futureElements" })
36  public class RuleInfo extends IdEntityInfo implements Rule, Serializable {
37  
38      private static final long serialVersionUID = 1L;
39  
40      @XmlAnyElement
41      private List<Object> _futureElements;
42  
43      public RuleInfo() {
44  
45      }
46  
47      public RuleInfo(Rule input) {
48          super(input);
49      }
50  }