1 2 package org.apache.chemistry.opencmis.commons.impl.jaxb; 3 4 import java.util.ArrayList; 5 import java.util.HashMap; 6 import java.util.List; 7 import java.util.Map; 8 import javax.xml.bind.annotation.XmlAccessType; 9 import javax.xml.bind.annotation.XmlAccessorType; 10 import javax.xml.bind.annotation.XmlAnyAttribute; 11 import javax.xml.bind.annotation.XmlAnyElement; 12 import javax.xml.bind.annotation.XmlType; 13 import javax.xml.namespace.QName; 14 import org.w3c.dom.Element; 15 16 17 /** 18 * <p>Java class for cmisAllowableActionsType complex type. 19 * 20 * <p>The following schema fragment specifies the expected content contained within this class. 21 * 22 * <pre> 23 * <complexType name="cmisAllowableActionsType"> 24 * <complexContent> 25 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 26 * <sequence> 27 * <element name="canDeleteObject" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> 28 * <element name="canUpdateProperties" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> 29 * <element name="canGetFolderTree" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> 30 * <element name="canGetProperties" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> 31 * <element name="canGetObjectRelationships" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> 32 * <element name="canGetObjectParents" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> 33 * <element name="canGetFolderParent" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> 34 * <element name="canGetDescendants" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> 35 * <element name="canMoveObject" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> 36 * <element name="canDeleteContentStream" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> 37 * <element name="canCheckOut" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> 38 * <element name="canCancelCheckOut" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> 39 * <element name="canCheckIn" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> 40 * <element name="canSetContentStream" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> 41 * <element name="canGetAllVersions" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> 42 * <element name="canAddObjectToFolder" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> 43 * <element name="canRemoveObjectFromFolder" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> 44 * <element name="canGetContentStream" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> 45 * <element name="canApplyPolicy" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> 46 * <element name="canGetAppliedPolicies" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> 47 * <element name="canRemovePolicy" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> 48 * <element name="canGetChildren" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> 49 * <element name="canCreateDocument" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> 50 * <element name="canCreateFolder" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> 51 * <element name="canCreateRelationship" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> 52 * <element name="canDeleteTree" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> 53 * <element name="canGetRenditions" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> 54 * <element name="canGetACL" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> 55 * <element name="canApplyACL" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> 56 * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> 57 * </sequence> 58 * <attGroup ref="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisUndefinedAttribute"/> 59 * <anyAttribute processContents='lax' namespace='##other'/> 60 * </restriction> 61 * </complexContent> 62 * </complexType> 63 * </pre> 64 * 65 * 66 */ 67 @XmlAccessorType(XmlAccessType.FIELD) 68 @XmlType(name = "cmisAllowableActionsType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/", propOrder = { 69 "canDeleteObject", 70 "canUpdateProperties", 71 "canGetFolderTree", 72 "canGetProperties", 73 "canGetObjectRelationships", 74 "canGetObjectParents", 75 "canGetFolderParent", 76 "canGetDescendants", 77 "canMoveObject", 78 "canDeleteContentStream", 79 "canCheckOut", 80 "canCancelCheckOut", 81 "canCheckIn", 82 "canSetContentStream", 83 "canGetAllVersions", 84 "canAddObjectToFolder", 85 "canRemoveObjectFromFolder", 86 "canGetContentStream", 87 "canApplyPolicy", 88 "canGetAppliedPolicies", 89 "canRemovePolicy", 90 "canGetChildren", 91 "canCreateDocument", 92 "canCreateFolder", 93 "canCreateRelationship", 94 "canDeleteTree", 95 "canGetRenditions", 96 "canGetACL", 97 "canApplyACL", 98 "any" 99 }) 100 public class CmisAllowableActionsType { 101 102 protected Boolean canDeleteObject; 103 protected Boolean canUpdateProperties; 104 protected Boolean canGetFolderTree; 105 protected Boolean canGetProperties; 106 protected Boolean canGetObjectRelationships; 107 protected Boolean canGetObjectParents; 108 protected Boolean canGetFolderParent; 109 protected Boolean canGetDescendants; 110 protected Boolean canMoveObject; 111 protected Boolean canDeleteContentStream; 112 protected Boolean canCheckOut; 113 protected Boolean canCancelCheckOut; 114 protected Boolean canCheckIn; 115 protected Boolean canSetContentStream; 116 protected Boolean canGetAllVersions; 117 protected Boolean canAddObjectToFolder; 118 protected Boolean canRemoveObjectFromFolder; 119 protected Boolean canGetContentStream; 120 protected Boolean canApplyPolicy; 121 protected Boolean canGetAppliedPolicies; 122 protected Boolean canRemovePolicy; 123 protected Boolean canGetChildren; 124 protected Boolean canCreateDocument; 125 protected Boolean canCreateFolder; 126 protected Boolean canCreateRelationship; 127 protected Boolean canDeleteTree; 128 protected Boolean canGetRenditions; 129 protected Boolean canGetACL; 130 protected Boolean canApplyACL; 131 @XmlAnyElement(lax = true) 132 protected List<Object> any; 133 @XmlAnyAttribute 134 private Map<QName, String> otherAttributes = new HashMap<QName, String>(); 135 136 /** 137 * Gets the value of the canDeleteObject property. 138 * 139 * @return 140 * possible object is 141 * {@link Boolean } 142 * 143 */ 144 public Boolean isCanDeleteObject() { 145 return canDeleteObject; 146 } 147 148 /** 149 * Sets the value of the canDeleteObject property. 150 * 151 * @param value 152 * allowed object is 153 * {@link Boolean } 154 * 155 */ 156 public void setCanDeleteObject(Boolean value) { 157 this.canDeleteObject = value; 158 } 159 160 /** 161 * Gets the value of the canUpdateProperties property. 162 * 163 * @return 164 * possible object is 165 * {@link Boolean } 166 * 167 */ 168 public Boolean isCanUpdateProperties() { 169 return canUpdateProperties; 170 } 171 172 /** 173 * Sets the value of the canUpdateProperties property. 174 * 175 * @param value 176 * allowed object is 177 * {@link Boolean } 178 * 179 */ 180 public void setCanUpdateProperties(Boolean value) { 181 this.canUpdateProperties = value; 182 } 183 184 /** 185 * Gets the value of the canGetFolderTree property. 186 * 187 * @return 188 * possible object is 189 * {@link Boolean } 190 * 191 */ 192 public Boolean isCanGetFolderTree() { 193 return canGetFolderTree; 194 } 195 196 /** 197 * Sets the value of the canGetFolderTree property. 198 * 199 * @param value 200 * allowed object is 201 * {@link Boolean } 202 * 203 */ 204 public void setCanGetFolderTree(Boolean value) { 205 this.canGetFolderTree = value; 206 } 207 208 /** 209 * Gets the value of the canGetProperties property. 210 * 211 * @return 212 * possible object is 213 * {@link Boolean } 214 * 215 */ 216 public Boolean isCanGetProperties() { 217 return canGetProperties; 218 } 219 220 /** 221 * Sets the value of the canGetProperties property. 222 * 223 * @param value 224 * allowed object is 225 * {@link Boolean } 226 * 227 */ 228 public void setCanGetProperties(Boolean value) { 229 this.canGetProperties = value; 230 } 231 232 /** 233 * Gets the value of the canGetObjectRelationships property. 234 * 235 * @return 236 * possible object is 237 * {@link Boolean } 238 * 239 */ 240 public Boolean isCanGetObjectRelationships() { 241 return canGetObjectRelationships; 242 } 243 244 /** 245 * Sets the value of the canGetObjectRelationships property. 246 * 247 * @param value 248 * allowed object is 249 * {@link Boolean } 250 * 251 */ 252 public void setCanGetObjectRelationships(Boolean value) { 253 this.canGetObjectRelationships = value; 254 } 255 256 /** 257 * Gets the value of the canGetObjectParents property. 258 * 259 * @return 260 * possible object is 261 * {@link Boolean } 262 * 263 */ 264 public Boolean isCanGetObjectParents() { 265 return canGetObjectParents; 266 } 267 268 /** 269 * Sets the value of the canGetObjectParents property. 270 * 271 * @param value 272 * allowed object is 273 * {@link Boolean } 274 * 275 */ 276 public void setCanGetObjectParents(Boolean value) { 277 this.canGetObjectParents = value; 278 } 279 280 /** 281 * Gets the value of the canGetFolderParent property. 282 * 283 * @return 284 * possible object is 285 * {@link Boolean } 286 * 287 */ 288 public Boolean isCanGetFolderParent() { 289 return canGetFolderParent; 290 } 291 292 /** 293 * Sets the value of the canGetFolderParent property. 294 * 295 * @param value 296 * allowed object is 297 * {@link Boolean } 298 * 299 */ 300 public void setCanGetFolderParent(Boolean value) { 301 this.canGetFolderParent = value; 302 } 303 304 /** 305 * Gets the value of the canGetDescendants property. 306 * 307 * @return 308 * possible object is 309 * {@link Boolean } 310 * 311 */ 312 public Boolean isCanGetDescendants() { 313 return canGetDescendants; 314 } 315 316 /** 317 * Sets the value of the canGetDescendants property. 318 * 319 * @param value 320 * allowed object is 321 * {@link Boolean } 322 * 323 */ 324 public void setCanGetDescendants(Boolean value) { 325 this.canGetDescendants = value; 326 } 327 328 /** 329 * Gets the value of the canMoveObject property. 330 * 331 * @return 332 * possible object is 333 * {@link Boolean } 334 * 335 */ 336 public Boolean isCanMoveObject() { 337 return canMoveObject; 338 } 339 340 /** 341 * Sets the value of the canMoveObject property. 342 * 343 * @param value 344 * allowed object is 345 * {@link Boolean } 346 * 347 */ 348 public void setCanMoveObject(Boolean value) { 349 this.canMoveObject = value; 350 } 351 352 /** 353 * Gets the value of the canDeleteContentStream property. 354 * 355 * @return 356 * possible object is 357 * {@link Boolean } 358 * 359 */ 360 public Boolean isCanDeleteContentStream() { 361 return canDeleteContentStream; 362 } 363 364 /** 365 * Sets the value of the canDeleteContentStream property. 366 * 367 * @param value 368 * allowed object is 369 * {@link Boolean } 370 * 371 */ 372 public void setCanDeleteContentStream(Boolean value) { 373 this.canDeleteContentStream = value; 374 } 375 376 /** 377 * Gets the value of the canCheckOut property. 378 * 379 * @return 380 * possible object is 381 * {@link Boolean } 382 * 383 */ 384 public Boolean isCanCheckOut() { 385 return canCheckOut; 386 } 387 388 /** 389 * Sets the value of the canCheckOut property. 390 * 391 * @param value 392 * allowed object is 393 * {@link Boolean } 394 * 395 */ 396 public void setCanCheckOut(Boolean value) { 397 this.canCheckOut = value; 398 } 399 400 /** 401 * Gets the value of the canCancelCheckOut property. 402 * 403 * @return 404 * possible object is 405 * {@link Boolean } 406 * 407 */ 408 public Boolean isCanCancelCheckOut() { 409 return canCancelCheckOut; 410 } 411 412 /** 413 * Sets the value of the canCancelCheckOut property. 414 * 415 * @param value 416 * allowed object is 417 * {@link Boolean } 418 * 419 */ 420 public void setCanCancelCheckOut(Boolean value) { 421 this.canCancelCheckOut = value; 422 } 423 424 /** 425 * Gets the value of the canCheckIn property. 426 * 427 * @return 428 * possible object is 429 * {@link Boolean } 430 * 431 */ 432 public Boolean isCanCheckIn() { 433 return canCheckIn; 434 } 435 436 /** 437 * Sets the value of the canCheckIn property. 438 * 439 * @param value 440 * allowed object is 441 * {@link Boolean } 442 * 443 */ 444 public void setCanCheckIn(Boolean value) { 445 this.canCheckIn = value; 446 } 447 448 /** 449 * Gets the value of the canSetContentStream property. 450 * 451 * @return 452 * possible object is 453 * {@link Boolean } 454 * 455 */ 456 public Boolean isCanSetContentStream() { 457 return canSetContentStream; 458 } 459 460 /** 461 * Sets the value of the canSetContentStream property. 462 * 463 * @param value 464 * allowed object is 465 * {@link Boolean } 466 * 467 */ 468 public void setCanSetContentStream(Boolean value) { 469 this.canSetContentStream = value; 470 } 471 472 /** 473 * Gets the value of the canGetAllVersions property. 474 * 475 * @return 476 * possible object is 477 * {@link Boolean } 478 * 479 */ 480 public Boolean isCanGetAllVersions() { 481 return canGetAllVersions; 482 } 483 484 /** 485 * Sets the value of the canGetAllVersions property. 486 * 487 * @param value 488 * allowed object is 489 * {@link Boolean } 490 * 491 */ 492 public void setCanGetAllVersions(Boolean value) { 493 this.canGetAllVersions = value; 494 } 495 496 /** 497 * Gets the value of the canAddObjectToFolder property. 498 * 499 * @return 500 * possible object is 501 * {@link Boolean } 502 * 503 */ 504 public Boolean isCanAddObjectToFolder() { 505 return canAddObjectToFolder; 506 } 507 508 /** 509 * Sets the value of the canAddObjectToFolder property. 510 * 511 * @param value 512 * allowed object is 513 * {@link Boolean } 514 * 515 */ 516 public void setCanAddObjectToFolder(Boolean value) { 517 this.canAddObjectToFolder = value; 518 } 519 520 /** 521 * Gets the value of the canRemoveObjectFromFolder property. 522 * 523 * @return 524 * possible object is 525 * {@link Boolean } 526 * 527 */ 528 public Boolean isCanRemoveObjectFromFolder() { 529 return canRemoveObjectFromFolder; 530 } 531 532 /** 533 * Sets the value of the canRemoveObjectFromFolder property. 534 * 535 * @param value 536 * allowed object is 537 * {@link Boolean } 538 * 539 */ 540 public void setCanRemoveObjectFromFolder(Boolean value) { 541 this.canRemoveObjectFromFolder = value; 542 } 543 544 /** 545 * Gets the value of the canGetContentStream property. 546 * 547 * @return 548 * possible object is 549 * {@link Boolean } 550 * 551 */ 552 public Boolean isCanGetContentStream() { 553 return canGetContentStream; 554 } 555 556 /** 557 * Sets the value of the canGetContentStream property. 558 * 559 * @param value 560 * allowed object is 561 * {@link Boolean } 562 * 563 */ 564 public void setCanGetContentStream(Boolean value) { 565 this.canGetContentStream = value; 566 } 567 568 /** 569 * Gets the value of the canApplyPolicy property. 570 * 571 * @return 572 * possible object is 573 * {@link Boolean } 574 * 575 */ 576 public Boolean isCanApplyPolicy() { 577 return canApplyPolicy; 578 } 579 580 /** 581 * Sets the value of the canApplyPolicy property. 582 * 583 * @param value 584 * allowed object is 585 * {@link Boolean } 586 * 587 */ 588 public void setCanApplyPolicy(Boolean value) { 589 this.canApplyPolicy = value; 590 } 591 592 /** 593 * Gets the value of the canGetAppliedPolicies property. 594 * 595 * @return 596 * possible object is 597 * {@link Boolean } 598 * 599 */ 600 public Boolean isCanGetAppliedPolicies() { 601 return canGetAppliedPolicies; 602 } 603 604 /** 605 * Sets the value of the canGetAppliedPolicies property. 606 * 607 * @param value 608 * allowed object is 609 * {@link Boolean } 610 * 611 */ 612 public void setCanGetAppliedPolicies(Boolean value) { 613 this.canGetAppliedPolicies = value; 614 } 615 616 /** 617 * Gets the value of the canRemovePolicy property. 618 * 619 * @return 620 * possible object is 621 * {@link Boolean } 622 * 623 */ 624 public Boolean isCanRemovePolicy() { 625 return canRemovePolicy; 626 } 627 628 /** 629 * Sets the value of the canRemovePolicy property. 630 * 631 * @param value 632 * allowed object is 633 * {@link Boolean } 634 * 635 */ 636 public void setCanRemovePolicy(Boolean value) { 637 this.canRemovePolicy = value; 638 } 639 640 /** 641 * Gets the value of the canGetChildren property. 642 * 643 * @return 644 * possible object is 645 * {@link Boolean } 646 * 647 */ 648 public Boolean isCanGetChildren() { 649 return canGetChildren; 650 } 651 652 /** 653 * Sets the value of the canGetChildren property. 654 * 655 * @param value 656 * allowed object is 657 * {@link Boolean } 658 * 659 */ 660 public void setCanGetChildren(Boolean value) { 661 this.canGetChildren = value; 662 } 663 664 /** 665 * Gets the value of the canCreateDocument property. 666 * 667 * @return 668 * possible object is 669 * {@link Boolean } 670 * 671 */ 672 public Boolean isCanCreateDocument() { 673 return canCreateDocument; 674 } 675 676 /** 677 * Sets the value of the canCreateDocument property. 678 * 679 * @param value 680 * allowed object is 681 * {@link Boolean } 682 * 683 */ 684 public void setCanCreateDocument(Boolean value) { 685 this.canCreateDocument = value; 686 } 687 688 /** 689 * Gets the value of the canCreateFolder property. 690 * 691 * @return 692 * possible object is 693 * {@link Boolean } 694 * 695 */ 696 public Boolean isCanCreateFolder() { 697 return canCreateFolder; 698 } 699 700 /** 701 * Sets the value of the canCreateFolder property. 702 * 703 * @param value 704 * allowed object is 705 * {@link Boolean } 706 * 707 */ 708 public void setCanCreateFolder(Boolean value) { 709 this.canCreateFolder = value; 710 } 711 712 /** 713 * Gets the value of the canCreateRelationship property. 714 * 715 * @return 716 * possible object is 717 * {@link Boolean } 718 * 719 */ 720 public Boolean isCanCreateRelationship() { 721 return canCreateRelationship; 722 } 723 724 /** 725 * Sets the value of the canCreateRelationship property. 726 * 727 * @param value 728 * allowed object is 729 * {@link Boolean } 730 * 731 */ 732 public void setCanCreateRelationship(Boolean value) { 733 this.canCreateRelationship = value; 734 } 735 736 /** 737 * Gets the value of the canDeleteTree property. 738 * 739 * @return 740 * possible object is 741 * {@link Boolean } 742 * 743 */ 744 public Boolean isCanDeleteTree() { 745 return canDeleteTree; 746 } 747 748 /** 749 * Sets the value of the canDeleteTree property. 750 * 751 * @param value 752 * allowed object is 753 * {@link Boolean } 754 * 755 */ 756 public void setCanDeleteTree(Boolean value) { 757 this.canDeleteTree = value; 758 } 759 760 /** 761 * Gets the value of the canGetRenditions property. 762 * 763 * @return 764 * possible object is 765 * {@link Boolean } 766 * 767 */ 768 public Boolean isCanGetRenditions() { 769 return canGetRenditions; 770 } 771 772 /** 773 * Sets the value of the canGetRenditions property. 774 * 775 * @param value 776 * allowed object is 777 * {@link Boolean } 778 * 779 */ 780 public void setCanGetRenditions(Boolean value) { 781 this.canGetRenditions = value; 782 } 783 784 /** 785 * Gets the value of the canGetACL property. 786 * 787 * @return 788 * possible object is 789 * {@link Boolean } 790 * 791 */ 792 public Boolean isCanGetACL() { 793 return canGetACL; 794 } 795 796 /** 797 * Sets the value of the canGetACL property. 798 * 799 * @param value 800 * allowed object is 801 * {@link Boolean } 802 * 803 */ 804 public void setCanGetACL(Boolean value) { 805 this.canGetACL = value; 806 } 807 808 /** 809 * Gets the value of the canApplyACL property. 810 * 811 * @return 812 * possible object is 813 * {@link Boolean } 814 * 815 */ 816 public Boolean isCanApplyACL() { 817 return canApplyACL; 818 } 819 820 /** 821 * Sets the value of the canApplyACL property. 822 * 823 * @param value 824 * allowed object is 825 * {@link Boolean } 826 * 827 */ 828 public void setCanApplyACL(Boolean value) { 829 this.canApplyACL = value; 830 } 831 832 /** 833 * Gets the value of the any property. 834 * 835 * <p> 836 * This accessor method returns a reference to the live list, 837 * not a snapshot. Therefore any modification you make to the 838 * returned list will be present inside the JAXB object. 839 * This is why there is not a <CODE>set</CODE> method for the any property. 840 * 841 * <p> 842 * For example, to add a new item, do as follows: 843 * <pre> 844 * getAny().add(newItem); 845 * </pre> 846 * 847 * 848 * <p> 849 * Objects of the following type(s) are allowed in the list 850 * {@link Element } 851 * {@link Object } 852 * 853 * 854 */ 855 public List<Object> getAny() { 856 if (any == null) { 857 any = new ArrayList<Object>(); 858 } 859 return this.any; 860 } 861 862 /** 863 * Gets a map that contains attributes that aren't bound to any typed property on this class. 864 * 865 * <p> 866 * the map is keyed by the name of the attribute and 867 * the value is the string value of the attribute. 868 * 869 * the map returned by this method is live, and you can add new attribute 870 * by updating the map directly. Because of this design, there's no setter. 871 * 872 * 873 * @return 874 * always non-null 875 */ 876 public Map<QName, String> getOtherAttributes() { 877 return otherAttributes; 878 } 879 880 }