Last change
on this file since 507 was 507, checked in by George Lilly, 15 years ago |
NHIN gateway and adaptor for use on linux with VistA EHR and RPMS
|
File size:
741 bytes
|
Line | |
---|
1 | /*
|
---|
2 | * To change this template, choose Tools | Templates
|
---|
3 | * and open the template in the editor.
|
---|
4 | */
|
---|
5 | package gov.hhs.fha.nhinc.gateway.policyenginetransformation.Helpers;
|
---|
6 |
|
---|
7 | import gov.hhs.fha.nhinc.nhinclib.NullChecker;
|
---|
8 |
|
---|
9 | /**
|
---|
10 | *
|
---|
11 | * @author rayj
|
---|
12 | */
|
---|
13 | public class InboundOutboundChecker {
|
---|
14 |
|
---|
15 | public static boolean IsInbound(String value) {
|
---|
16 | boolean result = false;
|
---|
17 | if (NullChecker.isNotNullish(value)) {
|
---|
18 | result = value.equalsIgnoreCase("inbound");
|
---|
19 | }
|
---|
20 | return result;
|
---|
21 | }
|
---|
22 | public static boolean IsOutbound(String value) {
|
---|
23 | boolean result = false;
|
---|
24 | if (NullChecker.isNotNullish(value)) {
|
---|
25 | result = value.equalsIgnoreCase("outbound");
|
---|
26 | }
|
---|
27 | return result;
|
---|
28 | }
|
---|
29 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.