Debian Codegraph @

src/dr/evomodel/treedatalikelihood/continuous/cdi/InstanceDetails.java

raw symbols SCIP
1 /*
2 * InstanceDetails.java
3 *
4 * Copyright (c) 2002-2016 Alexei Drummond, Andrew Rambaut and Marc Suchard
5 *
6 * This file is part of BEAST.
7 * See the NOTICE file distributed with this work for additional
8 * information regarding copyright ownership and licensing.
9 *
10 * BEAST is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU Lesser General Public License as
12 * published by the Free Software Foundation; either version 2
13 * of the License, or (at your option) any later version.
14 *
15 * BEAST is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU Lesser General Public License for more details.
19 *
20 * You should have received a copy of the GNU Lesser General Public
21 * License along with BEAST; if not, write to the
22 * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
23 * Boston, MA 02110-1301 USA
24 */
25
26 package dr.evomodel.treedatalikelihood.continuous.cdi;
27
28 import java.io.Serializable;
29
30 /**
31 * @author Marc A. Suchard
32 */
33 public class InstanceDetails implements Serializable {
34 private int resourceNumber;
35 private long flags;
36 private String resourceName;
37 private String implementationName;
38
39 public InstanceDetails() {
40 }
41
42 public int getResourceNumber() {
43 return resourceNumber;
44 }
45
46 public void setResourceNumber(int i) {
47 resourceNumber = i;
48 }
49
50 public String getResourceName() {
51 return resourceName;
52 }
53
54 public void setResourceName(String str) {
55 resourceName = str;
56 }
57
58 public String getImplementationName() {
59 return implementationName;
60 }
61
62 public void setImplementationName(String str) {
63 implementationName = str;
64 }
65
66 public long getFlags() {
67 return flags;
68 }
69
70 public void setFlags(long flags) {
71 this.flags = flags;
72 }
73
74 public String toString() {
75 return CDIFlag.toString(this.getFlags());
76 }
77 }