Class: SdbDal::TrackerDescription
- Inherits:
-
DomainAttributeDescription
- Object
- DomainAttributeDescription
- SdbDal::TrackerDescription
- Includes:
- SdbFormatter
- Defined in:
- lib/sdb_dal/tracker_description.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#other_class ⇒ Object
Returns the value of attribute other_class.
-
#refecting_attribute ⇒ Object
Returns the value of attribute refecting_attribute.
Attributes inherited from DomainAttributeDescription
#is_collection, #is_encrypted, #is_primary_key, #value_type
Instance Method Summary collapse
- #format_for_sdb(value) ⇒ Object
-
#initialize(name, other_class, refecting_attribute) ⇒ TrackerDescription
constructor
A new instance of TrackerDescription.
- #parse_from_sdb(value) ⇒ Object
Methods included from SdbFormatter
#format_boolean, #format_date, #format_float, #format_integer, #format_reference_set, #format_string, #format_unsigned_integer, #parse_boolean, #parse_date, #parse_float, #parse_integer, #parse_reference_set, #parse_unsigned_integer, #zero_pad_float, #zero_pad_integer
Methods inherited from DomainAttributeDescription
crypto, #format_for_sdb_single, #is_clob, #parse_from_sdb_single
Constructor Details
#initialize(name, other_class, refecting_attribute) ⇒ TrackerDescription
Returns a new instance of TrackerDescription.
10 11 12 13 14 15 16 |
# File 'lib/sdb_dal/tracker_description.rb', line 10 def initialize(name,other_class,refecting_attribute) self.name=name self.other_class=other_class self.refecting_attribute=refecting_attribute self.is_collection=true self.is_primary_key=false end |
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
5 6 7 |
# File 'lib/sdb_dal/tracker_description.rb', line 5 def name @name end |
#other_class ⇒ Object
Returns the value of attribute other_class.
6 7 8 |
# File 'lib/sdb_dal/tracker_description.rb', line 6 def other_class @other_class end |
#refecting_attribute ⇒ Object
Returns the value of attribute refecting_attribute.
7 8 9 |
# File 'lib/sdb_dal/tracker_description.rb', line 7 def refecting_attribute @refecting_attribute end |
Instance Method Details
#format_for_sdb(value) ⇒ Object
18 19 20 |
# File 'lib/sdb_dal/tracker_description.rb', line 18 def format_for_sdb(value) return value; end |
#parse_from_sdb(value) ⇒ Object
21 22 23 |
# File 'lib/sdb_dal/tracker_description.rb', line 21 def parse_from_sdb( value) return value end |