org.drools.ide.common.client.factconstraints.helper
Class ConstraintsContainer
java.lang.Object
org.drools.ide.common.client.factconstraints.helper.ConstraintsContainer
public class ConstraintsContainer
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConstraintsContainer
public ConstraintsContainer(ConstraintConfiguration[] constraints)
ConstraintsContainer
public ConstraintsContainer(Collection<ConstraintConfiguration> constraints)
ConstraintsContainer
public ConstraintsContainer()
removeConstraint
public List<ConstraintConfiguration> removeConstraint(ConstraintConfiguration c)
addConstraint
public void addConstraint(ConstraintConfiguration c)
getConstraints
public List<ConstraintConfiguration> getConstraints(String factType)
getConstraints
public List<ConstraintConfiguration> getConstraints(String factType,
String fieldName)
hasConstraints
public boolean hasConstraints(String FactType)
getAllConfigurations
public static Map<String,ConstraintConfiguration> getAllConfigurations()
getEmptyConfiguration
public static ConstraintConfiguration getEmptyConfiguration(String constraintName)
Copyright © 2001-2011 JBoss by Red Hat. All Rights Reserved.