Class: KualiRice::ActionItem
- Inherits:
-
Object
- Object
- KualiRice::ActionItem
- Defined in:
- lib/kuali-rice/Responses/ActionItem.rb
Instance Attribute Summary collapse
-
#actionItemId ⇒ Object
Returns the value of attribute actionItemId.
-
#actionRequestCd ⇒ Object
Returns the value of attribute actionRequestCd.
-
#actionRequestId ⇒ Object
Returns the value of attribute actionRequestId.
-
#customActions ⇒ Object
Returns the value of attribute customActions.
-
#dateAssigned ⇒ Object
Returns the value of attribute dateAssigned.
-
#delegatorName ⇒ Object
Returns the value of attribute delegatorName.
-
#docHandlerURL ⇒ Object
Returns the value of attribute docHandlerURL.
-
#docLabel ⇒ Object
Returns the value of attribute docLabel.
-
#docName ⇒ Object
Returns the value of attribute docName.
-
#docTitle ⇒ Object
Returns the value of attribute docTitle.
-
#isInitialized ⇒ Object
Returns the value of attribute isInitialized.
-
#lockVerNbr ⇒ Object
Returns the value of attribute lockVerNbr.
-
#principalId ⇒ Object
Returns the value of attribute principalId.
-
#responsibilityId ⇒ Object
Returns the value of attribute responsibilityId.
-
#routeHeaderId ⇒ Object
Returns the value of attribute routeHeaderId.
Instance Method Summary collapse
-
#initialize(xmldata = "") ⇒ ActionItem
constructor
A new instance of ActionItem.
- #setActionItem(xmldata) ⇒ Object
Constructor Details
#initialize(xmldata = "") ⇒ ActionItem
Returns a new instance of ActionItem.
20 21 22 |
# File 'lib/kuali-rice/Responses/ActionItem.rb', line 20 def initialize(xmldata="") setActionItem(xmldata) end |
Instance Attribute Details
#actionItemId ⇒ Object
Returns the value of attribute actionItemId.
6 7 8 |
# File 'lib/kuali-rice/Responses/ActionItem.rb', line 6 def actionItemId @actionItemId end |
#actionRequestCd ⇒ Object
Returns the value of attribute actionRequestCd.
9 10 11 |
# File 'lib/kuali-rice/Responses/ActionItem.rb', line 9 def actionRequestCd @actionRequestCd end |
#actionRequestId ⇒ Object
Returns the value of attribute actionRequestId.
10 11 12 |
# File 'lib/kuali-rice/Responses/ActionItem.rb', line 10 def actionRequestId @actionRequestId end |
#customActions ⇒ Object
Returns the value of attribute customActions.
18 19 20 |
# File 'lib/kuali-rice/Responses/ActionItem.rb', line 18 def customActions @customActions end |
#dateAssigned ⇒ Object
Returns the value of attribute dateAssigned.
8 9 10 |
# File 'lib/kuali-rice/Responses/ActionItem.rb', line 8 def dateAssigned @dateAssigned end |
#delegatorName ⇒ Object
Returns the value of attribute delegatorName.
4 5 6 |
# File 'lib/kuali-rice/Responses/ActionItem.rb', line 4 def delegatorName @delegatorName end |
#docHandlerURL ⇒ Object
Returns the value of attribute docHandlerURL.
14 15 16 |
# File 'lib/kuali-rice/Responses/ActionItem.rb', line 14 def docHandlerURL @docHandlerURL end |
#docLabel ⇒ Object
Returns the value of attribute docLabel.
13 14 15 |
# File 'lib/kuali-rice/Responses/ActionItem.rb', line 13 def docLabel @docLabel end |
#docName ⇒ Object
Returns the value of attribute docName.
16 17 18 |
# File 'lib/kuali-rice/Responses/ActionItem.rb', line 16 def docName @docName end |
#docTitle ⇒ Object
Returns the value of attribute docTitle.
12 13 14 |
# File 'lib/kuali-rice/Responses/ActionItem.rb', line 12 def docTitle @docTitle end |
#isInitialized ⇒ Object
Returns the value of attribute isInitialized.
5 6 7 |
# File 'lib/kuali-rice/Responses/ActionItem.rb', line 5 def isInitialized @isInitialized end |
#lockVerNbr ⇒ Object
Returns the value of attribute lockVerNbr.
15 16 17 |
# File 'lib/kuali-rice/Responses/ActionItem.rb', line 15 def lockVerNbr @lockVerNbr end |
#principalId ⇒ Object
Returns the value of attribute principalId.
7 8 9 |
# File 'lib/kuali-rice/Responses/ActionItem.rb', line 7 def principalId @principalId end |
#responsibilityId ⇒ Object
Returns the value of attribute responsibilityId.
17 18 19 |
# File 'lib/kuali-rice/Responses/ActionItem.rb', line 17 def responsibilityId @responsibilityId end |
#routeHeaderId ⇒ Object
Returns the value of attribute routeHeaderId.
11 12 13 |
# File 'lib/kuali-rice/Responses/ActionItem.rb', line 11 def routeHeaderId @routeHeaderId end |
Instance Method Details
#setActionItem(xmldata) ⇒ Object
24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 |
# File 'lib/kuali-rice/Responses/ActionItem.rb', line 24 def setActionItem(xmldata) if not xmldata.eql?("") then parseddata = XmlSimple.xml_in(xmldata) @delegatorName = parseddata['delegatorName'][0] if !parseddata['delegatorName'].nil? @isInitialized = parseddata['isInitialized'][0] if !parseddata['isInitialized'].nil? @actionItemId = parseddata['actionItemId'][0] if !parseddata['actionItemId'].nil? @principalId = parseddata['principalId'][0] if !parseddata['principalId'].nil? @dateAssigned = parseddata['dateAssigned'][0] if !parseddata['dateAssigned'].nil? @actionRequestCd = parseddata['actionRequestCd'][0] if !parseddata['actionRequestCd'].nil? @actionRequestId = parseddata['actionRequestId'][0] if !parseddata['actionRequestId'].nil? @routeHeaderId = parseddata['routeHeaderId'][0] if !parseddata['routeHeaderId'].nil? @docTitle = parseddata['docTitle'][0] if !parseddata['docTitle'].nil? @docLabel = parseddata['docLabel'][0] if !parseddata['docLabel'].nil? @docHandlerURL = parseddata['docHandlerURL'][0] if !parseddata['docHandlerURL'].nil? @lockVerNbr = parseddata['lockVerNbr'][0] if !parseddata['lockVerNbr'].nil? @docName = parseddata['docName'][0] if !parseddata['docName'].nil? @responsibilityId = parseddata['responsibilityId'][0] if !parseddata['responsibilityId'].nil? @customActions = parseddata['customActions'][0] if !parseddata['customActions'].nil? end end |