Class DocumentType.Versioning
- java.lang.Object
-
- com.iknowbase.api.contentservices.v2.model.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 Summary
Fields Modifier and Type Field Description protected boolean
allowEditingOfVersionedDocument
protected boolean
allowSwitchActiveVersion
protected Integer
maxVersions
protected DocumentTypeVersioningEnumeration
versioningType
-
Constructor Summary
Constructors Constructor Description Versioning()
Default no-arg constructorVersioning(DocumentTypeVersioningEnumeration versioningType, Integer maxVersions, boolean allowEditingOfVersionedDocument, boolean allowSwitchActiveVersion)
Fully-initialising value constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Integer
getMaxVersions()
Gets the value of the maxVersions property.DocumentTypeVersioningEnumeration
getVersioningType()
Gets the value of the versioningType property.boolean
isAllowEditingOfVersionedDocument()
Gets the value of the allowEditingOfVersionedDocument property.boolean
isAllowSwitchActiveVersion()
Gets the value of the allowSwitchActiveVersion property.void
setAllowEditingOfVersionedDocument(boolean value)
Sets the value of the allowEditingOfVersionedDocument property.void
setAllowSwitchActiveVersion(boolean value)
Sets the value of the allowSwitchActiveVersion property.void
setMaxVersions(Integer value)
Sets the value of the maxVersions property.void
setVersioningType(DocumentTypeVersioningEnumeration value)
Sets the value of the versioningType property.DocumentType.Versioning
withAllowEditingOfVersionedDocument(boolean value)
DocumentType.Versioning
withAllowSwitchActiveVersion(boolean value)
DocumentType.Versioning
withMaxVersions(Integer value)
DocumentType.Versioning
withVersioningType(DocumentTypeVersioningEnumeration value)
-
-
-
Field Detail
-
versioningType
protected DocumentTypeVersioningEnumeration versioningType
-
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
-
getVersioningType
public DocumentTypeVersioningEnumeration getVersioningType()
Gets the value of the versioningType property.- Returns:
- possible object is
DocumentTypeVersioningEnumeration
-
setVersioningType
public void setVersioningType(DocumentTypeVersioningEnumeration value)
Sets the value of the versioningType property.- Parameters:
value
- allowed object isDocumentTypeVersioningEnumeration
-
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 isInteger
-
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.
-
withVersioningType
public DocumentType.Versioning withVersioningType(DocumentTypeVersioningEnumeration value)
-
withMaxVersions
public DocumentType.Versioning withMaxVersions(Integer value)
-
withAllowEditingOfVersionedDocument
public DocumentType.Versioning withAllowEditingOfVersionedDocument(boolean value)
-
withAllowSwitchActiveVersion
public DocumentType.Versioning withAllowSwitchActiveVersion(boolean value)
-
-