Class: PortfolioManager::Xml::CustomMetric

Inherits:
Object
  • Object
show all
Defined in:
lib/portfolio_manager/xml.rb

Overview

{}customMetric

Constant Summary collapse

AttrId =
XSD::QName.new(nil, "id")
AttrUnitOfMeasure =
XSD::QName.new(nil, "unitOfMeasure")

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name = nil, numeratorMetricId = nil, denominatorDetailTypeId = nil) ⇒ CustomMetric

Returns a new instance of CustomMetric.



10523
10524
10525
10526
10527
10528
# File 'lib/portfolio_manager/xml.rb', line 10523

def initialize(name = nil, numeratorMetricId = nil, denominatorDetailTypeId = nil)
  @name = name
  @numeratorMetricId = numeratorMetricId
  @denominatorDetailTypeId = denominatorDetailTypeId
  @__xmlattr = {}
end

Instance Attribute Details

#denominatorDetailTypeIdSOAP::SOAPLong

Returns:

  • (SOAP::SOAPLong)


10495
10496
10497
10498
10499
10500
10501
10502
10503
10504
10505
10506
10507
10508
10509
10510
10511
10512
10513
10514
10515
10516
10517
10518
10519
10520
10521
10522
10523
10524
10525
10526
10527
10528
10529
# File 'lib/portfolio_manager/xml.rb', line 10495

class CustomMetric
  AttrId = XSD::QName.new(nil, "id")
  AttrUnitOfMeasure = XSD::QName.new(nil, "unitOfMeasure")

  attr_accessor :name
  attr_accessor :numeratorMetricId
  attr_accessor :denominatorDetailTypeId

  def __xmlattr
    @__xmlattr ||= {}
  end

  def xmlattr_id
    __xmlattr[AttrId]
  end

  def xmlattr_id=(value)
    __xmlattr[AttrId] = value
  end

  def xmlattr_unitOfMeasure
    __xmlattr[AttrUnitOfMeasure]
  end

  def xmlattr_unitOfMeasure=(value)
    __xmlattr[AttrUnitOfMeasure] = value
  end

  def initialize(name = nil, numeratorMetricId = nil, denominatorDetailTypeId = nil)
    @name = name
    @numeratorMetricId = numeratorMetricId
    @denominatorDetailTypeId = denominatorDetailTypeId
    @__xmlattr = {}
  end
end

#nameSOAP::SOAPString

Returns:

  • (SOAP::SOAPString)


10495
10496
10497
10498
10499
10500
10501
10502
10503
10504
10505
10506
10507
10508
10509
10510
10511
10512
10513
10514
10515
10516
10517
10518
10519
10520
10521
10522
10523
10524
10525
10526
10527
10528
10529
# File 'lib/portfolio_manager/xml.rb', line 10495

class CustomMetric
  AttrId = XSD::QName.new(nil, "id")
  AttrUnitOfMeasure = XSD::QName.new(nil, "unitOfMeasure")

  attr_accessor :name
  attr_accessor :numeratorMetricId
  attr_accessor :denominatorDetailTypeId

  def __xmlattr
    @__xmlattr ||= {}
  end

  def xmlattr_id
    __xmlattr[AttrId]
  end

  def xmlattr_id=(value)
    __xmlattr[AttrId] = value
  end

  def xmlattr_unitOfMeasure
    __xmlattr[AttrUnitOfMeasure]
  end

  def xmlattr_unitOfMeasure=(value)
    __xmlattr[AttrUnitOfMeasure] = value
  end

  def initialize(name = nil, numeratorMetricId = nil, denominatorDetailTypeId = nil)
    @name = name
    @numeratorMetricId = numeratorMetricId
    @denominatorDetailTypeId = denominatorDetailTypeId
    @__xmlattr = {}
  end
end

#numeratorMetricIdSOAP::SOAPLong

Returns:

  • (SOAP::SOAPLong)


10495
10496
10497
10498
10499
10500
10501
10502
10503
10504
10505
10506
10507
10508
10509
10510
10511
10512
10513
10514
10515
10516
10517
10518
10519
10520
10521
10522
10523
10524
10525
10526
10527
10528
10529
# File 'lib/portfolio_manager/xml.rb', line 10495

