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

javax.slee.profile.query.QueryExpression Maven / Gradle / Ivy

The newest version!
package javax.slee.profile.query;

import java.io.Serializable;

/**
 * The QueryExpression class is the base class for all dynamic query
 * expressions.
 */
public abstract class QueryExpression implements Serializable {
    /**
     * Get a string representation for this query expression.
     * @return a string representation for this query expression.
     */
    public final String toString() {
        StringBuffer buf = new StringBuffer();
        toString(buf);
        return buf.toString();
    }


    // protected

    /**
     * Get a string representation for this query expression.
     * @param buf a string buffer the string representation should be appended to.
     */
    protected abstract void toString(StringBuffer buf);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy