All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.apache.axis2.description.PhaseRule Maven / Gradle / Ivy

/*
* Copyright 2004,2005 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*      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.apache.axis2.description;

/**
 * Class PhaseRule
 */
public class PhaseRule {

    /**
     * Field after
     */
    private String after;

    /**
     * Field before
     */
    private String before;

    /**
     * Field phaseFirst
     */
    private boolean phaseFirst;

    /**
     * Field phaseLast
     */
    private boolean phaseLast;

    /**
     * Field phaseName
     */
    private String phaseName;

    /**
     * Constructor PhaseRule.
     */
    public PhaseRule() {
        this.before = "";
        this.after = "";
        this.phaseName = "";
    }

    public PhaseRule(String phaseName) {
        this.before = "";
        this.after = "";
        this.phaseName = phaseName;
    }

    /**
     * Method getAfter.
     *
     * @return Returns String.
     */
    public String getAfter() {
        return after;
    }

    /**
     * Method getBefore.
     *
     * @return Returns String.
     */
    public String getBefore() {
        return before;
    }

    /**
     * Method getPhaseName.
     *
     * @return Returns String.
     */
    public String getPhaseName() {
        return phaseName;
    }

    /**
     * Method isPhaseFirst.
     *
     * @return Returns boolean.
     */
    public boolean isPhaseFirst() {
        return phaseFirst;
    }

    /**
     * Method isPhaseLast.
     *
     * @return Returns boolean.
     */
    public boolean isPhaseLast() {
        return phaseLast;
    }

    /**
     * Method setAfter.
     *
     * @param after
     */
    public void setAfter(String after) {
        this.after = after;
    }

    /**
     * Method setBefore.
     *
     * @param before
     */
    public void setBefore(String before) {
        this.before = before;
    }

    /**
     * Method setPhaseFirst.
     *
     * @param phaseFirst
     */
    public void setPhaseFirst(boolean phaseFirst) {
        this.phaseFirst = phaseFirst;
    }

    /**
     * Method setPhaseLast.
     *
     * @param phaseLast
     */
    public void setPhaseLast(boolean phaseLast) {
        this.phaseLast = phaseLast;
    }

    /**
     * Method setPhaseName.
     *
     * @param phaseName
     */
    public void setPhaseName(String phaseName) {
        this.phaseName = phaseName;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy