public class

WorkerDocumentDataType

extends Object
implements Serializable
java.lang.Object
   ↳ com.workday.staffing.WorkerDocumentDataType

Class Overview

The information about the worker document, such as the category and file.

Java class for Worker_Document_DataType complex type.

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

 <complexType name="Worker_Document_DataType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="ID" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="Filename">
           <simpleType>
             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
               <maxLength value="255"/>
             </restriction>
           </simpleType>
         </element>
         <element name="Comment" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="File" type="{http://www.w3.org/2001/XMLSchema}base64Binary" minOccurs="0"/>
         <element name="Document_Category_Reference" type="{urn:com.workday/bsvc}Document_Category__All_ObjectType"/>
         <element name="Worker_Reference" type="{urn:com.workday/bsvc}WorkerObjectType"/>
         <element name="Content_Type" minOccurs="0">
           <simpleType>
             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
               <maxLength value="80"/>
             </restriction>
           </simpleType>
         </element>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

Summary

Constants
long serialVersionUID
Fields
protected String comment
protected String contentType
protected DocumentCategoryAllObjectType documentCategoryReference
protected byte[] file
protected String filename
protected String id
protected WorkerObjectType workerReference
Public Constructors
WorkerDocumentDataType()
Public Methods
String getComment()
Gets the value of the comment property.
String getContentType()
Gets the value of the contentType property.
DocumentCategoryAllObjectType getDocumentCategoryReference()
Gets the value of the documentCategoryReference property.
byte[] getFile()
Gets the value of the file property.
String getFilename()
Gets the value of the filename property.
String getID()
Gets the value of the id property.
WorkerObjectType getWorkerReference()
Gets the value of the workerReference property.
void setComment(String value)
Sets the value of the comment property.
void setContentType(String value)
Sets the value of the contentType property.
void setDocumentCategoryReference(DocumentCategoryAllObjectType value)
Sets the value of the documentCategoryReference property.
void setFile(byte[] value)
Sets the value of the file property.
void setFilename(String value)
Sets the value of the filename property.
void setID(String value)
Sets the value of the id property.
void setWorkerReference(WorkerObjectType value)
Sets the value of the workerReference property.
[Expand]
Inherited Methods
From class java.lang.Object

Constants

private static final long serialVersionUID

Constant Value: 1 (0x0000000000000001)

Fields

protected String comment

protected String contentType

protected DocumentCategoryAllObjectType documentCategoryReference

protected byte[] file

protected String filename

protected String id

protected WorkerObjectType workerReference

Public Constructors

public WorkerDocumentDataType ()

Public Methods

public String getComment ()

Gets the value of the comment property.

Returns
  • possible object is String

public String getContentType ()

Gets the value of the contentType property.

Returns
  • possible object is String

public DocumentCategoryAllObjectType getDocumentCategoryReference ()

Gets the value of the documentCategoryReference property.

Returns

public byte[] getFile ()

Gets the value of the file property.

Returns
  • possible object is byte[]

public String getFilename ()

Gets the value of the filename property.

Returns
  • possible object is String

public String getID ()

Gets the value of the id property.

Returns
  • possible object is String

public WorkerObjectType getWorkerReference ()

Gets the value of the workerReference property.

Returns

public void setComment (String value)

Sets the value of the comment property.

Parameters
value Allowed object is String

public void setContentType (String value)

Sets the value of the contentType property.

Parameters
value Allowed object is String

public void setDocumentCategoryReference (DocumentCategoryAllObjectType value)

Sets the value of the documentCategoryReference property.

Parameters
value Allowed object is DocumentCategoryAllObjectType

public void setFile (byte[] value)

Sets the value of the file property.

Parameters
value Allowed object is byte[]

public void setFilename (String value)

Sets the value of the filename property.

Parameters
value Allowed object is String

public void setID (String value)

Sets the value of the id property.

Parameters
value Allowed object is String

public void setWorkerReference (WorkerObjectType value)

Sets the value of the workerReference property.

Parameters
value Allowed object is WorkerObjectType