com.novell.zos.toolkit
Class ConstraintFactory

java.lang.Object
  extended by com.novell.zos.toolkit.ConstraintFactory

public class ConstraintFactory
extends Object

Factory pattern used to create constraint objects which may be combined into larger constraint hierarchies for use in searches or other constraint based matching.


Method Summary
static AndConstraint newAndConstraint()
          Create an instance of the AndConstraint
static BetweenConstraint newBetweenConstraint()
          Create an instance of the BetweenConstraint
static ContainsConstraint newContainsConstraint()
          Create an instance of the ContainsConstraint
static DefinedConstraint newDefinedConstraint()
          Create an instance of the DefinedConstraint
static EqConstraint newEqConstraint()
          Create an instance of the EqConstraint
static GeConstraint newGeConstraint()
          Create an instance of the GeConstraint
static GtConstraint newGtConstraint()
          Create an instance of the GtConstraint
static LeConstraint newLeConstraint()
          Create an instance of the LeConstraint
static LtConstraint newLtConstraint()
          Create an instance of the LtConstraint
static NeConstraint newNeConstraint()
          Create an instance of the NeConstraint
static NotConstraint newNotConstraint()
          Create an instance of the NotConstraint
static OrConstraint newOrConstraint()
          Create an instance of the OrConstraint
static TypedConstraint newTypedConstraint()
          Create an instance of the TypedConstraint
static UndefinedConstraint newUndefinedConstraint()
          Create an instance of the UndefinedConstraint
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

newTypedConstraint

public static TypedConstraint newTypedConstraint()
Create an instance of the TypedConstraint

Returns:
a new TypedConstraint

newAndConstraint

public static AndConstraint newAndConstraint()
Create an instance of the AndConstraint

Returns:
a new AndConstraint

newOrConstraint

public static OrConstraint newOrConstraint()
Create an instance of the OrConstraint

Returns:
a new OrConstraint

newNotConstraint

public static NotConstraint newNotConstraint()
Create an instance of the NotConstraint

Returns:
a new NotConstraint

newDefinedConstraint

public static DefinedConstraint newDefinedConstraint()
Create an instance of the DefinedConstraint

Returns:
a new DefinedConstraint

newUndefinedConstraint

public static UndefinedConstraint newUndefinedConstraint()
Create an instance of the UndefinedConstraint

Returns:
a new UndefinedConstraint

newEqConstraint

public static EqConstraint newEqConstraint()
Create an instance of the EqConstraint

Returns:
a new EqConstraint

newNeConstraint

public static NeConstraint newNeConstraint()
Create an instance of the NeConstraint

Returns:
a new NeConstraint

newLtConstraint

public static LtConstraint newLtConstraint()
Create an instance of the LtConstraint

Returns:
a new LtConstraint

newLeConstraint

public static LeConstraint newLeConstraint()
Create an instance of the LeConstraint

Returns:
a new LeConstraint

newGtConstraint

public static GtConstraint newGtConstraint()
Create an instance of the GtConstraint

Returns:
a new GtConstraint

newGeConstraint

public static GeConstraint newGeConstraint()
Create an instance of the GeConstraint

Returns:
a new GeConstraint

newContainsConstraint

public static ContainsConstraint newContainsConstraint()
Create an instance of the ContainsConstraint

Returns:
a new ContainsConstraint

newBetweenConstraint

public static BetweenConstraint newBetweenConstraint()
Create an instance of the BetweenConstraint

Returns:
a new BetweenConstraint


Copyright 2008 Novell, Inc. All Rights Reserved.