/* * Copyright 2015 Red Hat, Inc. and/or its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.drools.compiler; import java.io.Serializable; public class Precondition implements Serializable { private String code; private String value; public Precondition() { } public Precondition(final String code, final String value) { super(); this.code = code; this.value = value; } public String getValue() { return this.value; } public void setValue(final String value) { this.value = value; } public String getCode() { return this.code; } public void setCode(final String code) { this.code = code; } }