Class DocumentType.Versioning

  • All Implemented Interfaces:
    Serializable
    Enclosing class:
    DocumentType

    public static class DocumentType.Versioning
    extends Object
    implements Serializable

    Java class for anonymous complex type.

    The following schema fragment specifies the expected content contained within this class.

     <complexType>
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element name="versioningType" type="{http://www.iknowbase.com/ws/iknowbase-2}documentTypeVersioningEnumeration"/>
             <element name="maxVersions" type="{http://www.w3.org/2001/XMLSchema}int"/>
             <element name="allowEditingOfVersionedDocument" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
             <element name="allowSwitchActiveVersion" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
           </sequence>
         </restriction>
       </complexContent>
     </complexType>
     
    See Also:
    Serialized Form
    • Field Detail

      • maxVersions

        protected Integer maxVersions
      • allowEditingOfVersionedDocument

        protected boolean allowEditingOfVersionedDocument
      • allowSwitchActiveVersion

        protected boolean allowSwitchActiveVersion
    • Constructor Detail

      • Versioning

        public Versioning()
        Default no-arg constructor
      • Versioning

        public Versioning​(DocumentTypeVersioningEnumeration versioningType,
                          Integer maxVersions,
                          boolean allowEditingOfVersionedDocument,
                          boolean allowSwitchActiveVersion)
        Fully-initialising value constructor
    • Method Detail

      • getMaxVersions

        public Integer getMaxVersions()
        Gets the value of the maxVersions property.
        Returns:
        possible object is Integer
      • setMaxVersions

        public void setMaxVersions​(Integer value)
        Sets the value of the maxVersions property.
        Parameters:
        value - allowed object is Integer
      • isAllowEditingOfVersionedDocument

        public boolean isAllowEditingOfVersionedDocument()
        Gets the value of the allowEditingOfVersionedDocument property.
      • setAllowEditingOfVersionedDocument

        public void setAllowEditingOfVersionedDocument​(boolean value)
        Sets the value of the allowEditingOfVersionedDocument property.
      • isAllowSwitchActiveVersion

        public boolean isAllowSwitchActiveVersion()
        Gets the value of the allowSwitchActiveVersion property.
      • setAllowSwitchActiveVersion

        public void setAllowSwitchActiveVersion​(boolean value)
        Sets the value of the allowSwitchActiveVersion property.
      • withAllowEditingOfVersionedDocument

        public DocumentType.Versioning withAllowEditingOfVersionedDocument​(boolean value)