FileDocCategorySizeDatePackage
DisjunctionFragment.javaAPI DocHibernate 3.2.5547Thu Jun 03 11:31:32 BST 2004org.hibernate.sql

DisjunctionFragment

public class DisjunctionFragment extends Object
A disjunctive string of conditions
author
Gavin King

Fields Summary
private StringBuffer
buffer
Constructors Summary
Methods Summary
public org.hibernate.sql.DisjunctionFragmentaddCondition(ConditionFragment fragment)


	    
		if ( buffer.length()>0 ) buffer.append(" or ");
		buffer.append("(")
			.append( fragment.toFragmentString() )
			.append(")");
		return this;
	
public java.lang.StringtoFragmentString()

		return buffer.toString();