001// -------------------------------------------------------------------------------- 002// Copyright 2002-2024 Echo Three, LLC 003// 004// Licensed under the Apache License, Version 2.0 (the "License"); 005// you may not use this file except in compliance with the License. 006// You may obtain a copy of the License at 007// 008// http://www.apache.org/licenses/LICENSE-2.0 009// 010// Unless required by applicable law or agreed to in writing, software 011// distributed under the License is distributed on an "AS IS" BASIS, 012// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 013// See the License for the specific language governing permissions and 014// limitations under the License. 015// -------------------------------------------------------------------------------- 016 017package com.echothree.model.control.core.common.transfer; 018 019import com.echothree.model.control.sequence.common.transfer.SequenceTransfer; 020import com.echothree.model.control.uom.common.transfer.UnitOfMeasureTypeTransfer; 021import com.echothree.util.common.transfer.BaseTransfer; 022import com.echothree.util.common.transfer.ListWrapper; 023 024public class EntityAttributeTransfer 025 extends BaseTransfer { 026 027 private EntityTypeTransfer entityType; 028 private String entityAttributeName; 029 private EntityAttributeTypeTransfer entityAttributeType; 030 private boolean trackRevisions; 031 private Integer sortOrder; 032 private String description; 033 034 private boolean checkContentWebAddress; 035 private String validationPattern; 036 private Integer upperRangeIntegerValue; 037 private Integer upperLimitIntegerValue; 038 private Integer lowerLimitIntegerValue; 039 private Integer lowerRangeIntegerValue; 040 private Long upperRangeLongValue; 041 private Long upperLimitLongValue; 042 private Long lowerLimitLongValue; 043 private Long lowerRangeLongValue; 044 private UnitOfMeasureTypeTransfer unitOfMeasureType; 045 private SequenceTransfer entityListItemSequence; 046 047 private EntityBooleanAttributeTransfer entityBooleanAttribute; 048 private EntityNameAttributeTransfer entityNameAttribute; 049 private EntityIntegerAttributeTransfer entityIntegerAttribute; 050 private EntityLongAttributeTransfer entityLongAttribute; 051 private EntityStringAttributeTransfer entityStringAttribute; 052 private EntityGeoPointAttributeTransfer entityGeoPointAttribute; 053 private EntityBlobAttributeTransfer entityBlobAttribute; 054 private EntityClobAttributeTransfer entityClobAttribute; 055 private EntityEntityAttributeTransfer entityEntityAttribute; 056 private ListWrapper<EntityCollectionAttributeTransfer> entityCollectionAttributes; 057 private EntityDateAttributeTransfer entityDateAttribute; 058 private EntityTimeAttributeTransfer entityTimeAttribute; 059 private EntityListItemAttributeTransfer entityListItemAttribute; 060 private ListWrapper<EntityMultipleListItemAttributeTransfer> entityMultipleListItemAttributes; 061 062 private Long entityListItemsCount; 063 private ListWrapper<EntityListItemTransfer> entityListItems; 064 private Long entityAttributeEntityTypesCount; 065 private ListWrapper<EntityAttributeEntityTypeTransfer> entityAttributeEntityTypes; 066 067 /** Creates a new instance of EntityAttributeTransfer */ 068 public EntityAttributeTransfer(EntityTypeTransfer entityType, EntityAttributeTypeTransfer entityAttributeType, 069 String entityAttributeName, boolean trackRevisions, Integer sortOrder, String description) { 070 this.entityType = entityType; 071 this.entityAttributeName = entityAttributeName; 072 this.entityAttributeType = entityAttributeType; 073 this.trackRevisions = trackRevisions; 074 this.sortOrder = sortOrder; 075 this.description = description; 076 } 077 078 /** 079 * Returns the entityType. 080 * @return the entityType 081 */ 082 public EntityTypeTransfer getEntityType() { 083 return entityType; 084 } 085 086 /** 087 * Sets the entityType. 088 * @param entityType the entityType to set 089 */ 090 public void setEntityType(EntityTypeTransfer entityType) { 091 this.entityType = entityType; 092 } 093 094 /** 095 * Returns the entityAttributeName. 096 * @return the entityAttributeName 097 */ 098 public String getEntityAttributeName() { 099 return entityAttributeName; 100 } 101 102 /** 103 * Sets the entityAttributeName. 104 * @param entityAttributeName the entityAttributeName to set 105 */ 106 public void setEntityAttributeName(String entityAttributeName) { 107 this.entityAttributeName = entityAttributeName; 108 } 109 110 /** 111 * Returns the entityAttributeType. 112 * @return the entityAttributeType 113 */ 114 public EntityAttributeTypeTransfer getEntityAttributeType() { 115 return entityAttributeType; 116 } 117 118 /** 119 * Sets the entityAttributeType. 120 * @param entityAttributeType the entityAttributeType to set 121 */ 122 public void setEntityAttributeType(EntityAttributeTypeTransfer entityAttributeType) { 123 this.entityAttributeType = entityAttributeType; 124 } 125 126 /** 127 * Returns the trackRevisions. 128 * @return the trackRevisions 129 */ 130 public boolean getTrackRevisions() { 131 return trackRevisions; 132 } 133 134 /** 135 * Sets the trackRevisions. 136 * @param trackRevisions the trackRevisions to set 137 */ 138 public void setTrackRevisions(boolean trackRevisions) { 139 this.trackRevisions = trackRevisions; 140 } 141 142 /** 143 * Returns the sortOrder. 144 * @return the sortOrder 145 */ 146 public Integer getSortOrder() { 147 return sortOrder; 148 } 149 150 /** 151 * Sets the sortOrder. 152 * @param sortOrder the sortOrder to set 153 */ 154 public void setSortOrder(Integer sortOrder) { 155 this.sortOrder = sortOrder; 156 } 157 158 /** 159 * Returns the description. 160 * @return the description 161 */ 162 public String getDescription() { 163 return description; 164 } 165 166 /** 167 * Sets the description. 168 * @param description the description to set 169 */ 170 public void setDescription(String description) { 171 this.description = description; 172 } 173 174 /** 175 * Returns the checkContentWebAddress. 176 * @return the checkContentWebAddress 177 */ 178 public boolean isCheckContentWebAddress() { 179 return checkContentWebAddress; 180 } 181 182 /** 183 * Sets the checkContentWebAddress. 184 * @param checkContentWebAddress the checkContentWebAddress to set 185 */ 186 public void setCheckContentWebAddress(boolean checkContentWebAddress) { 187 this.checkContentWebAddress = checkContentWebAddress; 188 } 189 190 /** 191 * Returns the validationPattern. 192 * @return the validationPattern 193 */ 194 public String getValidationPattern() { 195 return validationPattern; 196 } 197 198 /** 199 * Sets the validationPattern. 200 * @param validationPattern the validationPattern to set 201 */ 202 public void setValidationPattern(String validationPattern) { 203 this.validationPattern = validationPattern; 204 } 205 206 /** 207 * Returns the upperRangeIntegerValue. 208 * @return the upperRangeIntegerValue 209 */ 210 public Integer getUpperRangeIntegerValue() { 211 return upperRangeIntegerValue; 212 } 213 214 /** 215 * Sets the upperRangeIntegerValue. 216 * @param upperRangeIntegerValue the upperRangeIntegerValue to set 217 */ 218 public void setUpperRangeIntegerValue(Integer upperRangeIntegerValue) { 219 this.upperRangeIntegerValue = upperRangeIntegerValue; 220 } 221 222 /** 223 * Returns the upperLimitIntegerValue. 224 * @return the upperLimitIntegerValue 225 */ 226 public Integer getUpperLimitIntegerValue() { 227 return upperLimitIntegerValue; 228 } 229 230 /** 231 * Sets the upperLimitIntegerValue. 232 * @param upperLimitIntegerValue the upperLimitIntegerValue to set 233 */ 234 public void setUpperLimitIntegerValue(Integer upperLimitIntegerValue) { 235 this.upperLimitIntegerValue = upperLimitIntegerValue; 236 } 237 238 /** 239 * Returns the lowerLimitIntegerValue. 240 * @return the lowerLimitIntegerValue 241 */ 242 public Integer getLowerLimitIntegerValue() { 243 return lowerLimitIntegerValue; 244 } 245 246 /** 247 * Sets the lowerLimitIntegerValue. 248 * @param lowerLimitIntegerValue the lowerLimitIntegerValue to set 249 */ 250 public void setLowerLimitIntegerValue(Integer lowerLimitIntegerValue) { 251 this.lowerLimitIntegerValue = lowerLimitIntegerValue; 252 } 253 254 /** 255 * Returns the lowerRangeIntegerValue. 256 * @return the lowerRangeIntegerValue 257 */ 258 public Integer getLowerRangeIntegerValue() { 259 return lowerRangeIntegerValue; 260 } 261 262 /** 263 * Sets the lowerRangeIntegerValue. 264 * @param lowerRangeIntegerValue the lowerRangeIntegerValue to set 265 */ 266 public void setLowerRangeIntegerValue(Integer lowerRangeIntegerValue) { 267 this.lowerRangeIntegerValue = lowerRangeIntegerValue; 268 } 269 270 /** 271 * Returns the upperRangeLongValue. 272 * @return the upperRangeLongValue 273 */ 274 public Long getUpperRangeLongValue() { 275 return upperRangeLongValue; 276 } 277 278 /** 279 * Sets the upperRangeLongValue. 280 * @param upperRangeLongValue the upperRangeLongValue to set 281 */ 282 public void setUpperRangeLongValue(Long upperRangeLongValue) { 283 this.upperRangeLongValue = upperRangeLongValue; 284 } 285 286 /** 287 * Returns the upperLimitLongValue. 288 * @return the upperLimitLongValue 289 */ 290 public Long getUpperLimitLongValue() { 291 return upperLimitLongValue; 292 } 293 294 /** 295 * Sets the upperLimitLongValue. 296 * @param upperLimitLongValue the upperLimitLongValue to set 297 */ 298 public void setUpperLimitLongValue(Long upperLimitLongValue) { 299 this.upperLimitLongValue = upperLimitLongValue; 300 } 301 302 /** 303 * Returns the lowerLimitLongValue. 304 * @return the lowerLimitLongValue 305 */ 306 public Long getLowerLimitLongValue() { 307 return lowerLimitLongValue; 308 } 309 310 /** 311 * Sets the lowerLimitLongValue. 312 * @param lowerLimitLongValue the lowerLimitLongValue to set 313 */ 314 public void setLowerLimitLongValue(Long lowerLimitLongValue) { 315 this.lowerLimitLongValue = lowerLimitLongValue; 316 } 317 318 /** 319 * Returns the lowerRangeLongValue. 320 * @return the lowerRangeLongValue 321 */ 322 public Long getLowerRangeLongValue() { 323 return lowerRangeLongValue; 324 } 325 326 /** 327 * Sets the lowerRangeLongValue. 328 * @param lowerRangeLongValue the lowerRangeLongValue to set 329 */ 330 public void setLowerRangeLongValue(Long lowerRangeLongValue) { 331 this.lowerRangeLongValue = lowerRangeLongValue; 332 } 333 334 /** 335 * Returns the unitOfMeasureType. 336 * @return the unitOfMeasureType 337 */ 338 public UnitOfMeasureTypeTransfer getUnitOfMeasureType() { 339 return unitOfMeasureType; 340 } 341 342 /** 343 * Sets the unitOfMeasureType. 344 * @param unitOfMeasureType the unitOfMeasureType to set 345 */ 346 public void setUnitOfMeasureType(UnitOfMeasureTypeTransfer unitOfMeasureType) { 347 this.unitOfMeasureType = unitOfMeasureType; 348 } 349 350 /** 351 * Returns the entityListItemSequence. 352 * @return the entityListItemSequence 353 */ 354 public SequenceTransfer getEntityListItemSequence() { 355 return entityListItemSequence; 356 } 357 358 /** 359 * Sets the entityListItemSequence. 360 * @param entityListItemSequence the entityListItemSequence to set 361 */ 362 public void setEntityListItemSequence(SequenceTransfer entityListItemSequence) { 363 this.entityListItemSequence = entityListItemSequence; 364 } 365 366 /** 367 * Returns the entityBooleanAttribute. 368 * @return the entityBooleanAttribute 369 */ 370 public EntityBooleanAttributeTransfer getEntityBooleanAttribute() { 371 return entityBooleanAttribute; 372 } 373 374 /** 375 * Sets the entityBooleanAttribute. 376 * @param entityBooleanAttribute the entityBooleanAttribute to set 377 */ 378 public void setEntityBooleanAttribute(EntityBooleanAttributeTransfer entityBooleanAttribute) { 379 this.entityBooleanAttribute = entityBooleanAttribute; 380 } 381 382 /** 383 * Returns the entityNameAttribute. 384 * @return the entityNameAttribute 385 */ 386 public EntityNameAttributeTransfer getEntityNameAttribute() { 387 return entityNameAttribute; 388 } 389 390 /** 391 * Sets the entityNameAttribute. 392 * @param entityNameAttribute the entityNameAttribute to set 393 */ 394 public void setEntityNameAttribute(EntityNameAttributeTransfer entityNameAttribute) { 395 this.entityNameAttribute = entityNameAttribute; 396 } 397 398 /** 399 * Returns the entityIntegerAttribute. 400 * @return the entityIntegerAttribute 401 */ 402 public EntityIntegerAttributeTransfer getEntityIntegerAttribute() { 403 return entityIntegerAttribute; 404 } 405 406 /** 407 * Sets the entityIntegerAttribute. 408 * @param entityIntegerAttribute the entityIntegerAttribute to set 409 */ 410 public void setEntityIntegerAttribute(EntityIntegerAttributeTransfer entityIntegerAttribute) { 411 this.entityIntegerAttribute = entityIntegerAttribute; 412 } 413 414 /** 415 * Returns the entityLongAttribute. 416 * @return the entityLongAttribute 417 */ 418 public EntityLongAttributeTransfer getEntityLongAttribute() { 419 return entityLongAttribute; 420 } 421 422 /** 423 * Sets the entityLongAttribute. 424 * @param entityLongAttribute the entityLongAttribute to set 425 */ 426 public void setEntityLongAttribute(EntityLongAttributeTransfer entityLongAttribute) { 427 this.entityLongAttribute = entityLongAttribute; 428 } 429 430 /** 431 * Returns the entityStringAttribute. 432 * @return the entityStringAttribute 433 */ 434 public EntityStringAttributeTransfer getEntityStringAttribute() { 435 return entityStringAttribute; 436 } 437 438 /** 439 * Sets the entityStringAttribute. 440 * @param entityStringAttribute the entityStringAttribute to set 441 */ 442 public void setEntityStringAttribute(EntityStringAttributeTransfer entityStringAttribute) { 443 this.entityStringAttribute = entityStringAttribute; 444 } 445 446 /** 447 * Returns the entityGeoPointAttribute. 448 * @return the entityGeoPointAttribute 449 */ 450 public EntityGeoPointAttributeTransfer getEntityGeoPointAttribute() { 451 return entityGeoPointAttribute; 452 } 453 454 /** 455 * Sets the entityGeoPointAttribute. 456 * @param entityGeoPointAttribute the entityGeoPointAttribute to set 457 */ 458 public void setEntityGeoPointAttribute(EntityGeoPointAttributeTransfer entityGeoPointAttribute) { 459 this.entityGeoPointAttribute = entityGeoPointAttribute; 460 } 461 462 /** 463 * Returns the entityBlobAttribute. 464 * @return the entityBlobAttribute 465 */ 466 public EntityBlobAttributeTransfer getEntityBlobAttribute() { 467 return entityBlobAttribute; 468 } 469 470 /** 471 * Sets the entityBlobAttribute. 472 * @param entityBlobAttribute the entityBlobAttribute to set 473 */ 474 public void setEntityBlobAttribute(EntityBlobAttributeTransfer entityBlobAttribute) { 475 this.entityBlobAttribute = entityBlobAttribute; 476 } 477 478 /** 479 * Returns the entityClobAttribute. 480 * @return the entityClobAttribute 481 */ 482 public EntityClobAttributeTransfer getEntityClobAttribute() { 483 return entityClobAttribute; 484 } 485 486 /** 487 * Sets the entityClobAttribute. 488 * @param entityClobAttribute the entityClobAttribute to set 489 */ 490 public void setEntityClobAttribute(EntityClobAttributeTransfer entityClobAttribute) { 491 this.entityClobAttribute = entityClobAttribute; 492 } 493 494 /** 495 * Returns the entityEntityAttribute. 496 * @return the entityEntityAttribute 497 */ 498 public EntityEntityAttributeTransfer getEntityEntityAttribute() { 499 return entityEntityAttribute; 500 } 501 502 /** 503 * Sets the entityEntityAttribute. 504 * @param entityEntityAttribute the entityEntityAttribute to set 505 */ 506 public void setEntityEntityAttribute(EntityEntityAttributeTransfer entityEntityAttribute) { 507 this.entityEntityAttribute = entityEntityAttribute; 508 } 509 510 /** 511 * Returns the entityCollectionAttributes. 512 * @return the entityCollectionAttributes 513 */ 514 public ListWrapper<EntityCollectionAttributeTransfer> getEntityCollectionAttributes() { 515 return entityCollectionAttributes; 516 } 517 518 /** 519 * Sets the entityCollectionAttributes. 520 * @param entityCollectionAttributes the entityCollectionAttributes to set 521 */ 522 public void setEntityCollectionAttributes(ListWrapper<EntityCollectionAttributeTransfer> entityCollectionAttributes) { 523 this.entityCollectionAttributes = entityCollectionAttributes; 524 } 525 526 /** 527 * Returns the entityDateAttribute. 528 * @return the entityDateAttribute 529 */ 530 public EntityDateAttributeTransfer getEntityDateAttribute() { 531 return entityDateAttribute; 532 } 533 534 /** 535 * Sets the entityDateAttribute. 536 * @param entityDateAttribute the entityDateAttribute to set 537 */ 538 public void setEntityDateAttribute(EntityDateAttributeTransfer entityDateAttribute) { 539 this.entityDateAttribute = entityDateAttribute; 540 } 541 542 /** 543 * Returns the entityTimeAttribute. 544 * @return the entityTimeAttribute 545 */ 546 public EntityTimeAttributeTransfer getEntityTimeAttribute() { 547 return entityTimeAttribute; 548 } 549 550 /** 551 * Sets the entityTimeAttribute. 552 * @param entityTimeAttribute the entityTimeAttribute to set 553 */ 554 public void setEntityTimeAttribute(EntityTimeAttributeTransfer entityTimeAttribute) { 555 this.entityTimeAttribute = entityTimeAttribute; 556 } 557 558 /** 559 * Returns the entityListItemAttribute. 560 * @return the entityListItemAttribute 561 */ 562 public EntityListItemAttributeTransfer getEntityListItemAttribute() { 563 return entityListItemAttribute; 564 } 565 566 /** 567 * Sets the entityListItemAttribute. 568 * @param entityListItemAttribute the entityListItemAttribute to set 569 */ 570 public void setEntityListItemAttribute(EntityListItemAttributeTransfer entityListItemAttribute) { 571 this.entityListItemAttribute = entityListItemAttribute; 572 } 573 574 /** 575 * Returns the entityMultipleListItemAttributes. 576 * @return the entityMultipleListItemAttributes 577 */ 578 public ListWrapper<EntityMultipleListItemAttributeTransfer> getEntityMultipleListItemAttributes() { 579 return entityMultipleListItemAttributes; 580 } 581 582 /** 583 * Sets the entityMultipleListItemAttributes. 584 * @param entityMultipleListItemAttributes the entityMultipleListItemAttributes to set 585 */ 586 public void setEntityMultipleListItemAttributes(ListWrapper<EntityMultipleListItemAttributeTransfer> entityMultipleListItemAttributes) { 587 this.entityMultipleListItemAttributes = entityMultipleListItemAttributes; 588 } 589 590 public Long getEntityListItemsCount() { 591 return entityListItemsCount; 592 } 593 594 public void setEntityListItemsCount(final Long entityListItemsCount) { 595 this.entityListItemsCount = entityListItemsCount; 596 } 597 598 /** 599 * Returns the entityListItems. 600 * @return the entityListItems 601 */ 602 public ListWrapper<EntityListItemTransfer> getEntityListItems() { 603 return entityListItems; 604 } 605 606 /** 607 * Sets the entityListItems. 608 * @param entityListItems the entityListItems to set 609 */ 610 public void setEntityListItems(ListWrapper<EntityListItemTransfer> entityListItems) { 611 this.entityListItems = entityListItems; 612 } 613 614 public Long getEntityAttributeEntityTypesCount() { 615 return entityAttributeEntityTypesCount; 616 } 617 618 public void setEntityAttributeEntityTypesCount(final Long entityAttributeEntityTypesCount) { 619 this.entityAttributeEntityTypesCount = entityAttributeEntityTypesCount; 620 } 621 622 /** 623 * Returns the entityAttributeEntityTypes. 624 * @return the entityAttributeEntityTypes 625 */ 626 public ListWrapper<EntityAttributeEntityTypeTransfer> getEntityAttributeEntityTypes() { 627 return entityAttributeEntityTypes; 628 } 629 630 /** 631 * Sets the entityAttributeEntityTypes. 632 * @param entityAttributeEntityTypes the entityAttributeEntityTypes to set 633 */ 634 public void setEntityAttributeEntityTypes(ListWrapper<EntityAttributeEntityTypeTransfer> entityAttributeEntityTypes) { 635 this.entityAttributeEntityTypes = entityAttributeEntityTypes; 636 } 637 638}