Class ExtendedAttributeDefinition

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

public class ExtendedAttributeDefinition extends Object
Extended attribute definition's brief into.
  • Constructor Details

    • ExtendedAttributeDefinition

      public ExtendedAttributeDefinition()
  • Method Details

    • fieldId

      public ExtendedAttributeDefinition fieldId(String fieldId)
    • getFieldId

      public String getFieldId()
      Corresponds to the Pid of a custom field.
      Returns:
      fieldId
    • setFieldId

      public void setFieldId(String fieldId)
    • fieldName

      public ExtendedAttributeDefinition fieldName(String fieldName)
    • getFieldName

      public String getFieldName()
      The name of a custom field.
      Returns:
      fieldName
    • setFieldName

      public void setFieldName(String fieldName)
    • cfType

    • getCfType

      public CustomFieldType getCfType()
      The type of a custom field.
      Returns:
      cfType
    • setCfType

      public void setCfType(CustomFieldType cfType)
    • guid

      public ExtendedAttributeDefinition guid(String guid)
    • getGuid

      public String getGuid()
      The Guid of a custom field.
      Returns:
      guid
    • setGuid

      public void setGuid(String guid)
    • elementType

      public ExtendedAttributeDefinition elementType(ElementType elementType)
    • getElementType

      public ElementType getElementType()
      Determines whether the extended attribute is associated with a task or a resource
      Returns:
      elementType
    • setElementType

      public void setElementType(ElementType elementType)
    • maxMultiValues

      public ExtendedAttributeDefinition maxMultiValues(Integer maxMultiValues)
    • getMaxMultiValues

      public Integer getMaxMultiValues()
      The maximum number of values you can set in a picklist.
      Returns:
      maxMultiValues
    • setMaxMultiValues

      public void setMaxMultiValues(Integer maxMultiValues)
    • userDef

      public ExtendedAttributeDefinition userDef(Boolean userDef)
    • isUserDef

      public Boolean isUserDef()
      Determines whether a custom field is user defined.
      Returns:
      userDef
    • setUserDef

      public void setUserDef(Boolean userDef)
    • alias

      public ExtendedAttributeDefinition alias(String alias)
    • getAlias

      public String getAlias()
      The alias of a custom field.
      Returns:
      alias
    • setAlias

      public void setAlias(String alias)
    • secondaryPid

      public ExtendedAttributeDefinition secondaryPid(String secondaryPid)
    • getSecondaryPid

      public String getSecondaryPid()
      The secondary Pid of a custom field.
      Returns:
      secondaryPid
    • setSecondaryPid

      public void setSecondaryPid(String secondaryPid)
    • autoRollDown

      public ExtendedAttributeDefinition autoRollDown(Boolean autoRollDown)
    • isAutoRollDown

      public Boolean isAutoRollDown()
      Determines whether an automatic rolldown to assignments is enabled.
      Returns:
      autoRollDown
    • setAutoRollDown

      public void setAutoRollDown(Boolean autoRollDown)
    • defaultGuid

      public ExtendedAttributeDefinition defaultGuid(String defaultGuid)
    • getDefaultGuid

      public String getDefaultGuid()
      The Guid of the default lookup table entry.
      Returns:
      defaultGuid
    • setDefaultGuid

      public void setDefaultGuid(String defaultGuid)
    • lookupUid

      public ExtendedAttributeDefinition lookupUid(String lookupUid)
    • getLookupUid

      public String getLookupUid()
      The Guid of the lookup table associated with a custom field.
      Returns:
      lookupUid
    • setLookupUid

      public void setLookupUid(String lookupUid)
    • phoneticsAlias

      public ExtendedAttributeDefinition phoneticsAlias(String phoneticsAlias)
    • getPhoneticsAlias

      public String getPhoneticsAlias()
      The phonetic pronunciation of the alias of a custom field.
      Returns:
      phoneticsAlias
    • setPhoneticsAlias

      public void setPhoneticsAlias(String phoneticsAlias)
    • rollupType

      public ExtendedAttributeDefinition rollupType(RollupType rollupType)
    • getRollupType

      public RollupType getRollupType()
      The way rollups are calculated.
      Returns:
      rollupType
    • setRollupType

      public void setRollupType(RollupType rollupType)
    • calculationType

      public ExtendedAttributeDefinition calculationType(CalculationType calculationType)
    • getCalculationType

      public CalculationType getCalculationType()
      Determines whether rollups are calculated for a task and group summary rows.
      Returns:
      calculationType
    • setCalculationType

      public void setCalculationType(CalculationType calculationType)
    • summaryRowsCalculationType

      public ExtendedAttributeDefinition summaryRowsCalculationType(SummaryRowsCalculationType summaryRowsCalculationType)
    • getSummaryRowsCalculationType

      public SummaryRowsCalculationType getSummaryRowsCalculationType()
      Gets or sets the type of calculation of the custom attribute's value for summary rows.
      Returns:
      summaryRowsCalculationType
    • setSummaryRowsCalculationType

      public void setSummaryRowsCalculationType(SummaryRowsCalculationType summaryRowsCalculationType)
    • formula

      public ExtendedAttributeDefinition formula(String formula)
    • getFormula

      public String getFormula()
      The formula that Microsoft Project uses to populate a custom task field.
      Returns:
      formula
    • setFormula

      public void setFormula(String formula)
    • restrictValues

      public ExtendedAttributeDefinition restrictValues(Boolean restrictValues)
    • isRestrictValues

      public Boolean isRestrictValues()
      Determines whether only values in the list are allowed in a file.
      Returns:
      restrictValues
    • setRestrictValues

      public void setRestrictValues(Boolean restrictValues)
    • valuelistSortOrder

      public ExtendedAttributeDefinition valuelistSortOrder(Integer valuelistSortOrder)
    • getValuelistSortOrder

      public Integer getValuelistSortOrder()
      The way value lists are sorted. Values are: 0=Descending, 1=Ascending.
      Returns:
      valuelistSortOrder
    • setValuelistSortOrder

      public void setValuelistSortOrder(Integer valuelistSortOrder)
    • appendNewValues

      public ExtendedAttributeDefinition appendNewValues(Boolean appendNewValues)
    • isAppendNewValues

      public Boolean isAppendNewValues()
      Determines whether new values added to a project are automatically added to the list.
      Returns:
      appendNewValues
    • setAppendNewValues

      public void setAppendNewValues(Boolean appendNewValues)
    • _default

      public ExtendedAttributeDefinition _default(String _default)
    • getDefault

      public String getDefault()
      The default value in the list.
      Returns:
      _default
    • setDefault

      public void setDefault(String _default)
    • valueList

      public ExtendedAttributeDefinition valueList(List<Value> valueList)
    • addValueListItem

      public ExtendedAttributeDefinition addValueListItem(Value valueListItem)
    • getValueList

      public List<Value> getValueList()
      Returns list of Extended Attribute Values.
      Returns:
      valueList
    • setValueList

      public void setValueList(List<Value> valueList)
    • secondaryGuid

      public ExtendedAttributeDefinition secondaryGuid(String secondaryGuid)
    • getSecondaryGuid

      public String getSecondaryGuid()
      Secondary guid of extended attribute.
      Returns:
      secondaryGuid
    • setSecondaryGuid

      public void setSecondaryGuid(String secondaryGuid)
    • 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