public class AbstractSObjectBase extends AbstractDTOBase
| Constructor and Description |
|---|
AbstractSObjectBase() |
| Modifier and Type | Method and Description |
|---|---|
void |
clearBaseFields()
Utility method to clear all system
AbstractSObjectBase fields. |
Attributes |
getAttributes() |
String |
getCreatedById() |
java.time.ZonedDateTime |
getCreatedDate() |
String |
getId() |
java.time.ZonedDateTime |
getLastActivityDate() |
String |
getLastModifiedById() |
java.time.ZonedDateTime |
getLastModifiedDate() |
java.time.ZonedDateTime |
getLastReferencedDate() |
java.time.ZonedDateTime |
getLastViewedDate() |
String |
getName() |
String |
getOwnerId() |
java.time.ZonedDateTime |
getSystemModstamp() |
Boolean |
isIsDeleted() |
void |
setAttributes(Attributes attributes) |
void |
setCreatedById(String createdById) |
void |
setCreatedDate(java.time.ZonedDateTime createdDate) |
void |
setId(String id) |
void |
setIsDeleted(Boolean isDeleted) |
void |
setLastActivityDate(java.time.ZonedDateTime lastActivityDate) |
void |
setLastModifiedById(String lastModifiedById) |
void |
setLastModifiedDate(java.time.ZonedDateTime lastModifiedDate) |
void |
setLastReferencedDate(java.time.ZonedDateTime lastReferencedDate) |
void |
setLastViewedDate(java.time.ZonedDateTime lastViewedDate) |
void |
setName(String name) |
void |
setOwnerId(String ownerId) |
void |
setSystemModstamp(java.time.ZonedDateTime systemModstamp) |
toStringpublic final void clearBaseFields()
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.
public Attributes getAttributes()
public void setAttributes(Attributes attributes)
public String getId()
public void setId(String id)
public String getOwnerId()
public void setOwnerId(String ownerId)
public Boolean isIsDeleted()
public void setIsDeleted(Boolean isDeleted)
public String getName()
public void setName(String name)
public java.time.ZonedDateTime getCreatedDate()
public void setCreatedDate(java.time.ZonedDateTime createdDate)
public String getCreatedById()
public void setCreatedById(String createdById)
public java.time.ZonedDateTime getLastModifiedDate()
public void setLastModifiedDate(java.time.ZonedDateTime lastModifiedDate)
public String getLastModifiedById()
public void setLastModifiedById(String lastModifiedById)
public java.time.ZonedDateTime getSystemModstamp()
public void setSystemModstamp(java.time.ZonedDateTime systemModstamp)
public java.time.ZonedDateTime getLastActivityDate()
public void setLastActivityDate(java.time.ZonedDateTime lastActivityDate)
public java.time.ZonedDateTime getLastViewedDate()
public void setLastViewedDate(java.time.ZonedDateTime lastViewedDate)
public java.time.ZonedDateTime getLastReferencedDate()
public void setLastReferencedDate(java.time.ZonedDateTime lastReferencedDate)
Apache Camel