Debian Codegraph @

jna-inchi-api/src/main/java/io/github/dan2097/jnainchi/InchiInputFromAuxinfoOutput.java

raw
1 /**
2 * JNA-InChI - Library for calling InChI from Java
3 * Copyright © 2018 Daniel Lowe
4 *
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2.1 of the License, or (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU Lesser General Public License for more details.
14 *
15 * You should have received a copy of the GNU Lesser General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */
18 package io.github.dan2097.jnainchi;
19
20 public class InchiInputFromAuxinfoOutput {
21
22 private final InchiInput inchiInput;
23 private final Boolean chiralFlag;
24 private final String message;
25 private final InchiStatus status;
26
27
28 InchiInputFromAuxinfoOutput(InchiInput inchiInput, Boolean chiralFlag, String message, InchiStatus status) {
29 this.inchiInput = inchiInput;
30 this.chiralFlag = chiralFlag;
31 this.message = message;
32 this.status = status;
33 }
34
35 public InchiInput getInchiInput() {
36 return inchiInput;
37 }
38
39 /**
40 * True if the structure was marked as chiral
41 * False if marked as not chiral
42 * null if not marked
43 * @return
44 */
45 public Boolean getChiralFlag() {
46 return chiralFlag;
47 }
48
49
50 public String getMessage() {
51 return message;
52 }
53
54
55 public InchiStatus getStatus() {
56 return status;
57 }
58
59 }