Class: CmisServer::Query::Statement::Identifier

Inherits:
Node
  • Object
show all
Defined in:
lib/cmis_server/query/statement.rb

Direct Known Subclasses

Column, FolderId, Table

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ Identifier

Returns a new instance of Identifier.



285
286
287
# File 'lib/cmis_server/query/statement.rb', line 285

def initialize(name)
  @name = name
end

Instance Attribute Details

#nameObject (readonly) Also known as: value

Returns the value of attribute name.



293
294
295
# File 'lib/cmis_server/query/statement.rb', line 293

def name
  @name
end

Instance Method Details

#to_cmis_where_keyObject



289
290
291
# File 'lib/cmis_server/query/statement.rb', line 289

def to_cmis_where_key
  CmisServer::Id.new(self.name).to_method_name.to_sym
end