public class

File

extends Record
java.lang.Object
   ↳ com.netsuite.webservices.platform.core_2010_2.Record
     ↳ com.netsuite.webservices.documents.filecabinet_2010_2.File

Class Overview

Java class for File complex type.

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

 <complexType name="File">
   <complexContent>
     <extension base="{urn:core_2010_2.platform.webservices.netsuite.com}Record">
       <sequence>
         <element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="attachFrom" type="{urn:types.filecabinet_2010_2.documents.webservices.netsuite.com}FileAttachFrom" minOccurs="0"/>
         <element name="mediaTypeName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="fileType" type="{urn:types.filecabinet_2010_2.documents.webservices.netsuite.com}MediaType" minOccurs="0"/>
         <element name="content" type="{http://www.w3.org/2001/XMLSchema}base64Binary" minOccurs="0"/>
         <element name="folder" type="{urn:core_2010_2.platform.webservices.netsuite.com}RecordRef" minOccurs="0"/>
         <element name="fileSize" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
         <element name="url" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="mediaFile" type="{urn:core_2010_2.platform.webservices.netsuite.com}RecordRef" minOccurs="0"/>
         <element name="textFileEncoding" type="{urn:types.filecabinet_2010_2.documents.webservices.netsuite.com}TextFileEncoding" minOccurs="0"/>
         <element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="encoding" type="{urn:types.filecabinet_2010_2.documents.webservices.netsuite.com}FileEncoding" minOccurs="0"/>
         <element name="altTagCaption" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="isOnline" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
         <element name="isInactive" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
         <element name="class" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="bundleable" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
         <element name="department" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="hideInBundle" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
         <element name="isPrivate" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
         <element name="owner" type="{urn:core_2010_2.platform.webservices.netsuite.com}RecordRef" minOccurs="0"/>
         <element name="caption" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="storeDisplayThumbnail" type="{urn:core_2010_2.platform.webservices.netsuite.com}RecordRef" minOccurs="0"/>
         <element name="siteDescription" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="featuredDescription" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="lastModifiedDate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
         <element name="createdDate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
         <element name="siteCategoryList" type="{urn:filecabinet_2010_2.documents.webservices.netsuite.com}FileSiteCategoryList" minOccurs="0"/>
       </sequence>
       <attribute name="internalId" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="externalId" type="{http://www.w3.org/2001/XMLSchema}string" />
     </extension>
   </complexContent>
 </complexType>
 

Summary

