this.model = modeller.getModel();
this.modeller = modeller;
this.readOnly = readOnly;
if ( con instanceof SingleFieldConstraintEBLeftSide ) {
SingleFieldConstraintEBLeftSide sfexp = (SingleFieldConstraintEBLeftSide) con;
this.factType = sfexp.getExpressionLeftSide().getPreviousClassType();
if ( this.factType == null ) {
this.factType = sfexp.getExpressionLeftSide().getClassType();
}
this.fieldName = sfexp.getExpressionLeftSide().getFieldName();
this.fieldType = sfexp.getExpressionLeftSide().getGenericType();
} else if ( con instanceof ConnectiveConstraint ) {
ConnectiveConstraint cc = (ConnectiveConstraint) con;
this.factType = cc.getFactType();
this.fieldName = cc.getFieldName();