Class: CustomDataField

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
lib/msf/models/custom_data_field.rb

Overview

ActiveRecord model of MSF CustomDataField

Example:

CustomDataField.find(1)

CustomDataField.first.display_name

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.primary_keyObject



11
12
13
# File 'lib/msf/models/custom_data_field.rb', line 11

def self.primary_key
  :FieldID
end

.table_nameObject



8
9
10
# File 'lib/msf/models/custom_data_field.rb', line 8

def self.table_name
  :CustomDataFields
end

Instance Method Details

#access_modeObject



38
39
40
# File 'lib/msf/models/custom_data_field.rb', line 38

def access_mode
  self.AccessMode
end

#data_purposeObject



53
54
55
# File 'lib/msf/models/custom_data_field.rb', line 53

def data_purpose
  self.DataPurpose
end

#data_targetObject



32
33
34
# File 'lib/msf/models/custom_data_field.rb', line 32

def data_target
  self.DataTarget
end

#data_typeObject



29
30
31
# File 'lib/msf/models/custom_data_field.rb', line 29

def data_type
  self.DataType
end

#display_nameObject



20
21
22
# File 'lib/msf/models/custom_data_field.rb', line 20

def display_name
  self.DisplayName
end

#field_idObject



14
15
16
# File 'lib/msf/models/custom_data_field.rb', line 14

def field_id
  self.FieldID
end

#formatObject



47
48
49
# File 'lib/msf/models/custom_data_field.rb', line 47

def format
  self.Format
end

#group_visibilityObject



44
45
46
# File 'lib/msf/models/custom_data_field.rb', line 44

def group_visibility
  self.GroupVisibility
end

#guidObject



17
18
19
# File 'lib/msf/models/custom_data_field.rb', line 17

def guid
  self.Guid
end

#plot_typeObject



50
51
52
# File 'lib/msf/models/custom_data_field.rb', line 50

def plot_type
  self.PlotType
end

#source_node_numberObject



23
24
25
# File 'lib/msf/models/custom_data_field.rb', line 23

def source_node_number
  self.SourceNodeNumber
end

#target_node_numberObject



26
27
28
# File 'lib/msf/models/custom_data_field.rb', line 26

def target_node_number
  self.TargetNodeNumber
end

#versionObject



35
36
37
# File 'lib/msf/models/custom_data_field.rb', line 35

def version
  self.Version
end

#visibilityObject



41
42
43
# File 'lib/msf/models/custom_data_field.rb', line 41

def visibility
  self.Visibility
end