Class Document
- java.lang.Object
-
- com.iknowbase.api.contentservices.v2.model.Document
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
DocumentEx
public class Document 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="documentIdentity" type="{http://www.iknowbase.com/ws/iknowbase-2}documentReference" minOccurs="0"/> <element name="parentDocumentReference" type="{http://www.iknowbase.com/ws/iknowbase-2}objectReference" minOccurs="0"/> <element name="aclReference" type="{http://www.iknowbase.com/ws/iknowbase-2}objectReference" minOccurs="0"/> <element name="documentTypeReference" type="{http://www.iknowbase.com/ws/iknowbase-2}objectReference" minOccurs="0"/> <element name="statusReference" type="{http://www.iknowbase.com/ws/iknowbase-2}objectReference" minOccurs="0"/> <element name="auditInformation" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="created" type="{http://www.iknowbase.com/ws/iknowbase-2}auditEntry"/> <element name="updated" type="{http://www.iknowbase.com/ws/iknowbase-2}auditEntry"/> <element name="timestamp" type="{http://www.w3.org/2001/XMLSchema}dateTime"/> </sequence> </restriction> </complexContent> </complexType> </element> <element name="title" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="altTitle" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="validity" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="from" type="{http://www.w3.org/2001/XMLSchema}dateTime" /> <attribute name="to" type="{http://www.w3.org/2001/XMLSchema}dateTime" /> </restriction> </complexContent> </complexType> </element> <element name="formState" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="formReference" type="{http://www.iknowbase.com/ws/iknowbase-2}objectReference"/> <element name="taskReference" type="{http://www.iknowbase.com/ws/iknowbase-2}objectReference"/> <element name="stepReference" type="{http://www.iknowbase.com/ws/iknowbase-2}objectReference"/> </sequence> </restriction> </complexContent> </complexType> </element> <element name="noark" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="accessCode" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="dmid" type="{http://www.w3.org/2001/XMLSchema}int"/> </sequence> </restriction> </complexContent> </complexType> </element> <element name="content" type="{http://www.iknowbase.com/ws/iknowbase-2}content" minOccurs="0"/> <element name="documentAttributes" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="documentAttribute" type="{http://www.iknowbase.com/ws/iknowbase-2}documentAttribute" maxOccurs="unbounded" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType> </element> </sequence> </restriction> </complexContent> </complexType>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Document.AuditInformation
Java class for anonymous complex type.static class
Document.DocumentAttributes
Java class for anonymous complex type.static class
Document.FormState
Java class for anonymous complex type.static class
Document.Noark
Java class for anonymous complex type.static class
Document.Validity
Java class for anonymous complex type.
-
Field Summary
Fields Modifier and Type Field Description protected ObjectReference
aclReference
protected String
altTitle
protected Document.AuditInformation
auditInformation
protected Content
content
protected String
description
protected Document.DocumentAttributes
documentAttributes
protected DocumentReference
documentIdentity
protected ObjectReference
documentTypeReference
protected Document.FormState
formState
protected Document.Noark
noark
protected ObjectReference
parentDocumentReference
protected ObjectReference
statusReference
protected String
title
protected Document.Validity
validity
-
Constructor Summary
Constructors Constructor Description Document()
Default no-arg constructorDocument(DocumentReference documentIdentity, ObjectReference parentDocumentReference, ObjectReference aclReference, ObjectReference documentTypeReference, ObjectReference statusReference, Document.AuditInformation auditInformation, String title, String altTitle, String description, Document.Validity validity, Document.FormState formState, Document.Noark noark, Content content, Document.DocumentAttributes documentAttributes)
Fully-initialising value constructor
-
Method Summary
-
-
-
Field Detail
-
documentIdentity
protected DocumentReference documentIdentity
-
parentDocumentReference
protected ObjectReference parentDocumentReference
-
aclReference
protected ObjectReference aclReference
-
documentTypeReference
protected ObjectReference documentTypeReference
-
statusReference
protected ObjectReference statusReference
-
auditInformation
protected Document.AuditInformation auditInformation
-
title
protected String title
-
altTitle
protected String altTitle
-
description
protected String description
-
validity
protected Document.Validity validity
-
formState
protected Document.FormState formState
-
noark
protected Document.Noark noark
-
content
protected Content content
-
documentAttributes
protected Document.DocumentAttributes documentAttributes
-
-
Constructor Detail
-
Document
public Document()
Default no-arg constructor
-
Document
public Document(DocumentReference documentIdentity, ObjectReference parentDocumentReference, ObjectReference aclReference, ObjectReference documentTypeReference, ObjectReference statusReference, Document.AuditInformation auditInformation, String title, String altTitle, String description, Document.Validity validity, Document.FormState formState, Document.Noark noark, Content content, Document.DocumentAttributes documentAttributes)
Fully-initialising value constructor
-
-
Method Detail
-
getDocumentIdentity
public DocumentReference getDocumentIdentity()
Gets the value of the documentIdentity property.- Returns:
- possible object is
DocumentReference
-
setDocumentIdentity
public void setDocumentIdentity(DocumentReference value)
Sets the value of the documentIdentity property.- Parameters:
value
- allowed object isDocumentReference
-
getParentDocumentReference
public ObjectReference getParentDocumentReference()
Gets the value of the parentDocumentReference property.- Returns:
- possible object is
ObjectReference
-
setParentDocumentReference
public void setParentDocumentReference(ObjectReference value)
Sets the value of the parentDocumentReference property.- Parameters:
value
- allowed object isObjectReference
-
getAclReference
public ObjectReference getAclReference()
Gets the value of the aclReference property.- Returns:
- possible object is
ObjectReference
-
setAclReference
public void setAclReference(ObjectReference value)
Sets the value of the aclReference property.- Parameters:
value
- allowed object isObjectReference
-
getDocumentTypeReference
public ObjectReference getDocumentTypeReference()
Gets the value of the documentTypeReference property.- Returns:
- possible object is
ObjectReference
-
setDocumentTypeReference
public void setDocumentTypeReference(ObjectReference value)
Sets the value of the documentTypeReference property.- Parameters:
value
- allowed object isObjectReference
-
getStatusReference
public ObjectReference getStatusReference()
Gets the value of the statusReference property.- Returns:
- possible object is
ObjectReference
-
setStatusReference
public void setStatusReference(ObjectReference value)
Sets the value of the statusReference property.- Parameters:
value
- allowed object isObjectReference
-
getAuditInformation
public Document.AuditInformation getAuditInformation()
Gets the value of the auditInformation property.- Returns:
- possible object is
Document.AuditInformation
-
setAuditInformation
public void setAuditInformation(Document.AuditInformation value)
Sets the value of the auditInformation property.- Parameters:
value
- allowed object isDocument.AuditInformation
-
getTitle
public String getTitle()
Gets the value of the title property.- Returns:
- possible object is
String
-
setTitle
public void setTitle(String value)
Sets the value of the title property.- Parameters:
value
- allowed object isString
-
getAltTitle
public String getAltTitle()
Gets the value of the altTitle property.- Returns:
- possible object is
String
-
setAltTitle
public void setAltTitle(String value)
Sets the value of the altTitle property.- Parameters:
value
- allowed object isString
-
getDescription
public String getDescription()
Gets the value of the description property.- Returns:
- possible object is
String
-
setDescription
public void setDescription(String value)
Sets the value of the description property.- Parameters:
value
- allowed object isString
-
getValidity
public Document.Validity getValidity()
Gets the value of the validity property.- Returns:
- possible object is
Document.Validity
-
setValidity
public void setValidity(Document.Validity value)
Sets the value of the validity property.- Parameters:
value
- allowed object isDocument.Validity
-
getFormState
public Document.FormState getFormState()
Gets the value of the formState property.- Returns:
- possible object is
Document.FormState
-
setFormState
public void setFormState(Document.FormState value)
Sets the value of the formState property.- Parameters:
value
- allowed object isDocument.FormState
-
getNoark
public Document.Noark getNoark()
Gets the value of the noark property.- Returns:
- possible object is
Document.Noark
-
setNoark
public void setNoark(Document.Noark value)
Sets the value of the noark property.- Parameters:
value
- allowed object isDocument.Noark
-
getContent
public Content getContent()
Gets the value of the content property.- Returns:
- possible object is
Content
-
setContent
public void setContent(Content value)
Sets the value of the content property.- Parameters:
value
- allowed object isContent
-
getDocumentAttributes
public Document.DocumentAttributes getDocumentAttributes()
Gets the value of the documentAttributes property.- Returns:
- possible object is
Document.DocumentAttributes
-
setDocumentAttributes
public void setDocumentAttributes(Document.DocumentAttributes value)
Sets the value of the documentAttributes property.- Parameters:
value
- allowed object isDocument.DocumentAttributes
-
withDocumentIdentity
public Document withDocumentIdentity(DocumentReference value)
-
withParentDocumentReference
public Document withParentDocumentReference(ObjectReference value)
-
withAclReference
public Document withAclReference(ObjectReference value)
-
withDocumentTypeReference
public Document withDocumentTypeReference(ObjectReference value)
-
withStatusReference
public Document withStatusReference(ObjectReference value)
-
withAuditInformation
public Document withAuditInformation(Document.AuditInformation value)
-
withValidity
public Document withValidity(Document.Validity value)
-
withFormState
public Document withFormState(Document.FormState value)
-
withNoark
public Document withNoark(Document.Noark value)
-
withDocumentAttributes
public Document withDocumentAttributes(Document.DocumentAttributes value)
-
getDocumentReference
public DocumentReference getDocumentReference()
-
setDocumentAttributes
public void setDocumentAttributes(DocumentAttribute... values)
-
setDocumentAttributes
public void setDocumentAttributes(Collection<DocumentAttribute> values)
-
withDocumentAttributes
public Document withDocumentAttributes(DocumentAttribute... values)
-
withDocumentAttributes
public Document withDocumentAttributes(Collection<DocumentAttribute> values)
-
addDocumentAttributes
public Document addDocumentAttributes(DocumentAttribute... values)
-
addDocumentAttributes
public Document addDocumentAttributes(Collection<DocumentAttribute> values)
-
setContent
public void setContent(javax.activation.DataSource dataSource)
-
setContent
public void setContent(InputStream data, String filename)
-
setContent
@Deprecated public void setContent(InputStream data)
Deprecated.
-
setContent
public void setContent(String data)
-
setContent
public void setContent(Element data)
-
withContent
public Document withContent(javax.activation.DataSource dataSource)
-
withContent
public Document withContent(InputStream data, String filename)
-
withContent
@Deprecated public Document withContent(InputStream data)
Deprecated.
-
setDocumentIdentity
public void setDocumentIdentity(String externalKey)
-
setDocumentIdentity
public void setDocumentIdentity(Integer id)
-
setParentDocumentReference
public void setParentDocumentReference(String externalKey)
-
setParentDocumentReference
public void setParentDocumentReference(Integer id)
-
setDocumentTypeReference
public void setDocumentTypeReference(String externalKey)
-
setDocumentTypeReference
public void setDocumentTypeReference(Integer id)
-
setAclReference
public void setAclReference(String externalKey)
-
setAclReference
public void setAclReference(Integer id)
-
setStatusReference
public void setStatusReference(String externalKey)
-
setStatusReference
public void setStatusReference(Integer id)
-
setForm
public void setForm(ObjectReference objectReference)
-
setForm
public void setForm(String externalKey)
-
setForm
public void setForm(Integer id)
-
-