org.apache.camel.component.salesforce.api.dto
Class AbstractSObjectBase
java.lang.Object
org.apache.camel.component.salesforce.api.dto.AbstractDTOBase
org.apache.camel.component.salesforce.api.dto.AbstractSObjectBase
- Direct Known Subclasses:
- PushTopic
public class AbstractSObjectBase
- extends AbstractDTOBase
AbstractSObjectBase
public AbstractSObjectBase()
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