Fields
protected String altTagCaption
protected FileAttachFrom attachFrom
protected Boolean bundleable
protected String caption
protected String clazz
protected byte[] content
protected XMLGregorianCalendar createdDate
protected String department
protected String description
protected FileEncoding encoding
protected String externalId
protected String featuredDescription
protected Double fileSize
protected MediaType fileType
protected RecordRef folder
protected Boolean hideInBundle
protected String internalId
protected Boolean isInactive
protected Boolean isOnline
protected Boolean isPrivate
protected XMLGregorianCalendar lastModifiedDate
protected RecordRef mediaFile
protected String mediaTypeName
protected String name
protected RecordRef owner
protected FileSiteCategoryList siteCategoryList
protected String siteDescription
protected RecordRef storeDisplayThumbnail
protected TextFileEncoding textFileEncoding
protected String url
[Expand]
Inherited Fields
From class com.netsuite.webservices.platform.core_2010_2.Record
Public Constructors
File()
Public Methods
String getAltTagCaption()
Gets the value of the altTagCaption property.
FileAttachFrom getAttachFrom()
Gets the value of the attachFrom property.
String getCaption()
Gets the value of the caption property.
String getClazz()
Gets the value of the clazz property.
byte[] getContent()
Gets the value of the content property.
XMLGregorianCalendar getCreatedDate()
Gets the value of the createdDate property.
String getDepartment()
Gets the value of the department property.
String getDescription()
Gets the value of the description property.
FileEncoding getEncoding()
Gets the value of the encoding property.
String getExternalId()
Gets the value of the externalId property.
String getFeaturedDescription()
Gets the value of the featuredDescription property.
Double getFileSize()
Gets the value of the fileSize property.
MediaType getFileType()
Gets the value of the fileType property.
RecordRef getFolder()
Gets the value of the folder property.
String getInternalId()
Gets the value of the internalId property.
XMLGregorianCalendar getLastModifiedDate()
Gets the value of the lastModifiedDate property.
RecordRef getMediaFile()
Gets the value of the mediaFile property.
String getMediaTypeName()
Gets the value of the mediaTypeName property.
String getName()
Gets the value of the name property.
RecordRef getOwner()
Gets the value of the owner property.
FileSiteCategoryList getSiteCategoryList()
Gets the value of the siteCategoryList property.
String getSiteDescription()
Gets the value of the siteDescription property.
RecordRef getStoreDisplayThumbnail()
Gets the value of the storeDisplayThumbnail property.
TextFileEncoding getTextFileEncoding()
Gets the value of the textFileEncoding property.
String getUrl()
Gets the value of the url property.
Boolean isBundleable()
Gets the value of the bundleable property.
Boolean isHideInBundle()
Gets the value of the hideInBundle property.
Boolean isIsInactive()
Gets the value of the isInactive property.
Boolean isIsOnline()
Gets the value of the isOnline property.
Boolean isIsPrivate()
Gets the value of the isPrivate property.
void setAltTagCaption(String value)
Sets the value of the altTagCaption property.
void setAttachFrom(FileAttachFrom value)
Sets the value of the attachFrom property.
void setBundleable(Boolean value)
Sets the value of the bundleable property.
void setCaption(String value)
Sets the value of the caption property.
void setClazz(String value)
Sets the value of the clazz property.
void setContent(byte[] value)
Sets the value of the content property.
void setCreatedDate(XMLGregorianCalendar value)
Sets the value of the createdDate property.
void setDepartment(String value)
Sets the value of the department property.
void setDescription(String value)
Sets the value of the description property.
void setEncoding(FileEncoding value)
Sets the value of the encoding property.
void setExternalId(String value)
Sets the value of the externalId property.
void setFeaturedDescription(String value)
Sets the value of the featuredDescription property.
void setFileSize(Double value)
Sets the value of the fileSize property.
void setFileType(MediaType value)
Sets the value of the fileType property.
void setFolder(RecordRef value)
Sets the value of the folder property.
void setHideInBundle(Boolean value)
Sets the value of the hideInBundle property.
void setInternalId(String value)
Sets the value of the internalId property.
void setIsInactive(Boolean value)
Sets the value of the isInactive property.
void setIsOnline(Boolean value)
Sets the value of the isOnline property.
void setIsPrivate(Boolean value)
Sets the value of the isPrivate property.
void setLastModifiedDate(XMLGregorianCalendar value)
Sets the value of the lastModifiedDate property.
void setMediaFile(RecordRef value)
Sets the value of the mediaFile property.
void setMediaTypeName(String value)
Sets the value of the mediaTypeName property.
void setName(String value)
Sets the value of the name property.
void setOwner(RecordRef value)
Sets the value of the owner property.
void setSiteCategoryList(FileSiteCategoryList value)
Sets the value of the siteCategoryList property.
void setSiteDescription(String value)
Sets the value of the siteDescription property.
void setStoreDisplayThumbnail(RecordRef value)
Sets the value of the storeDisplayThumbnail property.
void setTextFileEncoding(TextFileEncoding value)
Sets the value of the textFileEncoding property.
void setUrl(String value)
Sets the value of the url property.
[Expand]
Inherited Methods
From class com.netsuite.webservices.platform.core_2010_2.Record
From class java.lang.Object

Fields

protected String altTagCaption

protected FileAttachFrom attachFrom

protected Boolean bundleable

protected String caption

protected String clazz

protected byte[] content

protected XMLGregorianCalendar createdDate

protected String department

protected String description

protected FileEncoding encoding

protected String externalId

protected String featuredDescription

protected Double fileSize

protected MediaType fileType

protected RecordRef folder

protected Boolean hideInBundle

protected String internalId

protected Boolean isInactive

protected Boolean isOnline

protected Boolean isPrivate

protected XMLGregorianCalendar lastModifiedDate

protected RecordRef mediaFile

protected String mediaTypeName

protected String name

protected RecordRef owner

protected FileSiteCategoryList siteCategoryList

protected String siteDescription

protected RecordRef storeDisplayThumbnail

protected TextFileEncoding textFileEncoding

protected String url

Public Constructors

public File ()

Public Methods

public String getAltTagCaption ()

Gets the value of the altTagCaption property.

Returns
  • possible object is String

public FileAttachFrom getAttachFrom ()

Gets the value of the attachFrom property.

Returns

public String getCaption ()

Gets the value of the caption property.

Returns
  • possible object is String

public String getClazz ()

Gets the value of the clazz property.

Returns
  • possible object is String

public byte[] getContent ()

Gets the value of the content property.

Returns
  • possible object is byte[]

public XMLGregorianCalendar getCreatedDate ()

Gets the value of the createdDate property.

Returns
  • possible object is XMLGregorianCalendar

public String getDepartment ()

Gets the value of the department property.

Returns
  • possible object is String

public String getDescription ()

Gets the value of the description property.

Returns
  • possible object is String

public FileEncoding getEncoding ()

Gets the value of the encoding property.

Returns

public String getExternalId ()

Gets the value of the externalId property.

Returns
  • possible object is String

public String getFeaturedDescription ()

Gets the value of the featuredDescription property.

Returns
  • possible object is String

public Double getFileSize ()

Gets the value of the fileSize property.

Returns
  • possible object is Double

public MediaType getFileType ()

Gets the value of the fileType property.

Returns

public RecordRef getFolder ()

Gets the value of the folder property.

Returns

public String getInternalId ()

Gets the value of the internalId property.

Returns
  • possible object is String

public XMLGregorianCalendar getLastModifiedDate ()

