public class SummaryField extends IdentifiableModel<Long>
| Constructor and Description |
|---|
SummaryField() |
| Modifier and Type | Method and Description |
|---|---|
List<Contact> |
getContactOptions()
Get contact options, only valid when type is CONTACT_LIST
|
Date |
getCreatedAt()
Get summary field time of creation
|
User |
getCreatedBy()
Get User object of summary field creator
|
String |
getDisplayValue()
Gets the display value of the summary field
|
Format |
getFormat()
Gets the format descriptor
|
String |
getFormula()
Gets the formula for the summary field
|
Hyperlink |
getHyperlink()
Gets the hyperlink associated with the field, if any
|
Long |
getId()
Gets the id.
|
Image |
getImage()
Gets the image associated with the field, if any
|
Integer |
getIndex()
Gets the field index or position
|
Boolean |
getLocked()
Gets flag indicating if field is locked
|
Boolean |
getLockedForUser()
Gets flag indicating whether field is locked for the requesting user
|
Date |
getModifiedAt()
Gets the last modification date and time
|
User |
getModifiedBy()
Get the User who last modified the field
|
ObjectValue |
getObjectValue()
Gets the field's objectValue
|
List<String> |
getOptions()
Gets PICKLIST options
|
String |
getSymbol()
Gets applicable symbol for PICKLIST type
|
String |
getTitle()
Gets the field's title
|
ColumnType |
getType()
Sets the field's type - see Column Type
|
Boolean |
getValidation()
Gets flag indicating whether summary field values are restricted to type
|
SummaryField |
setContactOptions(List<Contact> contactOptions)
Set contact options
|
SummaryField |
setCreatedAt(Date createdAt)
Set summary field time of creation
|
SummaryField |
setCreatedBy(User createdBy)
Set User object of summary field creator
|
SummaryField |
setDisplayValue(String displayValue)
Sets the display value of the summary field
|
SummaryField |
setFormat(Format format)
Sets the format descriptor
|
SummaryField |
setFormula(String formula)
Sets the formula for the summary field
|
SummaryField |
setHyperlink(Hyperlink hyperlink)
Sets the hyperlink associated with the field
|
IdentifiableModel<Long> |
setId(Long id)
Sets the id.
|
SummaryField |
setImage(Image image)
Sets the image associated with the field
|
SummaryField |
setIndex(Integer index)
Sets the field index or position
|
SummaryField |
setLocked(Boolean locked)
Sets flag indicating if field is locked
|
SummaryField |
setLockedForUser(Boolean lockedForUser)
Sets flag indicating whether field is locked for the requesting user
|
SummaryField |
setModifiedAt(Date modifiedAt)
Sets the last modification date and time
|
SummaryField |
setModifiedBy(User modifiedBy)
Sets the User who last modified the field
|
SummaryField |
setObjectValue(ObjectValue objectValue)
Sets the field's objectValue
|
SummaryField |
setOptions(List<String> options)
Sets PICKLIST options
|
SummaryField |
setSymbol(String symbol)
Sets applicable symbo for PICKLIST type
|
SummaryField |
setTitle(String title)
Sets the field's title
|
SummaryField |
setType(ColumnType type)
Sets the field's type - see Column Type
|
SummaryField |
setValidation(Boolean validation)
Sets flag indicating whether summary field values are restricted to type
|
equals, hashCodepublic Long getId()
IdentifiableModelgetId in class IdentifiableModel<Long>public IdentifiableModel<Long> setId(Long id)
IdentifiableModelsetId in class IdentifiableModel<Long>id - the new idpublic List<Contact> getContactOptions()
public SummaryField setContactOptions(List<Contact> contactOptions)
contactOptions - public Date getCreatedAt()
public SummaryField setCreatedAt(Date createdAt)
createdAt - public User getCreatedBy()
public SummaryField setCreatedBy(User createdBy)
createdBy - public String getDisplayValue()
public SummaryField setDisplayValue(String displayValue)
displayValue - public Format getFormat()
public SummaryField setFormat(Format format)
format - public String getFormula()
public SummaryField setFormula(String formula)
formula - public Hyperlink getHyperlink()
public SummaryField setHyperlink(Hyperlink hyperlink)
hyperlink - public Image getImage()
public SummaryField setImage(Image image)
image - public Integer getIndex()
public SummaryField setIndex(Integer index)
index - public Boolean getLocked()
public SummaryField setLocked(Boolean locked)
locked - public Boolean getLockedForUser()
public SummaryField setLockedForUser(Boolean lockedForUser)
lockedForUser - public Date getModifiedAt()
public SummaryField setModifiedAt(Date modifiedAt)
modifiedAt - public User getModifiedBy()
public SummaryField setModifiedBy(User modifiedBy)
modifiedBy - public ObjectValue getObjectValue()
public SummaryField setObjectValue(ObjectValue objectValue)
objectValue - public SummaryField setOptions(List<String> options)
options - public String getSymbol()
public SummaryField setSymbol(String symbol)
symbol - public String getTitle()
public SummaryField setTitle(String title)
title - public ColumnType getType()
public SummaryField setType(ColumnType type)
type - public Boolean getValidation()
public SummaryField setValidation(Boolean validation)
validation - Copyright © 2014–2019 Smartsheet. All rights reserved.