org.drools.ide.common.client.factconstraints.config
Class SimpleConstraintConfigurationImpl

java.lang.Object
  extended by org.drools.ide.common.client.factconstraints.config.SimpleConstraintConfigurationImpl
All Implemented Interfaces:
Serializable, ConstraintConfiguration

public class SimpleConstraintConfigurationImpl
extends Object
implements ConstraintConfiguration

See Also:
Serialized Form

Constructor Summary
SimpleConstraintConfigurationImpl()
           
SimpleConstraintConfigurationImpl(ConstraintConfiguration constraintConfiguration)
           
 
Method Summary
 boolean containsArgument(String key)
           
 Set<String> getArgumentKeys()
           
 Object getArgumentValue(String key)
           
 String getConstraintName()
           
 String getFactType()
           
 String getFieldName()
           
 void setArgumentValue(String key, String value)
           
 void setConstraintName(String constraintName)
           
 void setFactType(String factType)
           
 void setFieldName(String fieldName)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SimpleConstraintConfigurationImpl

public SimpleConstraintConfigurationImpl(ConstraintConfiguration constraintConfiguration)

SimpleConstraintConfigurationImpl

public SimpleConstraintConfigurationImpl()
Method Detail

getArgumentKeys

public Set<String> getArgumentKeys()
Specified by:
getArgumentKeys in interface ConstraintConfiguration

getArgumentValue

public Object getArgumentValue(String key)
Specified by:
getArgumentValue in interface ConstraintConfiguration

getConstraintName

public String getConstraintName()
Specified by:
getConstraintName in interface ConstraintConfiguration

setConstraintName

public void setConstraintName(String constraintName)
Specified by:
setConstraintName in interface ConstraintConfiguration

getFactType

public String getFactType()
Specified by:
getFactType in interface ConstraintConfiguration

getFieldName

public String getFieldName()
Specified by:
getFieldName in interface ConstraintConfiguration

setArgumentValue

public void setArgumentValue(String key,
                             String value)
Specified by:
setArgumentValue in interface ConstraintConfiguration

setFactType

public void setFactType(String factType)
Specified by:
setFactType in interface ConstraintConfiguration

setFieldName

public void setFieldName(String fieldName)
Specified by:
setFieldName in interface ConstraintConfiguration

containsArgument

public boolean containsArgument(String key)
Specified by:
containsArgument in interface ConstraintConfiguration

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2001-2011 JBoss by Red Hat. All Rights Reserved.