class CustomMetric
  AttrId = XSD::QName.new(nil, "id")
  AttrUnitOfMeasure = XSD::QName.new(nil, "unitOfMeasure")

  attr_accessor :name
  attr_accessor :numeratorMetricId
  attr_accessor :denominatorDetailTypeId

  def __xmlattr
    @__xmlattr ||= {}
  end

  def xmlattr_id
    __xmlattr[AttrId]
  end

  def xmlattr_id=(value)
    __xmlattr[AttrId] = value
  end

  def xmlattr_unitOfMeasure
    __xmlattr[AttrUnitOfMeasure]
  end

  def xmlattr_unitOfMeasure=(value)
    __xmlattr[AttrUnitOfMeasure] = value
  end

  def initialize(name = nil, numeratorMetricId = nil, denominatorDetailTypeId = nil)
    @name = name
    @numeratorMetricId = numeratorMetricId
    @denominatorDetailTypeId = denominatorDetailTypeId
    @__xmlattr = {}
  end
end

#xmlattr_idSOAP::SOAPLong

Returns:

  • (SOAP::SOAPLong)


10495
10496
10497
10498
10499
10500
10501
10502
10503
10504
10505
10506
10507
10508
10509
10510
10511
10512
10513
10514
10515
10516
10517
10518
10519
10520
10521
10522
10523
10524
10525
10526
10527
10528
10529
# File 'lib/portfolio_manager/xml.rb', line 10495

class CustomMetric
  AttrId = XSD::QName.new(nil, "id")
  AttrUnitOfMeasure = XSD::QName.new(nil, "unitOfMeasure")

  attr_accessor :name
  attr_accessor :numeratorMetricId
  attr_accessor :denominatorDetailTypeId

  def __xmlattr
    @__xmlattr ||= {}
  end

  def xmlattr_id
    __xmlattr[AttrId]
  end

  def xmlattr_id=(value)
    __xmlattr[AttrId] = value
  end

  def xmlattr_unitOfMeasure
    __xmlattr[AttrUnitOfMeasure]
  end

  def xmlattr_unitOfMeasure=(value)
    __xmlattr[AttrUnitOfMeasure] = value
  end

  def initialize(name = nil, numeratorMetricId = nil, denominatorDetailTypeId = nil)
    @name = name
    @numeratorMetricId = numeratorMetricId
    @denominatorDetailTypeId = denominatorDetailTypeId
    @__xmlattr = {}
  end
end

#xmlattr_unitOfMeasureSOAP::SOAPString

Returns:

  • (SOAP::SOAPString)


10495
10496
10497
10498
10499
10500
10501
10502
10503
10504
10505
10506
10507
10508
10509
10510
10511
10512
10513
10514
10515
10516
10517
10518
10519
10520
10521
10522
10523
10524
10525
10526
10527
10528
10529
# File 'lib/portfolio_manager/xml.rb', line 10495

class CustomMetric
  AttrId = XSD::QName.new(nil, "id")
  AttrUnitOfMeasure = XSD::QName.new(nil, "unitOfMeasure")

  attr_accessor :name
  attr_accessor :numeratorMetricId
  attr_accessor :denominatorDetailTypeId

  def __xmlattr
    @__xmlattr ||= {}
  end

  def xmlattr_id
    __xmlattr[AttrId]
  end

  def xmlattr_id=(value)
    __xmlattr[AttrId] = value
  end

  def xmlattr_unitOfMeasure
    __xmlattr[AttrUnitOfMeasure]
  end

  def xmlattr_unitOfMeasure=(value)
    __xmlattr[AttrUnitOfMeasure] = value
  end

  def initialize(name = nil, numeratorMetricId = nil, denominatorDetailTypeId = nil)
    @name = name
    @numeratorMetricId = numeratorMetricId
    @denominatorDetailTypeId = denominatorDetailTypeId
    @__xmlattr = {}
  end
end

Instance Method Details

#__xmlattrObject



10503
10504
10505
# File 'lib/portfolio_manager/xml.rb', line 10503

def __xmlattr
  @__xmlattr ||= {}
end