Class: Bio::Ucsc::Schema::Identifier

Inherits:
Object
  • Object
show all
Defined in:
lib/bio-ucsc/schema.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeIdentifier

Returns a new instance of Identifier.



274
275
276
277
278
279
# File 'lib/bio-ucsc/schema.rb', line 274

def initialize
  @attributes = Hash.new
  @comment = nil
  @primary_key = nil
  @fields = Hash.new
end

Instance Attribute Details

#attributesObject

Returns the value of attribute attributes.



269
270
271
# File 'lib/bio-ucsc/schema.rb', line 269

def attributes
  @attributes
end

#commentObject

Returns the value of attribute comment.



270
271
272
# File 'lib/bio-ucsc/schema.rb', line 270

def comment
  @comment
end

#fieldsObject

Returns the value of attribute fields.



272
273
274
# File 'lib/bio-ucsc/schema.rb', line 272

def fields
  @fields
end

#primary_keyObject

Returns the value of attribute primary_key.



271
272
273
# File 'lib/bio-ucsc/schema.rb', line 271

def primary_key
  @primary_key
end