class Projects::Model::Customfield

Attributes

columnName[RW]
defaultValue[RW]
labelName[RW]
picklistValues[RW]

Public Instance Methods

getColumnName() click to toggle source
  • Get the column name of the custom field.

Returns

Returns the column name.

# File lib/projects/model/Customfield.rb, line 62
def getColumnName
                
        return @columnName
                        
end
getDefaultValue() click to toggle source
  • Get the default value of the custom field.

Returns

  • Returns the default value.

# File lib/projects/model/Customfield.rb, line 86
def getDefaultValue
                        
        return @defaultValue
                        
end
getLabelName() click to toggle source
  • Get the label name of the custom field.

Returns

  • Returns the label name.

# File lib/projects/model/Customfield.rb, line 38
def getLabelName
                        
        return @labelName
                        
end
getPicklistValues() click to toggle source
  • Get the picklist values of the custom field.

Returns

  • Returns the picklist values

# File lib/projects/model/Customfield.rb, line 110
def getPicklistValues
                
        return @picklistValues
                        
end
setColumnName(columnName) click to toggle source
  • Set the column name of the custom field.

Parameters

  • columnName
    • Column name of the custom field.

# File lib/projects/model/Customfield.rb, line 50
def setColumnName(columnName)
                
        @columnName = columnName
                
end
setDefaultValue(defaultValue) click to toggle source
  • Set the default value of the custom field.

Parameters

  • defaultValue
    • Default value of the custom field.

# File lib/projects/model/Customfield.rb, line 74
def setDefaultValue(defaultValue)
                
        @defaultValue = defaultValue
                        
end
setLabelName(labelName) click to toggle source
  • Set the label name of the custom field.

Parameters

  • labelName
    • Label name of the custom field.

# File lib/projects/model/Customfield.rb, line 26
def setLabelName(labelName)
                
        @labelName = labelName
                        
end
setPicklistValues(picklistValues) click to toggle source
  • Set the picklist values of the custom field.

Parameters

  • picklistValues
    • Picklist values of the custom field.

# File lib/projects/model/Customfield.rb, line 98
def setPicklistValues(picklistValues)
                
        @picklistValues = picklistValues
                        
end