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() |
org.joda.time.DateTime |
getCreatedDate() |
String |
getId() |
org.joda.time.DateTime |
getLastActivityDate() |
String |
getLastModifiedById() |
org.joda.time.DateTime |
getLastModifiedDate() |
org.joda.time.DateTime |
getLastReferencedDate() |
org.joda.time.DateTime |
getLastViewedDate() |
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(org.joda.time.DateTime lastActivityDate) |
void |
setLastModifiedById(String lastModifiedById) |
void |
setLastModifiedDate(org.joda.time.DateTime lastModifiedDate) |
void |
setLastReferencedDate(org.joda.time.DateTime lastReferencedDate) |
void |
setLastViewedDate(org.joda.time.DateTime lastViewedDate) |
void |
setName(String name) |
void |
setOwnerId(String ownerId) |
void |
setSystemModstamp(org.joda.time.DateTime systemModstamp) |
toString
public 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 org.joda.time.DateTime getCreatedDate()
public void setCreatedDate(org.joda.time.DateTime createdDate)
public String getCreatedById()
public void setCreatedById(String createdById)
public org.joda.time.DateTime getLastModifiedDate()
public void setLastModifiedDate(org.joda.time.DateTime lastModifiedDate)
public String getLastModifiedById()
public void setLastModifiedById(String lastModifiedById)
public org.joda.time.DateTime getSystemModstamp()
public void setSystemModstamp(org.joda.time.DateTime systemModstamp)
public org.joda.time.DateTime getLastActivityDate()
public void setLastActivityDate(org.joda.time.DateTime lastActivityDate)
public org.joda.time.DateTime getLastViewedDate()
public void setLastViewedDate(org.joda.time.DateTime lastViewedDate)
public org.joda.time.DateTime getLastReferencedDate()
public void setLastReferencedDate(org.joda.time.DateTime lastReferencedDate)
Copyright © 2007–2016 The Apache Software Foundation. All rights reserved.