Gets the value of the lastModifiedDate property.

Returns
  • possible object is XMLGregorianCalendar

public RecordRef getMediaFile ()

Gets the value of the mediaFile property.

Returns

public String getMediaTypeName ()

Gets the value of the mediaTypeName property.

Returns
  • possible object is String

public String getName ()

Gets the value of the name property.

Returns
  • possible object is String

public RecordRef getOwner ()

Gets the value of the owner property.

Returns

public FileSiteCategoryList getSiteCategoryList ()

Gets the value of the siteCategoryList property.

Returns

public String getSiteDescription ()

Gets the value of the siteDescription property.

Returns
  • possible object is String

public RecordRef getStoreDisplayThumbnail ()

Gets the value of the storeDisplayThumbnail property.

Returns

public TextFileEncoding getTextFileEncoding ()

Gets the value of the textFileEncoding property.

Returns

public String getUrl ()

Gets the value of the url property.

Returns
  • possible object is String

public Boolean isBundleable ()

Gets the value of the bundleable property.

Returns
  • possible object is Boolean

public Boolean isHideInBundle ()

Gets the value of the hideInBundle property.

Returns
  • possible object is Boolean

public Boolean isIsInactive ()

Gets the value of the isInactive property.

Returns
  • possible object is Boolean

public Boolean isIsOnline ()

Gets the value of the isOnline property.

Returns
  • possible object is Boolean

public Boolean isIsPrivate ()

Gets the value of the isPrivate property.

Returns
  • possible object is Boolean

public void setAltTagCaption (String value)

Sets the value of the altTagCaption property.

Parameters
value Allowed object is String

public void setAttachFrom (FileAttachFrom value)

Sets the value of the attachFrom property.

Parameters
value Allowed object is FileAttachFrom

public void setBundleable (Boolean value)

Sets the value of the bundleable property.

Parameters
value Allowed object is Boolean

public void setCaption (String value)

Sets the value of the caption property.

Parameters
value Allowed object is String

public void setClazz (String value)

Sets the value of the clazz property.

Parameters
value Allowed object is String

public void setContent (byte[] value)

Sets the value of the content property.

Parameters
value Allowed object is byte[]

public void setCreatedDate (XMLGregorianCalendar value)

Sets the value of the createdDate property.

Parameters
value Allowed object is XMLGregorianCalendar

public void setDepartment (String value)

Sets the value of the department property.

Parameters
value Allowed object is String

public void setDescription (String value)

Sets the value of the description property.

Parameters
value Allowed object is String

public void setEncoding (FileEncoding value)

Sets the value of the encoding property.

Parameters
value Allowed object is FileEncoding

public void setExternalId (String value)

Sets the value of the externalId property.

Parameters
value Allowed object is String

public void setFeaturedDescription (String value)

Sets the value of the featuredDescription property.

Parameters
value Allowed object is String

public void setFileSize (Double value)

Sets the value of the fileSize property.

Parameters
value Allowed object is Double

public void setFileType (MediaType value)

Sets the value of the fileType property.

Parameters
value Allowed object is MediaType

public void setFolder (RecordRef value)

Sets the value of the folder property.

Parameters
value Allowed object is RecordRef

public void setHideInBundle (Boolean value)

Sets the value of the hideInBundle property.

Parameters
value Allowed object is Boolean

public void setInternalId (String value)

Sets the value of the internalId property.

Parameters
value Allowed object is String

public void setIsInactive (Boolean value)

Sets the value of the isInactive property.

Parameters
value Allowed object is Boolean

public void setIsOnline (Boolean value)

Sets the value of the isOnline property.

Parameters
value Allowed object is Boolean

public void setIsPrivate (Boolean value)

Sets the value of the isPrivate property.

Parameters
value Allowed object is Boolean

public void setLastModifiedDate (XMLGregorianCalendar value)

Sets the value of the lastModifiedDate property.

Parameters
value Allowed object is XMLGregorianCalendar

public void setMediaFile (RecordRef value)

Sets the value of the mediaFile property.

Parameters
value Allowed object is RecordRef

public void setMediaTypeName (String value)

Sets the value of the mediaTypeName property.

Parameters
value Allowed object is String

public void setName (String value)

Sets the value of the name property.

Parameters
value Allowed object is String

public void setOwner (RecordRef value)

Sets the value of the owner property.

Parameters
value Allowed object is RecordRef

public void setSiteCategoryList (FileSiteCategoryList value)

Sets the value of the siteCategoryList property.

Parameters
value Allowed object is FileSiteCategoryList

public void setSiteDescription (String value)

Sets the value of the siteDescription property.

Parameters
value Allowed object is String

public void setStoreDisplayThumbnail (RecordRef value)

Sets the value of the storeDisplayThumbnail property.

Parameters
value Allowed object is RecordRef

public void setTextFileEncoding (TextFileEncoding value)

Sets the value of the textFileEncoding property.

Parameters
value Allowed object is TextFileEncoding

public void setUrl (String value)

Sets the value of the url property.

Parameters
value Allowed object is String