public class StaticResource extends SObject
Java class for StaticResource complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="StaticResource">
<complexContent>
<extension base="{urn:tooling.soap.sforce.com}sObject">
<sequence>
<element name="Body" type="{http://www.w3.org/2001/XMLSchema}base64Binary" minOccurs="0"/>
<element name="BodyLength" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
<element name="CacheControl" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="ContentType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="CreatedBy" type="{urn:tooling.soap.sforce.com}User" minOccurs="0"/>
<element name="CreatedById" type="{urn:tooling.soap.sforce.com}ID" minOccurs="0"/>
<element name="CreatedDate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
<element name="Description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="LastModifiedBy" type="{urn:tooling.soap.sforce.com}User" minOccurs="0"/>
<element name="LastModifiedById" type="{urn:tooling.soap.sforce.com}ID" minOccurs="0"/>
<element name="LastModifiedDate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
<element name="Name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="NamespacePrefix" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="SystemModstamp" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected byte[] |
body |
protected Integer |
bodyLength |
protected String |
cacheControl |
protected String |
contentType |
protected User |
createdBy |
protected String |
createdById |
protected XMLGregorianCalendar |
createdDate |
protected String |
description |
protected User |
lastModifiedBy |
protected String |
lastModifiedById |
protected XMLGregorianCalendar |
lastModifiedDate |
protected String |
name |
protected String |
namespacePrefix |
protected XMLGregorianCalendar |
systemModstamp |
fieldsToNull, id| Constructor and Description |
|---|
StaticResource() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getBody()
Gets the value of the body property.
|
Integer |
getBodyLength()
Gets the value of the bodyLength property.
|
String |
getCacheControl()
Gets the value of the cacheControl property.
|
String |
getContentType()
Gets the value of the contentType property.
|
User |
getCreatedBy()
Gets the value of the createdBy property.
|
String |
getCreatedById()
Gets the value of the createdById property.
|
XMLGregorianCalendar |
getCreatedDate()
Gets the value of the createdDate property.
|
String |
getDescription()
Gets the value of the description property.
|
User |
getLastModifiedBy()
Gets the value of the lastModifiedBy property.
|
String |
getLastModifiedById()
Gets the value of the lastModifiedById property.
|
XMLGregorianCalendar |
getLastModifiedDate()
Gets the value of the lastModifiedDate property.
|
String |
getName()
Gets the value of the name property.
|
String |
getNamespacePrefix()
Gets the value of the namespacePrefix property.
|
XMLGregorianCalendar |
getSystemModstamp()
Gets the value of the systemModstamp property.
|
void |
setBody(byte[] value)
Sets the value of the body property.
|
void |
setBodyLength(Integer value)
Sets the value of the bodyLength property.
|
void |
setCacheControl(String value)
Sets the value of the cacheControl property.
|
void |
setContentType(String value)
Sets the value of the contentType property.
|
void |
setCreatedBy(User value)
Sets the value of the createdBy property.
|
void |
setCreatedById(String value)
Sets the value of the createdById property.
|
void |
setCreatedDate(XMLGregorianCalendar value)
Sets the value of the createdDate property.
|
void |
setDescription(String value)
Sets the value of the description property.
|
void |
setLastModifiedBy(User value)
Sets the value of the lastModifiedBy property.
|
void |
setLastModifiedById(String value)
Sets the value of the lastModifiedById property.
|
void |
setLastModifiedDate(XMLGregorianCalendar value)
Sets the value of the lastModifiedDate property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setNamespacePrefix(String value)
Sets the value of the namespacePrefix property.
|
void |
setSystemModstamp(XMLGregorianCalendar value)
Sets the value of the systemModstamp property.
|
getFieldsToNull, getId, setIdprotected byte[] body
protected Integer bodyLength
protected String cacheControl
protected String contentType
protected User createdBy
protected String createdById
protected XMLGregorianCalendar createdDate
protected String description
protected User lastModifiedBy
protected String lastModifiedById
protected XMLGregorianCalendar lastModifiedDate
protected String name
protected String namespacePrefix
protected XMLGregorianCalendar systemModstamp
public byte[] getBody()
public void setBody(byte[] value)
value - allowed object is
byte[]public Integer getBodyLength()
Integerpublic void setBodyLength(Integer value)
value - allowed object is
Integerpublic String getCacheControl()
Stringpublic void setCacheControl(String value)
value - allowed object is
Stringpublic String getContentType()
Stringpublic void setContentType(String value)
value - allowed object is
Stringpublic User getCreatedBy()
Userpublic void setCreatedBy(User value)
value - allowed object is
Userpublic String getCreatedById()
Stringpublic void setCreatedById(String value)
value - allowed object is
Stringpublic XMLGregorianCalendar getCreatedDate()
XMLGregorianCalendarpublic void setCreatedDate(XMLGregorianCalendar value)
value - allowed object is
XMLGregorianCalendarpublic String getDescription()
Stringpublic void setDescription(String value)
value - allowed object is
Stringpublic User getLastModifiedBy()
Userpublic void setLastModifiedBy(User value)
value - allowed object is
Userpublic String getLastModifiedById()
Stringpublic void setLastModifiedById(String value)
value - allowed object is
Stringpublic XMLGregorianCalendar getLastModifiedDate()
XMLGregorianCalendarpublic void setLastModifiedDate(XMLGregorianCalendar value)
value - allowed object is
XMLGregorianCalendarpublic String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic String getNamespacePrefix()
Stringpublic void setNamespacePrefix(String value)
value - allowed object is
Stringpublic XMLGregorianCalendar getSystemModstamp()
XMLGregorianCalendarpublic void setSystemModstamp(XMLGregorianCalendar value)
value - allowed object is
XMLGregorianCalendarCopyright © 2016. All rights reserved.