org.apache.camel.component.salesforce.api.dto
Class AbstractSObjectBase

java.lang.Object
  extended by org.apache.camel.component.salesforce.api.dto.AbstractDTOBase
      extended by org.apache.camel.component.salesforce.api.dto.AbstractSObjectBase
Direct Known Subclasses:
PushTopic

public class AbstractSObjectBase
extends AbstractDTOBase


Constructor Summary
AbstractSObjectBase()
           
 
Method Summary
 void clearBaseFields()
          Utility method to clear all system AbstractSObjectBase fields.
 Attributes getAttributes()
           
 String getCreatedById()
           
 org.joda.time.DateTime getCreatedDate()
           
 String getId()
           
 String getLastActivityDate()
           
 String getLastModifiedById()
           
 org.joda.time.DateTime getLastModifiedDate()
           
 String getName()
           
 String getOwnerId()
           
 org.joda.time.DateTime getSystemModstamp()
           
 Boolean isIsDeleted()
           
 void setAttributes(Attributes attributes)
           
 void setCreatedById(String createdById)
           
 void setCreatedDate(org.joda.time.DateTime createdDate)
           
 void setId(String id)
           
 void setIsDeleted(Boolean isDeleted)
           
 void setLastActivityDate(String lastActivityDate)
           
 void setLastModifiedById(String lastModifiedById)
           
 void setLastModifiedDate(org.joda.time.DateTime lastModifiedDate)
           
 void setName(String name)
           
 void setOwnerId(String ownerId)
           
 void setSystemModstamp(org.joda.time.DateTime systemModstamp)
           
 
Methods inherited from class org.apache.camel.component.salesforce.api.dto.AbstractDTOBase
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractSObjectBase

public AbstractSObjectBase()
Method Detail

clearBaseFields

public final void clearBaseFields()
Utility method to clear all system AbstractSObjectBase fields.

Useful when reusing a DTO for a new record, or for update/upsert.

This method does not clear Name to allow updating it, so it must be explicitly set to null if needed.


getAttributes

public Attributes getAttributes()

setAttributes

public void setAttributes(Attributes attributes)

getId

public String getId()

setId

public void setId(String id)

getOwnerId

public String getOwnerId()

setOwnerId

public void setOwnerId(String ownerId)

isIsDeleted

public Boolean isIsDeleted()

setIsDeleted

public void setIsDeleted(Boolean isDeleted)

getName

public String getName()

setName

public void setName(String name)

getCreatedDate

public org.joda.time.DateTime getCreatedDate()

setCreatedDate

public void setCreatedDate(org.joda.time.DateTime createdDate)

getCreatedById

public String getCreatedById()

setCreatedById

public void setCreatedById(String createdById)

getLastModifiedDate

public org.joda.time.DateTime getLastModifiedDate()

setLastModifiedDate

public void setLastModifiedDate(org.joda.time.DateTime lastModifiedDate)

getLastModifiedById

public String getLastModifiedById()

setLastModifiedById

public void setLastModifiedById(String lastModifiedById)

getSystemModstamp

public org.joda.time.DateTime getSystemModstamp()

setSystemModstamp

public void setSystemModstamp(org.joda.time.DateTime systemModstamp)

getLastActivityDate

public String getLastActivityDate()

setLastActivityDate

public void setLastActivityDate(String lastActivityDate)


Apache Camel