Class ExtendedAttribute

java.lang.Object
com.aspose.tasks.cloud.model.ExtendedAttribute

public class ExtendedAttribute extends Object
Represents extended attribute.
  • Constructor Details

    • ExtendedAttribute

      public ExtendedAttribute()
  • Method Details

    • fieldId

      public ExtendedAttribute fieldId(String fieldId)
    • getFieldId

      public String getFieldId()
      Gets or sets the id of a field.
      Returns:
      fieldId
    • setFieldId

      public void setFieldId(String fieldId)
    • attributeType

      public ExtendedAttribute attributeType(CustomFieldType attributeType)
    • getAttributeType

      public CustomFieldType getAttributeType()
      Gets the type of a custom field.
      Returns:
      attributeType
    • setAttributeType

      public void setAttributeType(CustomFieldType attributeType)
    • valueGuid

      public ExtendedAttribute valueGuid(String valueGuid)
    • getValueGuid

      public String getValueGuid()
      Gets or sets the guid of a value.
      Returns:
      valueGuid
    • setValueGuid

      public void setValueGuid(String valueGuid)
    • lookupValueId

      public ExtendedAttribute lookupValueId(Integer lookupValueId)
    • getLookupValueId

      public Integer getLookupValueId()
      Gets or sets Id of the lookup value (if value is lookup value)
      Returns:
      lookupValueId
    • setLookupValueId

      public void setLookupValueId(Integer lookupValueId)
    • durationValue

      public ExtendedAttribute durationValue(Duration durationValue)
    • getDurationValue

      public Duration getDurationValue()
      Gets or sets value for attributes with 'Duration' type.
      Returns:
      durationValue
    • setDurationValue

      public void setDurationValue(Duration durationValue)
    • numericValue

      public ExtendedAttribute numericValue(BigDecimal numericValue)
    • getNumericValue

      public BigDecimal getNumericValue()
      Gets or sets a value for attributes with numeric types (Cost, Number).
      Returns:
      numericValue
    • setNumericValue

      public void setNumericValue(BigDecimal numericValue)
    • dateValue

      public ExtendedAttribute dateValue(org.threeten.bp.OffsetDateTime dateValue)
    • getDateValue

      public org.threeten.bp.OffsetDateTime getDateValue()
      Gets or sets a value for attributes with date types (Date, Start, Finish).
      Returns:
      dateValue
    • setDateValue

      public void setDateValue(org.threeten.bp.OffsetDateTime dateValue)
    • flagValue

      public ExtendedAttribute flagValue(Boolean flagValue)
    • isFlagValue

      public Boolean isFlagValue()
      Gets or sets a value indicating whether a flag is set for an attribute with 'Flag' type.
      Returns:
      flagValue
    • setFlagValue

      public void setFlagValue(Boolean flagValue)
    • textValue

      public ExtendedAttribute textValue(String textValue)
    • getTextValue

      public String getTextValue()
      Gets or sets a value for attributes with 'Text' type.
      Returns:
      textValue
    • setTextValue

      public void setTextValue(String textValue)
    • isErrorValue

      public ExtendedAttribute isErrorValue(Boolean isErrorValue)
    • isIsErrorValue

      public Boolean isIsErrorValue()
      Gets whether calculation of extended attribute's value resulted in an error.
      Returns:
      isErrorValue
    • setIsErrorValue

      public void setIsErrorValue(Boolean isErrorValue)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object