| 1 | |
|
| 2 | |
|
| 3 | |
|
| 4 | |
|
| 5 | |
|
| 6 | |
|
| 7 | |
|
| 8 | |
|
| 9 | |
|
| 10 | |
|
| 11 | |
|
| 12 | |
|
| 13 | |
|
| 14 | |
|
| 15 | |
|
| 16 | |
package org.kuali.rice.krad.uif.field; |
| 17 | |
|
| 18 | |
import org.apache.commons.lang.StringUtils; |
| 19 | |
import org.kuali.rice.core.api.util.KeyValue; |
| 20 | |
import org.kuali.rice.core.web.format.Formatter; |
| 21 | |
import org.kuali.rice.krad.bo.DataObjectRelationship; |
| 22 | |
import org.kuali.rice.krad.bo.KualiCode; |
| 23 | |
import org.kuali.rice.krad.datadictionary.AttributeDefinition; |
| 24 | |
import org.kuali.rice.krad.datadictionary.AttributeSecurity; |
| 25 | |
import org.kuali.rice.krad.datadictionary.validation.constraint.CaseConstraint; |
| 26 | |
import org.kuali.rice.krad.datadictionary.validation.constraint.MustOccurConstraint; |
| 27 | |
import org.kuali.rice.krad.datadictionary.validation.constraint.PrerequisiteConstraint; |
| 28 | |
import org.kuali.rice.krad.datadictionary.validation.constraint.SimpleConstraint; |
| 29 | |
import org.kuali.rice.krad.datadictionary.validation.constraint.ValidCharactersConstraint; |
| 30 | |
import org.kuali.rice.krad.keyvalues.KeyValuesFinder; |
| 31 | |
import org.kuali.rice.krad.service.KRADServiceLocatorWeb; |
| 32 | |
import org.kuali.rice.krad.uif.UifConstants; |
| 33 | |
import org.kuali.rice.krad.uif.container.FormView; |
| 34 | |
import org.kuali.rice.krad.uif.container.View; |
| 35 | |
import org.kuali.rice.krad.uif.control.Control; |
| 36 | |
import org.kuali.rice.krad.uif.control.MultiValueControlBase; |
| 37 | |
import org.kuali.rice.krad.uif.core.BindingInfo; |
| 38 | |
import org.kuali.rice.krad.uif.core.Component; |
| 39 | |
import org.kuali.rice.krad.uif.core.DataBinding; |
| 40 | |
import org.kuali.rice.krad.uif.util.ClientValidationUtils; |
| 41 | |
import org.kuali.rice.krad.uif.util.ComponentUtils; |
| 42 | |
import org.kuali.rice.krad.uif.util.ObjectPropertyUtils; |
| 43 | |
import org.kuali.rice.krad.uif.util.ViewModelUtils; |
| 44 | |
import org.kuali.rice.krad.uif.widget.DirectInquiry; |
| 45 | |
import org.kuali.rice.krad.uif.widget.Inquiry; |
| 46 | |
import org.kuali.rice.krad.uif.widget.QuickFinder; |
| 47 | |
import org.kuali.rice.krad.uif.widget.Suggest; |
| 48 | |
import org.kuali.rice.krad.util.KRADPropertyConstants; |
| 49 | |
import org.kuali.rice.krad.util.ObjectUtils; |
| 50 | |
import org.kuali.rice.krad.valuefinder.ValueFinder; |
| 51 | |
|
| 52 | |
import java.util.ArrayList; |
| 53 | |
import java.util.List; |
| 54 | |
|
| 55 | |
|
| 56 | |
|
| 57 | |
|
| 58 | |
|
| 59 | |
|
| 60 | |
|
| 61 | |
|
| 62 | |
|
| 63 | |
|
| 64 | |
|
| 65 | |
|
| 66 | |
|
| 67 | |
|
| 68 | |
|
| 69 | |
|
| 70 | |
|
| 71 | |
|
| 72 | |
|
| 73 | |
public class AttributeField extends FieldBase implements DataBinding { |
| 74 | |
private static final long serialVersionUID = -3703656713706343840L; |
| 75 | |
|
| 76 | |
|
| 77 | |
private String defaultValue; |
| 78 | |
private Class<? extends ValueFinder> defaultValueFinderClass; |
| 79 | |
|
| 80 | |
|
| 81 | |
private String customValidatorClass; |
| 82 | |
private ValidCharactersConstraint validCharactersConstraint; |
| 83 | |
private CaseConstraint caseConstraint; |
| 84 | |
private List<PrerequisiteConstraint> dependencyConstraints; |
| 85 | |
private List<MustOccurConstraint> mustOccurConstraints; |
| 86 | |
private SimpleConstraint simpleConstraint; |
| 87 | |
|
| 88 | |
private Formatter formatter; |
| 89 | |
private KeyValuesFinder optionsFinder; |
| 90 | |
|
| 91 | |
|
| 92 | |
private String propertyName; |
| 93 | |
private BindingInfo bindingInfo; |
| 94 | |
|
| 95 | |
private String dictionaryAttributeName; |
| 96 | |
private String dictionaryObjectEntry; |
| 97 | |
|
| 98 | |
|
| 99 | |
private Control control; |
| 100 | |
|
| 101 | |
private String errorMessagePlacement; |
| 102 | |
private ErrorsField errorsField; |
| 103 | |
|
| 104 | |
|
| 105 | |
private String summary; |
| 106 | |
private String constraint; |
| 107 | |
private String description; |
| 108 | |
|
| 109 | |
private AttributeSecurity attributeSecurity; |
| 110 | |
private MessageField summaryMessageField; |
| 111 | |
private MessageField constraintMessageField; |
| 112 | |
|
| 113 | |
|
| 114 | |
protected String alternateDisplayPropertyName; |
| 115 | |
protected String additionalDisplayPropertyName; |
| 116 | |
|
| 117 | |
private String alternateDisplayValue; |
| 118 | |
private String additionalDisplayValue; |
| 119 | |
|
| 120 | |
private List<String> informationalDisplayPropertyNames; |
| 121 | |
private List<String> hiddenPropertyNames; |
| 122 | |
|
| 123 | |
private AttributeQuery fieldAttributeQuery; |
| 124 | |
|
| 125 | |
private boolean escapeHtmlInPropertyValue; |
| 126 | |
|
| 127 | |
|
| 128 | |
private Inquiry fieldInquiry; |
| 129 | |
private QuickFinder fieldLookup; |
| 130 | |
private DirectInquiry fieldDirectInquiry; |
| 131 | |
private Suggest fieldSuggest; |
| 132 | |
|
| 133 | |
public AttributeField() { |
| 134 | 0 | super(); |
| 135 | |
|
| 136 | 0 | simpleConstraint = new SimpleConstraint(); |
| 137 | 0 | informationalDisplayPropertyNames = new ArrayList<String>(); |
| 138 | 0 | hiddenPropertyNames = new ArrayList<String>(); |
| 139 | 0 | } |
| 140 | |
|
| 141 | |
|
| 142 | |
|
| 143 | |
|
| 144 | |
|
| 145 | |
|
| 146 | |
|
| 147 | |
|
| 148 | |
|
| 149 | |
|
| 150 | |
|
| 151 | |
@Override |
| 152 | |
public void performInitialization(View view) { |
| 153 | 0 | super.performInitialization(view); |
| 154 | |
|
| 155 | 0 | if (bindingInfo != null) { |
| 156 | 0 | bindingInfo.setDefaults(view, getPropertyName()); |
| 157 | |
} |
| 158 | 0 | } |
| 159 | |
|
| 160 | |
|
| 161 | |
|
| 162 | |
|
| 163 | |
|
| 164 | |
|
| 165 | |
|
| 166 | |
|
| 167 | |
|
| 168 | |
|
| 169 | |
|
| 170 | |
|
| 171 | |
|
| 172 | |
@Override |
| 173 | |
public void performFinalize(View view, Object model, Component parent) { |
| 174 | 0 | super.performFinalize(view, model, parent); |
| 175 | |
|
| 176 | 0 | setupIds(); |
| 177 | |
|
| 178 | |
|
| 179 | 0 | if (StringUtils.isNotBlank(summary)) { |
| 180 | 0 | summaryMessageField.setMessageText(summary); |
| 181 | |
} |
| 182 | |
|
| 183 | |
|
| 184 | 0 | if (StringUtils.isNotBlank(constraint)) { |
| 185 | 0 | constraintMessageField.setMessageText(constraint); |
| 186 | |
} |
| 187 | |
|
| 188 | |
|
| 189 | 0 | setAlternateAndAdditionalDisplayValue(view, model); |
| 190 | |
|
| 191 | |
|
| 192 | 0 | List<String> informationalPropertyPaths = new ArrayList<String>(); |
| 193 | 0 | for (String infoPropertyName : getInformationalDisplayPropertyNames()) { |
| 194 | 0 | String infoPropertyPath = getBindingInfo().getPropertyAdjustedBindingPath(infoPropertyName); |
| 195 | 0 | informationalPropertyPaths.add(infoPropertyPath); |
| 196 | 0 | } |
| 197 | 0 | this.informationalDisplayPropertyNames = informationalPropertyPaths; |
| 198 | |
|
| 199 | |
|
| 200 | |
|
| 201 | 0 | List<String> hiddenPropertyPaths = new ArrayList<String>(); |
| 202 | 0 | for (String hiddenPropertyName : getHiddenPropertyNames()) { |
| 203 | 0 | String hiddenPropertyPath = getBindingInfo().getPropertyAdjustedBindingPath(hiddenPropertyName); |
| 204 | 0 | hiddenPropertyPaths.add(hiddenPropertyPath); |
| 205 | 0 | } |
| 206 | 0 | this.hiddenPropertyNames = hiddenPropertyPaths; |
| 207 | |
|
| 208 | |
|
| 209 | |
|
| 210 | 0 | if (isReadOnly() || getControl() == null) { |
| 211 | 0 | return; |
| 212 | |
} |
| 213 | |
|
| 214 | 0 | setupFieldQuery(); |
| 215 | |
|
| 216 | |
|
| 217 | 0 | if ((optionsFinder != null) && (control != null) && control instanceof MultiValueControlBase) { |
| 218 | 0 | MultiValueControlBase multiValueControl = (MultiValueControlBase) control; |
| 219 | 0 | if ((multiValueControl.getOptions() == null) || multiValueControl.getOptions().isEmpty()) { |
| 220 | 0 | multiValueControl.setOptions(optionsFinder.getKeyValues()); |
| 221 | |
} |
| 222 | |
} |
| 223 | |
|
| 224 | 0 | if (view instanceof FormView && ((FormView) view).isValidateClientSide()) { |
| 225 | 0 | ClientValidationUtils.processAndApplyConstraints(this, view); |
| 226 | |
} |
| 227 | 0 | } |
| 228 | |
|
| 229 | |
|
| 230 | |
|
| 231 | |
|
| 232 | |
|
| 233 | |
|
| 234 | |
protected void setupFieldQuery() { |
| 235 | 0 | if (getFieldAttributeQuery() != null) { |
| 236 | |
|
| 237 | 0 | getFieldAttributeQuery().updateQueryFieldMapping(getBindingInfo()); |
| 238 | 0 | getFieldAttributeQuery().updateReturnFieldMapping(getBindingInfo()); |
| 239 | 0 | getFieldAttributeQuery().updateQueryMethodArgumentFieldList(getBindingInfo()); |
| 240 | |
|
| 241 | |
|
| 242 | 0 | String script = "executeFieldQuery('" + getControl().getId() + "',"; |
| 243 | 0 | script += "'" + getId() + "'," + getFieldAttributeQuery().getQueryFieldMappingJsString() + ","; |
| 244 | 0 | script += getFieldAttributeQuery().getQueryMethodArgumentFieldsJsString() + ","; |
| 245 | 0 | script += getFieldAttributeQuery().getReturnFieldMappingJsString() + ");"; |
| 246 | |
|
| 247 | 0 | if (StringUtils.isNotBlank(getControl().getOnBlurScript())) { |
| 248 | 0 | script = getControl().getOnBlurScript() + script; |
| 249 | |
} |
| 250 | 0 | getControl().setOnBlurScript(script); |
| 251 | |
} |
| 252 | 0 | } |
| 253 | |
|
| 254 | |
|
| 255 | |
|
| 256 | |
|
| 257 | |
|
| 258 | |
|
| 259 | |
|
| 260 | |
|
| 261 | |
|
| 262 | |
|
| 263 | |
|
| 264 | |
|
| 265 | |
|
| 266 | |
|
| 267 | |
|
| 268 | |
|
| 269 | |
|
| 270 | |
|
| 271 | |
|
| 272 | |
|
| 273 | |
|
| 274 | |
|
| 275 | |
|
| 276 | |
|
| 277 | |
|
| 278 | |
protected void setAlternateAndAdditionalDisplayValue(View view, Object model) { |
| 279 | 0 | boolean additionalValueSet = false; |
| 280 | 0 | boolean alternateValueSet = false; |
| 281 | |
|
| 282 | |
|
| 283 | 0 | if (getAttributeSecurity() != null) { |
| 284 | |
|
| 285 | |
|
| 286 | 0 | Object fieldValue = ObjectPropertyUtils.getPropertyValue(model, getBindingInfo().getBindingPath()); |
| 287 | 0 | alternateDisplayValue = getSecuredFieldValue(attributeSecurity, fieldValue); |
| 288 | |
|
| 289 | 0 | setReadOnly(true); |
| 290 | 0 | return; |
| 291 | |
} |
| 292 | |
|
| 293 | |
|
| 294 | 0 | if (!isReadOnly()) { |
| 295 | 0 | return; |
| 296 | |
} |
| 297 | |
|
| 298 | |
|
| 299 | 0 | if (StringUtils.isNotBlank(getAlternateDisplayPropertyName())) { |
| 300 | 0 | String alternateDisplayPropertyPath = |
| 301 | |
getBindingInfo().getPropertyAdjustedBindingPath(getAlternateDisplayPropertyName()); |
| 302 | |
|
| 303 | 0 | Object alternateFieldValue = ObjectPropertyUtils.getPropertyValue(model, alternateDisplayPropertyPath); |
| 304 | 0 | if (alternateFieldValue != null) { |
| 305 | |
|
| 306 | 0 | alternateDisplayValue = alternateFieldValue.toString(); |
| 307 | 0 | alternateValueSet = true; |
| 308 | |
} |
| 309 | |
} |
| 310 | |
|
| 311 | |
|
| 312 | 0 | if (StringUtils.isBlank(getAdditionalDisplayPropertyName()) && view.isTranslateCodes()) { |
| 313 | |
|
| 314 | 0 | Class<?> parentObjectClass = ViewModelUtils.getParentObjectClassForMetadata(view, model, this); |
| 315 | 0 | DataObjectRelationship relationship = KRADServiceLocatorWeb.getDataObjectMetaDataService() |
| 316 | |
.getDataObjectRelationship(null, parentObjectClass, getBindingInfo().getBindingName(), "", true, |
| 317 | |
false, false); |
| 318 | |
|
| 319 | 0 | if (relationship != null && getPropertyName().startsWith(relationship.getParentAttributeName()) && |
| 320 | |
KualiCode.class.isAssignableFrom(relationship.getRelatedClass())) { |
| 321 | 0 | additionalDisplayPropertyName = |
| 322 | |
relationship.getParentAttributeName() + "." + KRADPropertyConstants.NAME; |
| 323 | |
} |
| 324 | |
} |
| 325 | |
|
| 326 | |
|
| 327 | 0 | if (StringUtils.isNotBlank(getAdditionalDisplayPropertyName())) { |
| 328 | 0 | String additionalDisplayPropertyPath = |
| 329 | |
getBindingInfo().getPropertyAdjustedBindingPath(getAdditionalDisplayPropertyName()); |
| 330 | |
|
| 331 | 0 | Object additionalFieldValue = ObjectPropertyUtils.getPropertyValue(model, additionalDisplayPropertyPath); |
| 332 | 0 | if (additionalFieldValue != null) { |
| 333 | |
|
| 334 | 0 | additionalDisplayValue = additionalFieldValue.toString(); |
| 335 | 0 | additionalValueSet = true; |
| 336 | |
} |
| 337 | |
} |
| 338 | |
|
| 339 | |
|
| 340 | 0 | if (!alternateValueSet && !additionalValueSet && |
| 341 | |
(control != null && control instanceof MultiValueControlBase)) { |
| 342 | 0 | MultiValueControlBase multiValueControl = (MultiValueControlBase) control; |
| 343 | 0 | if (multiValueControl.getOptions() != null) { |
| 344 | 0 | for (KeyValue keyValue : multiValueControl.getOptions()) { |
| 345 | 0 | Object fieldValue = ObjectPropertyUtils.getPropertyValue(model, getBindingInfo().getBindingPath()); |
| 346 | |
|
| 347 | 0 | if (StringUtils.equals((String) fieldValue, keyValue.getKey())) { |
| 348 | 0 | alternateDisplayValue = keyValue.getValue(); |
| 349 | 0 | break; |
| 350 | |
} |
| 351 | 0 | } |
| 352 | |
} |
| 353 | |
} |
| 354 | 0 | } |
| 355 | |
|
| 356 | |
|
| 357 | |
|
| 358 | |
|
| 359 | |
|
| 360 | |
|
| 361 | |
|
| 362 | |
|
| 363 | |
private String getSecuredFieldValue(AttributeSecurity attributeSecurity, Object fieldValue) { |
| 364 | 0 | if (attributeSecurity.isMask()) { |
| 365 | 0 | return attributeSecurity.getMaskFormatter().maskValue(fieldValue); |
| 366 | 0 | } else if (getAttributeSecurity().isPartialMask()) { |
| 367 | 0 | return attributeSecurity.getPartialMaskFormatter().maskValue(fieldValue); |
| 368 | |
} else { |
| 369 | 0 | throw new RuntimeException("Encountered unsupported Attribute Security.."); |
| 370 | |
} |
| 371 | |
} |
| 372 | |
|
| 373 | |
|
| 374 | |
|
| 375 | |
|
| 376 | |
|
| 377 | |
|
| 378 | |
private void setupIds() { |
| 379 | |
|
| 380 | 0 | if (getControl() != null) { |
| 381 | 0 | getControl().setId(getId()); |
| 382 | |
} |
| 383 | |
|
| 384 | 0 | setNestedComponentIdAndSuffix(getErrorsField(), UifConstants.IdSuffixes.ERRORS); |
| 385 | 0 | setNestedComponentIdAndSuffix(getLabelField(), UifConstants.IdSuffixes.LABEL); |
| 386 | 0 | setNestedComponentIdAndSuffix(getSummaryMessageField(), UifConstants.IdSuffixes.SUMMARY); |
| 387 | 0 | setNestedComponentIdAndSuffix(getConstraintMessageField(), UifConstants.IdSuffixes.CONSTRAINT); |
| 388 | 0 | setNestedComponentIdAndSuffix(getFieldLookup(), UifConstants.IdSuffixes.QUICK_FINDER); |
| 389 | 0 | setNestedComponentIdAndSuffix(getFieldDirectInquiry(), UifConstants.IdSuffixes.DIRECT_INQUIRY); |
| 390 | 0 | setNestedComponentIdAndSuffix(getFieldSuggest(), UifConstants.IdSuffixes.SUGGEST); |
| 391 | |
|
| 392 | 0 | setId(getId() + UifConstants.IdSuffixes.ATTRIBUTE); |
| 393 | 0 | } |
| 394 | |
|
| 395 | |
|
| 396 | |
|
| 397 | |
|
| 398 | |
|
| 399 | |
|
| 400 | |
|
| 401 | |
private void setNestedComponentIdAndSuffix(Component component, String suffix) { |
| 402 | 0 | if (component != null) { |
| 403 | 0 | String fieldId = getId(); |
| 404 | 0 | fieldId += suffix; |
| 405 | |
|
| 406 | 0 | component.setId(fieldId); |
| 407 | |
} |
| 408 | 0 | } |
| 409 | |
|
| 410 | |
|
| 411 | |
|
| 412 | |
|
| 413 | |
|
| 414 | |
|
| 415 | |
|
| 416 | |
|
| 417 | |
|
| 418 | |
|
| 419 | |
|
| 420 | |
public void copyFromAttributeDefinition(AttributeDefinition attributeDefinition) { |
| 421 | |
|
| 422 | 0 | if (StringUtils.isEmpty(getLabel())) { |
| 423 | 0 | setLabel(attributeDefinition.getLabel()); |
| 424 | |
} |
| 425 | |
|
| 426 | |
|
| 427 | 0 | if (StringUtils.isEmpty(getShortLabel())) { |
| 428 | 0 | setShortLabel(attributeDefinition.getShortLabel()); |
| 429 | |
} |
| 430 | |
|
| 431 | |
|
| 432 | 0 | if (getMaxLength() == null) { |
| 433 | 0 | setMaxLength(attributeDefinition.getMaxLength()); |
| 434 | |
} |
| 435 | |
|
| 436 | |
|
| 437 | 0 | if (getMinLength() == null) { |
| 438 | 0 | setMinLength(attributeDefinition.getMinLength()); |
| 439 | |
} |
| 440 | |
|
| 441 | |
|
| 442 | 0 | if (getValidCharactersConstraint() == null) { |
| 443 | 0 | setValidCharactersConstraint(attributeDefinition.getValidCharactersConstraint()); |
| 444 | |
} |
| 445 | |
|
| 446 | 0 | if (getCaseConstraint() == null) { |
| 447 | 0 | setCaseConstraint(attributeDefinition.getCaseConstraint()); |
| 448 | |
} |
| 449 | |
|
| 450 | 0 | if (getDependencyConstraints() == null) { |
| 451 | 0 | setDependencyConstraints(attributeDefinition.getPrerequisiteConstraints()); |
| 452 | |
} |
| 453 | |
|
| 454 | 0 | if (getMustOccurConstraints() == null) { |
| 455 | 0 | setMustOccurConstraints(attributeDefinition.getMustOccurConstraints()); |
| 456 | |
} |
| 457 | |
|
| 458 | |
|
| 459 | 0 | if (getRequired() == null) { |
| 460 | 0 | setRequired(attributeDefinition.isRequired()); |
| 461 | |
|
| 462 | |
|
| 463 | 0 | if (getRequired() == null) { |
| 464 | 0 | setRequired(false); |
| 465 | |
} |
| 466 | |
} |
| 467 | |
|
| 468 | |
|
| 469 | 0 | if ((getControl() == null) && (attributeDefinition.getControlField() != null)) { |
| 470 | 0 | setControl(ComponentUtils.copy(attributeDefinition.getControlField())); |
| 471 | |
} |
| 472 | |
|
| 473 | |
|
| 474 | 0 | if (StringUtils.isEmpty(getSummary())) { |
| 475 | 0 | setSummary(attributeDefinition.getSummary()); |
| 476 | 0 | getSummaryMessageField().setMessageText(attributeDefinition.getSummary()); |
| 477 | |
} |
| 478 | |
|
| 479 | |
|
| 480 | 0 | if (StringUtils.isEmpty(getDescription())) { |
| 481 | 0 | setDescription(attributeDefinition.getDescription()); |
| 482 | |
} |
| 483 | |
|
| 484 | |
|
| 485 | 0 | if (getAttributeSecurity() == null) { |
| 486 | 0 | attributeSecurity = attributeDefinition.getAttributeSecurity(); |
| 487 | |
} |
| 488 | |
|
| 489 | |
|
| 490 | 0 | if (StringUtils.isEmpty(getConstraint())) { |
| 491 | 0 | setConstraint(attributeDefinition.getConstraint()); |
| 492 | 0 | getConstraintMessageField().setMessageText(attributeDefinition.getConstraint()); |
| 493 | |
} |
| 494 | |
|
| 495 | |
|
| 496 | 0 | if (getOptionsFinder() == null) { |
| 497 | 0 | setOptionsFinder(attributeDefinition.getOptionsFinder()); |
| 498 | |
} |
| 499 | |
|
| 500 | |
|
| 501 | 0 | if (getAlternateDisplayPropertyName() == null && |
| 502 | |
StringUtils.isNotBlank(attributeDefinition.getAlternateDisplayAttributeName())) { |
| 503 | 0 | setAlternateDisplayPropertyName(attributeDefinition.getAlternateDisplayAttributeName()); |
| 504 | |
} |
| 505 | |
|
| 506 | |
|
| 507 | 0 | if (getAdditionalDisplayPropertyName() == null && |
| 508 | |
StringUtils.isNotBlank(attributeDefinition.getAdditionalDisplayAttributeName())) { |
| 509 | 0 | setAdditionalDisplayPropertyName(attributeDefinition.getAdditionalDisplayAttributeName()); |
| 510 | |
} |
| 511 | |
|
| 512 | 0 | if (getFormatter() == null && StringUtils.isNotBlank(attributeDefinition.getFormatterClass())) { |
| 513 | 0 | Class clazz = null; |
| 514 | |
try { |
| 515 | 0 | clazz = Class.forName(attributeDefinition.getFormatterClass()); |
| 516 | 0 | } catch (ClassNotFoundException e) { |
| 517 | 0 | throw new RuntimeException("Unable to get class from name: " + attributeDefinition.getFormatterClass(), |
| 518 | |
e); |
| 519 | 0 | } |
| 520 | |
|
| 521 | 0 | Formatter formatter = (Formatter) ObjectUtils.newInstance(clazz); |
| 522 | 0 | setFormatter(formatter); |
| 523 | |
} |
| 524 | 0 | } |
| 525 | |
|
| 526 | |
|
| 527 | |
|
| 528 | |
|
| 529 | |
@Override |
| 530 | |
public List<Component> getNestedComponents() { |
| 531 | 0 | List<Component> components = super.getNestedComponents(); |
| 532 | |
|
| 533 | 0 | components.add(control); |
| 534 | 0 | components.add(errorsField); |
| 535 | 0 | components.add(fieldLookup); |
| 536 | 0 | components.add(fieldInquiry); |
| 537 | 0 | components.add(fieldDirectInquiry); |
| 538 | 0 | components.add(fieldSuggest); |
| 539 | |
|
| 540 | 0 | return components; |
| 541 | |
} |
| 542 | |
|
| 543 | |
|
| 544 | |
|
| 545 | |
|
| 546 | |
public String getPropertyName() { |
| 547 | 0 | return this.propertyName; |
| 548 | |
} |
| 549 | |
|
| 550 | |
|
| 551 | |
|
| 552 | |
|
| 553 | |
|
| 554 | |
|
| 555 | |
public void setPropertyName(String propertyName) { |
| 556 | 0 | this.propertyName = propertyName; |
| 557 | 0 | } |
| 558 | |
|
| 559 | |
|
| 560 | |
|
| 561 | |
|
| 562 | |
|
| 563 | |
|
| 564 | |
|
| 565 | |
|
| 566 | |
|
| 567 | |
|
| 568 | |
|
| 569 | |
|
| 570 | |
public String getDefaultValue() { |
| 571 | 0 | return this.defaultValue; |
| 572 | |
} |
| 573 | |
|
| 574 | |
|
| 575 | |
|
| 576 | |
|
| 577 | |
|
| 578 | |
|
| 579 | |
public void setDefaultValue(String defaultValue) { |
| 580 | 0 | this.defaultValue = defaultValue; |
| 581 | 0 | } |
| 582 | |
|
| 583 | |
|
| 584 | |
|
| 585 | |
|
| 586 | |
|
| 587 | |
|
| 588 | |
|
| 589 | |
public Class<? extends ValueFinder> getDefaultValueFinderClass() { |
| 590 | 0 | return this.defaultValueFinderClass; |
| 591 | |
} |
| 592 | |
|
| 593 | |
|
| 594 | |
|
| 595 | |
|
| 596 | |
|
| 597 | |
|
| 598 | |
public void setDefaultValueFinderClass(Class<? extends ValueFinder> defaultValueFinderClass) { |
| 599 | 0 | this.defaultValueFinderClass = defaultValueFinderClass; |
| 600 | 0 | } |
| 601 | |
|
| 602 | |
|
| 603 | |
|
| 604 | |
|
| 605 | |
|
| 606 | |
|
| 607 | |
|
| 608 | |
|
| 609 | |
|
| 610 | |
|
| 611 | |
|
| 612 | |
|
| 613 | |
|
| 614 | |
public Formatter getFormatter() { |
| 615 | 0 | return this.formatter; |
| 616 | |
} |
| 617 | |
|
| 618 | |
|
| 619 | |
|
| 620 | |
|
| 621 | |
|
| 622 | |
|
| 623 | |
public void setFormatter(Formatter formatter) { |
| 624 | 0 | this.formatter = formatter; |
| 625 | 0 | } |
| 626 | |
|
| 627 | |
|
| 628 | |
|
| 629 | |
|
| 630 | |
public BindingInfo getBindingInfo() { |
| 631 | 0 | return this.bindingInfo; |
| 632 | |
} |
| 633 | |
|
| 634 | |
|
| 635 | |
|
| 636 | |
|
| 637 | |
|
| 638 | |
|
| 639 | |
public void setBindingInfo(BindingInfo bindingInfo) { |
| 640 | 0 | this.bindingInfo = bindingInfo; |
| 641 | 0 | } |
| 642 | |
|
| 643 | |
|
| 644 | |
|
| 645 | |
|
| 646 | |
|
| 647 | |
|
| 648 | |
|
| 649 | |
|
| 650 | |
|
| 651 | |
|
| 652 | |
|
| 653 | |
|
| 654 | |
|
| 655 | |
public Control getControl() { |
| 656 | 0 | return this.control; |
| 657 | |
} |
| 658 | |
|
| 659 | |
|
| 660 | |
|
| 661 | |
|
| 662 | |
|
| 663 | |
|
| 664 | |
public void setControl(Control control) { |
| 665 | 0 | this.control = control; |
| 666 | 0 | } |
| 667 | |
|
| 668 | |
public String getErrorMessagePlacement() { |
| 669 | 0 | return this.errorMessagePlacement; |
| 670 | |
} |
| 671 | |
|
| 672 | |
public void setErrorMessagePlacement(String errorMessagePlacement) { |
| 673 | 0 | this.errorMessagePlacement = errorMessagePlacement; |
| 674 | 0 | } |
| 675 | |
|
| 676 | |
|
| 677 | |
|
| 678 | |
|
| 679 | |
|
| 680 | |
|
| 681 | |
|
| 682 | |
|
| 683 | |
public ErrorsField getErrorsField() { |
| 684 | 0 | return this.errorsField; |
| 685 | |
} |
| 686 | |
|
| 687 | |
|
| 688 | |
|
| 689 | |
|
| 690 | |
|
| 691 | |
|
| 692 | |
public void setErrorsField(ErrorsField errorsField) { |
| 693 | 0 | this.errorsField = errorsField; |
| 694 | 0 | } |
| 695 | |
|
| 696 | |
|
| 697 | |
|
| 698 | |
|
| 699 | |
|
| 700 | |
|
| 701 | |
|
| 702 | |
|
| 703 | |
|
| 704 | |
|
| 705 | |
|
| 706 | |
|
| 707 | |
|
| 708 | |
|
| 709 | |
|
| 710 | |
|
| 711 | |
|
| 712 | |
|
| 713 | |
|
| 714 | |
|
| 715 | |
|
| 716 | |
public String getDictionaryAttributeName() { |
| 717 | 0 | return this.dictionaryAttributeName; |
| 718 | |
} |
| 719 | |
|
| 720 | |
|
| 721 | |
|
| 722 | |
|
| 723 | |
|
| 724 | |
|
| 725 | |
public void setDictionaryAttributeName(String dictionaryAttributeName) { |
| 726 | 0 | this.dictionaryAttributeName = dictionaryAttributeName; |
| 727 | 0 | } |
| 728 | |
|
| 729 | |
|
| 730 | |
|
| 731 | |
|
| 732 | |
|
| 733 | |
|
| 734 | |
|
| 735 | |
|
| 736 | |
|
| 737 | |
|
| 738 | |
|
| 739 | |
|
| 740 | |
|
| 741 | |
|
| 742 | |
|
| 743 | |
|
| 744 | |
|
| 745 | |
|
| 746 | |
|
| 747 | |
|
| 748 | |
|
| 749 | |
public String getDictionaryObjectEntry() { |
| 750 | 0 | return this.dictionaryObjectEntry; |
| 751 | |
} |
| 752 | |
|
| 753 | |
|
| 754 | |
|
| 755 | |
|
| 756 | |
|
| 757 | |
|
| 758 | |
public void setDictionaryObjectEntry(String dictionaryObjectEntry) { |
| 759 | 0 | this.dictionaryObjectEntry = dictionaryObjectEntry; |
| 760 | 0 | } |
| 761 | |
|
| 762 | |
|
| 763 | |
|
| 764 | |
|
| 765 | |
|
| 766 | |
|
| 767 | |
|
| 768 | |
|
| 769 | |
|
| 770 | |
public KeyValuesFinder getOptionsFinder() { |
| 771 | 0 | return this.optionsFinder; |
| 772 | |
} |
| 773 | |
|
| 774 | |
|
| 775 | |
|
| 776 | |
|
| 777 | |
|
| 778 | |
|
| 779 | |
public void setOptionsFinder(KeyValuesFinder optionsFinder) { |
| 780 | 0 | this.optionsFinder = optionsFinder; |
| 781 | 0 | } |
| 782 | |
|
| 783 | |
|
| 784 | |
|
| 785 | |
|
| 786 | |
|
| 787 | |
|
| 788 | |
|
| 789 | |
public void setOptionsFinderClass(Class<? extends KeyValuesFinder> optionsFinderClass) { |
| 790 | 0 | this.optionsFinder = ObjectUtils.newInstance(optionsFinderClass); |
| 791 | 0 | } |
| 792 | |
|
| 793 | |
|
| 794 | |
|
| 795 | |
|
| 796 | |
|
| 797 | |
|
| 798 | |
|
| 799 | |
public String getSummary() { |
| 800 | 0 | return this.summary; |
| 801 | |
} |
| 802 | |
|
| 803 | |
|
| 804 | |
|
| 805 | |
|
| 806 | |
|
| 807 | |
|
| 808 | |
public void setSummary(String summary) { |
| 809 | 0 | this.summary = summary; |
| 810 | 0 | } |
| 811 | |
|
| 812 | |
|
| 813 | |
|
| 814 | |
|
| 815 | |
|
| 816 | |
|
| 817 | |
public String getDescription() { |
| 818 | 0 | return this.description; |
| 819 | |
} |
| 820 | |
|
| 821 | |
|
| 822 | |
|
| 823 | |
|
| 824 | |
|
| 825 | |
|
| 826 | |
public void setDescription(String description) { |
| 827 | 0 | this.description = description; |
| 828 | 0 | } |
| 829 | |
|
| 830 | |
|
| 831 | |
|
| 832 | |
|
| 833 | |
|
| 834 | |
|
| 835 | |
|
| 836 | |
|
| 837 | |
|
| 838 | |
public AttributeSecurity getAttributeSecurity() { |
| 839 | 0 | return this.attributeSecurity; |
| 840 | |
} |
| 841 | |
|
| 842 | |
|
| 843 | |
|
| 844 | |
|
| 845 | |
|
| 846 | |
|
| 847 | |
|
| 848 | |
public void setAttributeSecurity(AttributeSecurity attributeSecurity) { |
| 849 | 0 | this.attributeSecurity = attributeSecurity; |
| 850 | 0 | } |
| 851 | |
|
| 852 | |
|
| 853 | |
|
| 854 | |
|
| 855 | |
@Override |
| 856 | |
public boolean getSupportsOnLoad() { |
| 857 | 0 | return true; |
| 858 | |
} |
| 859 | |
|
| 860 | |
|
| 861 | |
|
| 862 | |
|
| 863 | |
|
| 864 | |
|
| 865 | |
|
| 866 | |
|
| 867 | |
|
| 868 | |
|
| 869 | |
|
| 870 | |
|
| 871 | |
|
| 872 | |
|
| 873 | |
|
| 874 | |
public QuickFinder getFieldLookup() { |
| 875 | 0 | return this.fieldLookup; |
| 876 | |
} |
| 877 | |
|
| 878 | |
|
| 879 | |
|
| 880 | |
|
| 881 | |
|
| 882 | |
|
| 883 | |
public void setFieldLookup(QuickFinder fieldLookup) { |
| 884 | 0 | this.fieldLookup = fieldLookup; |
| 885 | 0 | } |
| 886 | |
|
| 887 | |
|
| 888 | |
|
| 889 | |
|
| 890 | |
|
| 891 | |
|
| 892 | |
|
| 893 | |
|
| 894 | |
|
| 895 | |
|
| 896 | |
|
| 897 | |
|
| 898 | |
|
| 899 | |
|
| 900 | |
public Inquiry getFieldInquiry() { |
| 901 | 0 | return this.fieldInquiry; |
| 902 | |
} |
| 903 | |
|
| 904 | |
|
| 905 | |
|
| 906 | |
|
| 907 | |
|
| 908 | |
|
| 909 | |
public void setFieldInquiry(Inquiry fieldInquiry) { |
| 910 | 0 | this.fieldInquiry = fieldInquiry; |
| 911 | 0 | } |
| 912 | |
|
| 913 | |
|
| 914 | |
|
| 915 | |
|
| 916 | |
|
| 917 | |
|
| 918 | |
|
| 919 | |
|
| 920 | |
|
| 921 | |
|
| 922 | |
|
| 923 | |
|
| 924 | |
|
| 925 | |
|
| 926 | |
|
| 927 | |
|
| 928 | |
public Suggest getFieldSuggest() { |
| 929 | 0 | return fieldSuggest; |
| 930 | |
} |
| 931 | |
|
| 932 | |
|
| 933 | |
|
| 934 | |
|
| 935 | |
|
| 936 | |
|
| 937 | |
public void setFieldSuggest(Suggest fieldSuggest) { |
| 938 | 0 | this.fieldSuggest = fieldSuggest; |
| 939 | 0 | } |
| 940 | |
|
| 941 | |
|
| 942 | |
|
| 943 | |
|
| 944 | |
public MessageField getSummaryMessageField() { |
| 945 | 0 | return this.summaryMessageField; |
| 946 | |
} |
| 947 | |
|
| 948 | |
|
| 949 | |
|
| 950 | |
|
| 951 | |
|
| 952 | |
|
| 953 | |
|
| 954 | |
|
| 955 | |
public void setSummaryMessageField(MessageField summaryField) { |
| 956 | 0 | this.summaryMessageField = summaryField; |
| 957 | 0 | } |
| 958 | |
|
| 959 | |
|
| 960 | |
|
| 961 | |
|
| 962 | |
|
| 963 | |
|
| 964 | |
public String getConstraint() { |
| 965 | 0 | return this.constraint; |
| 966 | |
} |
| 967 | |
|
| 968 | |
|
| 969 | |
|
| 970 | |
|
| 971 | |
|
| 972 | |
|
| 973 | |
|
| 974 | |
public void setConstraint(String constraint) { |
| 975 | 0 | this.constraint = constraint; |
| 976 | 0 | } |
| 977 | |
|
| 978 | |
|
| 979 | |
|
| 980 | |
|
| 981 | |
|
| 982 | |
|
| 983 | |
|
| 984 | |
|
| 985 | |
public void setConstraintMessageField(MessageField constraintMessageField) { |
| 986 | 0 | this.constraintMessageField = constraintMessageField; |
| 987 | 0 | } |
| 988 | |
|
| 989 | |
|
| 990 | |
|
| 991 | |
|
| 992 | |
|
| 993 | |
|
| 994 | |
public MessageField getConstraintMessageField() { |
| 995 | 0 | return this.constraintMessageField; |
| 996 | |
} |
| 997 | |
|
| 998 | |
|
| 999 | |
|
| 1000 | |
|
| 1001 | |
|
| 1002 | |
|
| 1003 | |
|
| 1004 | |
public ValidCharactersConstraint getValidCharactersConstraint() { |
| 1005 | 0 | return this.validCharactersConstraint; |
| 1006 | |
} |
| 1007 | |
|
| 1008 | |
|
| 1009 | |
|
| 1010 | |
|
| 1011 | |
public void setValidCharactersConstraint(ValidCharactersConstraint validCharactersConstraint) { |
| 1012 | 0 | this.validCharactersConstraint = validCharactersConstraint; |
| 1013 | 0 | } |
| 1014 | |
|
| 1015 | |
|
| 1016 | |
|
| 1017 | |
|
| 1018 | |
public CaseConstraint getCaseConstraint() { |
| 1019 | 0 | return this.caseConstraint; |
| 1020 | |
} |
| 1021 | |
|
| 1022 | |
|
| 1023 | |
|
| 1024 | |
|
| 1025 | |
public void setCaseConstraint(CaseConstraint caseConstraint) { |
| 1026 | 0 | this.caseConstraint = caseConstraint; |
| 1027 | 0 | } |
| 1028 | |
|
| 1029 | |
|
| 1030 | |
|
| 1031 | |
|
| 1032 | |
public List<PrerequisiteConstraint> getDependencyConstraints() { |
| 1033 | 0 | return this.dependencyConstraints; |
| 1034 | |
} |
| 1035 | |
|
| 1036 | |
|
| 1037 | |
|
| 1038 | |
|
| 1039 | |
public void setDependencyConstraints(List<PrerequisiteConstraint> dependencyConstraints) { |
| 1040 | 0 | this.dependencyConstraints = dependencyConstraints; |
| 1041 | 0 | } |
| 1042 | |
|
| 1043 | |
|
| 1044 | |
|
| 1045 | |
|
| 1046 | |
public List<MustOccurConstraint> getMustOccurConstraints() { |
| 1047 | 0 | return this.mustOccurConstraints; |
| 1048 | |
} |
| 1049 | |
|
| 1050 | |
|
| 1051 | |
|
| 1052 | |
|
| 1053 | |
public void setMustOccurConstraints(List<MustOccurConstraint> mustOccurConstraints) { |
| 1054 | 0 | this.mustOccurConstraints = mustOccurConstraints; |
| 1055 | 0 | } |
| 1056 | |
|
| 1057 | |
|
| 1058 | |
|
| 1059 | |
|
| 1060 | |
|
| 1061 | |
|
| 1062 | |
|
| 1063 | |
public SimpleConstraint getSimpleConstraint() { |
| 1064 | 0 | return this.simpleConstraint; |
| 1065 | |
} |
| 1066 | |
|
| 1067 | |
|
| 1068 | |
|
| 1069 | |
|
| 1070 | |
|
| 1071 | |
|
| 1072 | |
|
| 1073 | |
|
| 1074 | |
public void setSimpleConstraint(SimpleConstraint simpleConstraint) { |
| 1075 | 0 | this.simpleConstraint = simpleConstraint; |
| 1076 | 0 | } |
| 1077 | |
|
| 1078 | |
|
| 1079 | |
|
| 1080 | |
|
| 1081 | |
|
| 1082 | |
|
| 1083 | |
|
| 1084 | |
|
| 1085 | |
public Integer getMaxLength() { |
| 1086 | 0 | return simpleConstraint.getMaxLength(); |
| 1087 | |
} |
| 1088 | |
|
| 1089 | |
|
| 1090 | |
|
| 1091 | |
|
| 1092 | |
|
| 1093 | |
|
| 1094 | |
public void setMaxLength(Integer maxLength) { |
| 1095 | 0 | simpleConstraint.setMaxLength(maxLength); |
| 1096 | 0 | } |
| 1097 | |
|
| 1098 | |
|
| 1099 | |
|
| 1100 | |
|
| 1101 | |
public Integer getMinLength() { |
| 1102 | 0 | return simpleConstraint.getMinLength(); |
| 1103 | |
} |
| 1104 | |
|
| 1105 | |
|
| 1106 | |
|
| 1107 | |
|
| 1108 | |
public void setMinLength(Integer minLength) { |
| 1109 | 0 | simpleConstraint.setMinLength(minLength); |
| 1110 | 0 | } |
| 1111 | |
|
| 1112 | |
|
| 1113 | |
|
| 1114 | |
|
| 1115 | |
@Override |
| 1116 | |
public Boolean getRequired() { |
| 1117 | 0 | return this.simpleConstraint.getRequired(); |
| 1118 | |
} |
| 1119 | |
|
| 1120 | |
|
| 1121 | |
|
| 1122 | |
|
| 1123 | |
@Override |
| 1124 | |
public void setRequired(Boolean required) { |
| 1125 | 0 | this.simpleConstraint.setRequired(required); |
| 1126 | 0 | } |
| 1127 | |
|
| 1128 | |
|
| 1129 | |
|
| 1130 | |
|
| 1131 | |
|
| 1132 | |
|
| 1133 | |
public String getExclusiveMin() { |
| 1134 | 0 | return simpleConstraint.getExclusiveMin(); |
| 1135 | |
} |
| 1136 | |
|
| 1137 | |
|
| 1138 | |
|
| 1139 | |
|
| 1140 | |
public void setExclusiveMin(String exclusiveMin) { |
| 1141 | 0 | simpleConstraint.setExclusiveMin(exclusiveMin); |
| 1142 | 0 | } |
| 1143 | |
|
| 1144 | |
|
| 1145 | |
|
| 1146 | |
|
| 1147 | |
|
| 1148 | |
|
| 1149 | |
|
| 1150 | |
|
| 1151 | |
public String getInclusiveMax() { |
| 1152 | 0 | return simpleConstraint.getInclusiveMax(); |
| 1153 | |
} |
| 1154 | |
|
| 1155 | |
|
| 1156 | |
|
| 1157 | |
|
| 1158 | |
public void setInclusiveMax(String inclusiveMax) { |
| 1159 | 0 | simpleConstraint.setInclusiveMax(inclusiveMax); |
| 1160 | 0 | } |
| 1161 | |
|
| 1162 | |
|
| 1163 | |
|
| 1164 | |
|
| 1165 | |
|
| 1166 | |
|
| 1167 | |
|
| 1168 | |
public void setAdditionalDisplayPropertyName(String additionalDisplayPropertyName) { |
| 1169 | 0 | this.additionalDisplayPropertyName = additionalDisplayPropertyName; |
| 1170 | 0 | } |
| 1171 | |
|
| 1172 | |
|
| 1173 | |
|
| 1174 | |
|
| 1175 | |
|
| 1176 | |
|
| 1177 | |
public String getAdditionalDisplayPropertyName() { |
| 1178 | 0 | return this.additionalDisplayPropertyName; |
| 1179 | |
} |
| 1180 | |
|
| 1181 | |
|
| 1182 | |
|
| 1183 | |
|
| 1184 | |
|
| 1185 | |
|
| 1186 | |
|
| 1187 | |
public void setAlternateDisplayPropertyName(String alternateDisplayPropertyName) { |
| 1188 | 0 | this.alternateDisplayPropertyName = alternateDisplayPropertyName; |
| 1189 | 0 | } |
| 1190 | |
|
| 1191 | |
|
| 1192 | |
|
| 1193 | |
|
| 1194 | |
|
| 1195 | |
|
| 1196 | |
public String getAlternateDisplayPropertyName() { |
| 1197 | 0 | return this.alternateDisplayPropertyName; |
| 1198 | |
} |
| 1199 | |
|
| 1200 | |
|
| 1201 | |
|
| 1202 | |
|
| 1203 | |
|
| 1204 | |
|
| 1205 | |
public String getAlternateDisplayValue() { |
| 1206 | 0 | return alternateDisplayValue; |
| 1207 | |
} |
| 1208 | |
|
| 1209 | |
|
| 1210 | |
|
| 1211 | |
|
| 1212 | |
|
| 1213 | |
|
| 1214 | |
public String getAdditionalDisplayValue() { |
| 1215 | 0 | return additionalDisplayValue; |
| 1216 | |
} |
| 1217 | |
|
| 1218 | |
|
| 1219 | |
|
| 1220 | |
|
| 1221 | |
|
| 1222 | |
|
| 1223 | |
public void setFieldDirectInquiry(DirectInquiry fieldDirectInquiry) { |
| 1224 | 0 | this.fieldDirectInquiry = fieldDirectInquiry; |
| 1225 | 0 | } |
| 1226 | |
|
| 1227 | |
|
| 1228 | |
|
| 1229 | |
|
| 1230 | |
|
| 1231 | |
|
| 1232 | |
|
| 1233 | |
|
| 1234 | |
|
| 1235 | |
|
| 1236 | |
|
| 1237 | |
|
| 1238 | |
|
| 1239 | |
|
| 1240 | |
|
| 1241 | |
public DirectInquiry getFieldDirectInquiry() { |
| 1242 | 0 | return fieldDirectInquiry; |
| 1243 | |
} |
| 1244 | |
|
| 1245 | |
|
| 1246 | |
|
| 1247 | |
|
| 1248 | |
|
| 1249 | |
|
| 1250 | |
|
| 1251 | |
|
| 1252 | |
|
| 1253 | |
|
| 1254 | |
|
| 1255 | |
|
| 1256 | |
|
| 1257 | |
|
| 1258 | |
|
| 1259 | |
|
| 1260 | |
|
| 1261 | |
|
| 1262 | |
|
| 1263 | |
public List<String> getInformationalDisplayPropertyNames() { |
| 1264 | 0 | return informationalDisplayPropertyNames; |
| 1265 | |
} |
| 1266 | |
|
| 1267 | |
|
| 1268 | |
|
| 1269 | |
|
| 1270 | |
|
| 1271 | |
|
| 1272 | |
public void setInformationalDisplayPropertyNames(List<String> informationalDisplayPropertyNames) { |
| 1273 | 0 | this.informationalDisplayPropertyNames = informationalDisplayPropertyNames; |
| 1274 | 0 | } |
| 1275 | |
|
| 1276 | |
|
| 1277 | |
|
| 1278 | |
|
| 1279 | |
|
| 1280 | |
|
| 1281 | |
|
| 1282 | |
public List<String> getHiddenPropertyNames() { |
| 1283 | 0 | return hiddenPropertyNames; |
| 1284 | |
} |
| 1285 | |
|
| 1286 | |
|
| 1287 | |
|
| 1288 | |
|
| 1289 | |
|
| 1290 | |
|
| 1291 | |
public void setHiddenPropertyNames(List<String> hiddenPropertyNames) { |
| 1292 | 0 | this.hiddenPropertyNames = hiddenPropertyNames; |
| 1293 | 0 | } |
| 1294 | |
|
| 1295 | |
|
| 1296 | |
|
| 1297 | |
|
| 1298 | |
|
| 1299 | |
|
| 1300 | |
|
| 1301 | |
|
| 1302 | |
|
| 1303 | |
|
| 1304 | |
|
| 1305 | |
|
| 1306 | |
|
| 1307 | |
|
| 1308 | |
|
| 1309 | |
public AttributeQuery getFieldAttributeQuery() { |
| 1310 | 0 | return fieldAttributeQuery; |
| 1311 | |
} |
| 1312 | |
|
| 1313 | |
|
| 1314 | |
|
| 1315 | |
|
| 1316 | |
|
| 1317 | |
|
| 1318 | |
public void setFieldAttributeQuery(AttributeQuery fieldAttributeQuery) { |
| 1319 | 0 | this.fieldAttributeQuery = fieldAttributeQuery; |
| 1320 | 0 | } |
| 1321 | |
|
| 1322 | |
|
| 1323 | |
|
| 1324 | |
|
| 1325 | |
|
| 1326 | |
public void setEscapeHtmlInPropertyValue(boolean escapeHtmlInPropertyValue) { |
| 1327 | 0 | this.escapeHtmlInPropertyValue = escapeHtmlInPropertyValue; |
| 1328 | 0 | } |
| 1329 | |
|
| 1330 | |
|
| 1331 | |
|
| 1332 | |
|
| 1333 | |
|
| 1334 | |
|
| 1335 | |
public boolean isEscapeHtmlInPropertyValue() { |
| 1336 | 0 | return this.escapeHtmlInPropertyValue; |
| 1337 | |
} |
| 1338 | |
} |