class Pohoda::Parsers::Con::ContractDescType
Public Instance Methods
contract_state()
click to toggle source
# File lib/pohoda/parsers/con/contract_desc_type.rb, line 75 def contract_state at 'con:contractState' end
contract_state_attributes()
click to toggle source
# File lib/pohoda/parsers/con/contract_desc_type.rb, line 79 def contract_state_attributes attributes_at 'con:contractState' end
date_delivery()
click to toggle source
# File lib/pohoda/parsers/con/contract_desc_type.rb, line 43 def date_delivery at 'con:dateDelivery' end
date_delivery_attributes()
click to toggle source
# File lib/pohoda/parsers/con/contract_desc_type.rb, line 47 def date_delivery_attributes attributes_at 'con:dateDelivery' end
date_plan_delivery()
click to toggle source
# File lib/pohoda/parsers/con/contract_desc_type.rb, line 27 def date_plan_delivery at 'con:datePlanDelivery' end
date_plan_delivery_attributes()
click to toggle source
# File lib/pohoda/parsers/con/contract_desc_type.rb, line 31 def date_plan_delivery_attributes attributes_at 'con:datePlanDelivery' end
date_plan_start()
click to toggle source
# File lib/pohoda/parsers/con/contract_desc_type.rb, line 19 def date_plan_start at 'con:datePlanStart' end
date_plan_start_attributes()
click to toggle source
# File lib/pohoda/parsers/con/contract_desc_type.rb, line 23 def date_plan_start_attributes attributes_at 'con:datePlanStart' end
date_start()
click to toggle source
# File lib/pohoda/parsers/con/contract_desc_type.rb, line 35 def date_start at 'con:dateStart' end
date_start_attributes()
click to toggle source
# File lib/pohoda/parsers/con/contract_desc_type.rb, line 39 def date_start_attributes attributes_at 'con:dateStart' end
date_warranty()
click to toggle source
# File lib/pohoda/parsers/con/contract_desc_type.rb, line 51 def date_warranty at 'con:dateWarranty' end
date_warranty_attributes()
click to toggle source
# File lib/pohoda/parsers/con/contract_desc_type.rb, line 55 def date_warranty_attributes attributes_at 'con:dateWarranty' end
id()
click to toggle source
# File lib/pohoda/parsers/con/contract_desc_type.rb, line 7 def id at 'con:id' end
id_attributes()
click to toggle source
# File lib/pohoda/parsers/con/contract_desc_type.rb, line 11 def id_attributes attributes_at 'con:id' end
labels()
click to toggle source
# File lib/pohoda/parsers/con/contract_desc_type.rb, line 115 def labels array_of_at(Typ::LabelType, ['con:labels', 'typ:label']) end
mark_record()
click to toggle source
# File lib/pohoda/parsers/con/contract_desc_type.rb, line 107 def mark_record at 'con:markRecord' end
mark_record_attributes()
click to toggle source
# File lib/pohoda/parsers/con/contract_desc_type.rb, line 111 def mark_record_attributes attributes_at 'con:markRecord' end
note()
click to toggle source
# File lib/pohoda/parsers/con/contract_desc_type.rb, line 99 def note at 'con:note' end
note_attributes()
click to toggle source
# File lib/pohoda/parsers/con/contract_desc_type.rb, line 103 def note_attributes attributes_at 'con:note' end
number()
click to toggle source
# File lib/pohoda/parsers/con/contract_desc_type.rb, line 15 def number submodel_at(Typ::NumberTypeContract, 'con:number') end
ost1()
click to toggle source
# File lib/pohoda/parsers/con/contract_desc_type.rb, line 83 def ost1 at 'con:ost1' end
ost1_attributes()
click to toggle source
# File lib/pohoda/parsers/con/contract_desc_type.rb, line 87 def ost1_attributes attributes_at 'con:ost1' end
ost2()
click to toggle source
# File lib/pohoda/parsers/con/contract_desc_type.rb, line 91 def ost2 at 'con:ost2' end
ost2_attributes()
click to toggle source
# File lib/pohoda/parsers/con/contract_desc_type.rb, line 95 def ost2_attributes attributes_at 'con:ost2' end
parameters()
click to toggle source
# File lib/pohoda/parsers/con/contract_desc_type.rb, line 119 def parameters array_of_at(Typ::ParameterDocType, ['con:parameters', 'typ:parameter']) end
partner_identity()
click to toggle source
# File lib/pohoda/parsers/con/contract_desc_type.rb, line 67 def partner_identity submodel_at(Typ::Address, 'con:partnerIdentity') end
responsible_person()
click to toggle source
# File lib/pohoda/parsers/con/contract_desc_type.rb, line 71 def responsible_person submodel_at(Typ::RefTypeLong, 'con:responsiblePerson') end
text()
click to toggle source
# File lib/pohoda/parsers/con/contract_desc_type.rb, line 59 def text at 'con:text' end
text_attributes()
click to toggle source
# File lib/pohoda/parsers/con/contract_desc_type.rb, line 63 def text_attributes attributes_at 'con:text' end
to_h()
click to toggle source
# File lib/pohoda/parsers/con/contract_desc_type.rb, line 123 def to_h hash = {} hash[:attributes] = attributes hash[:id] = id if has? 'con:id' hash[:id_attributes] = id_attributes if has? 'con:id' hash[:number] = number.to_h if has? 'con:number' hash[:date_plan_start] = date_plan_start if has? 'con:datePlanStart' hash[:date_plan_start_attributes] = date_plan_start_attributes if has? 'con:datePlanStart' hash[:date_plan_delivery] = date_plan_delivery if has? 'con:datePlanDelivery' hash[:date_plan_delivery_attributes] = date_plan_delivery_attributes if has? 'con:datePlanDelivery' hash[:date_start] = date_start if has? 'con:dateStart' hash[:date_start_attributes] = date_start_attributes if has? 'con:dateStart' hash[:date_delivery] = date_delivery if has? 'con:dateDelivery' hash[:date_delivery_attributes] = date_delivery_attributes if has? 'con:dateDelivery' hash[:date_warranty] = date_warranty if has? 'con:dateWarranty' hash[:date_warranty_attributes] = date_warranty_attributes if has? 'con:dateWarranty' hash[:text] = text if has? 'con:text' hash[:text_attributes] = text_attributes if has? 'con:text' hash[:partner_identity] = partner_identity.to_h if has? 'con:partnerIdentity' hash[:responsible_person] = responsible_person.to_h if has? 'con:responsiblePerson' hash[:contract_state] = contract_state if has? 'con:contractState' hash[:contract_state_attributes] = contract_state_attributes if has? 'con:contractState' hash[:ost1] = ost1 if has? 'con:ost1' hash[:ost1_attributes] = ost1_attributes if has? 'con:ost1' hash[:ost2] = ost2 if has? 'con:ost2' hash[:ost2_attributes] = ost2_attributes if has? 'con:ost2' hash[:note] = note if has? 'con:note' hash[:note_attributes] = note_attributes if has? 'con:note' hash[:mark_record] = mark_record if has? 'con:markRecord' hash[:mark_record_attributes] = mark_record_attributes if has? 'con:markRecord' hash[:labels] = labels.map(&:to_h) if has? 'con:labels' hash[:parameters] = parameters.map(&:to_h) if has? 'con:parameters' hash end