<!doctype html>
<html>
 <head> 
  <title>ColumnValue Object</title> 
  <link rel="stylesheet" href="styles/site.css" type="text/css"> 
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 
  <link rel="stylesheet" href="styles/icons.css" type="text/css">
  <script src="js/jquery.min.js"></script>
  <script src="tree/collapsibleTreeMenu.js"></script>
  <link href="tree/collapsibleTreeMenu.css" rel="stylesheet" type="text/css">
 </head> 
 <body class="theme-default aui-theme-default"> 
  <div id="page"> 
   <div id="main" class="aui-page-panel"> 
    <div id="main-header"> 
     <div id="breadcrumb-section"> 
      <ol id="breadcrumbs">  
       <li> <span><a href="Rhapsody-Integration-Engine-6.5_133160975.html">Rhapsody Integration Engine 6.5</a></span> </li> 
       <li> <span><a href="Developing-Rhapsody_133161055.html">Developing Rhapsody</a></span> </li> 
       <li> <span><a href="JavaScript-Object-Reference_133161390.html">JavaScript Object Reference</a></span> </li> 
       <li> <span><a href="Global-Objects_133161405.html">Global Objects</a></span> </li> 
      </ol> 
     </div> 
     <h1 id="title-heading" class="pagetitle"> <span id="title-text">ColumnValue Object</span> </h1> 
    </div> 
    <div id="content" class="view">  
     <div id="main-content" class="wiki-content group"> 
      <p>The ColumnValue object represents a combination of a column and a value. This is used in the following ways for lookups:</p>
      <ul>
       <li>To define the column and the associated value you want to locate.</li>
       <li>If you do not define the Column to be returned, an array of type Column Value is returned. By iterating through the array, the relevant column name-value pairs can be identified.</li>
      </ul>
      <p>Note that this object maps directly to the ColumnValue interface in the Rhapsody API.</p>
      <div class="table-wrap">
       <table class="confluenceTable">
        <tbody>
         <tr>
          <th class="confluenceTh"><p>Method</p></th>
          <th class="confluenceTh"><p>Description</p></th>
         </tr>
         <tr>
          <td class="confluenceTd"><p><code>getColumnName()</code></p></td>
          <td class="confluenceTd"><p>Gets the column name.</p></td>
         </tr>
         <tr>
          <td class="confluenceTd"><p><code>getValue()</code></p></td>
          <td class="confluenceTd"><p>Gets the column value.</p></td>
         </tr>
         <tr>
          <td class="confluenceTd"><p><code>ColumnValue(string columnName, string value)</code></p></td>
          <td class="confluenceTd"><p>Creates a ColumnValue object with the given column name and value as strings. For example:</p>
           <div class="code panel pdl" style="border-width: 1px;">
            <div class="codeContent panelContent pdl"> 
             <pre class="syntaxhighlighter-pre" data-syntaxhighlighter-params="brush: java; gutter: false; theme: Confluence" data-theme="Confluence">var columnValue = new ColumnValue("Age", "25");</pre> 
            </div>
           </div></td>
         </tr>
        </tbody>
       </table>
      </div>
      <p>Refer to <a href="LookupTable-Object_133161408.html"><span class="confluence-link">LookupTable Object</span></a> for examples.</p>
      <p> </p> 
     </div> 
    </div> 
   </div>  
  </div>   
 </body>
</html>