Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 5233bfc2ba
Fetching contributors…

Cannot retrieve contributors at this time

145 lines (141 sloc) 11.62 kb
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>ZKForce: ZKSforce/ZKDescribeSObject.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.7.1 -->
<script type="text/javascript">
function hasClass(ele,cls) {
return ele.className.match(new RegExp('(\\s|^)'+cls+'(\\s|$)'));
}
function addClass(ele,cls) {
if (!this.hasClass(ele,cls)) ele.className += " "+cls;
}
function removeClass(ele,cls) {
if (hasClass(ele,cls)) {
var reg = new RegExp('(\\s|^)'+cls+'(\\s|$)');
ele.className=ele.className.replace(reg,' ');
}
}
function toggleVisibility(linkObj) {
var base = linkObj.getAttribute('id');
var summary = document.getElementById(base + '-summary');
var content = document.getElementById(base + '-content');
var trigger = document.getElementById(base + '-trigger');
if ( hasClass(linkObj,'closed') ) {
summary.style.display = 'none';
content.style.display = 'block';
trigger.src = 'open.png';
removeClass(linkObj,'closed');
addClass(linkObj,'opened');
} else if ( hasClass(linkObj,'opened') ) {
summary.style.display = 'block';
content.style.display = 'none';
trigger.src = 'closed.png';
removeClass(linkObj,'opened');
addClass(linkObj,'closed');
}
return false;
}
</script>
<div class="navigation" id="top">
<div class="tabs">
<ul class="tablist">
<li><a href="main.html"><span>Main&nbsp;Page</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
<div class="tabs2">
<ul class="tablist">
<li><a href="files.html"><span>File&nbsp;List</span></a></li>
<li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
</ul>
</div>
<div class="header">
<div class="headertitle">
<h1>ZKSforce/ZKDescribeSObject.h</h1> </div>
</div>
<div class="contents">
<a href="_z_k_describe_s_object_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">// Copyright (c) 2006 Simon Fell</span>
<a name="l00002"></a>00002 <span class="comment">//</span>
<a name="l00003"></a>00003 <span class="comment">// Permission is hereby granted, free of charge, to any person obtaining a </span>
<a name="l00004"></a>00004 <span class="comment">// copy of this software and associated documentation files (the &quot;Software&quot;), </span>
<a name="l00005"></a>00005 <span class="comment">// to deal in the Software without restriction, including without limitation</span>
<a name="l00006"></a>00006 <span class="comment">// the rights to use, copy, modify, merge, publish, distribute, sublicense, </span>
<a name="l00007"></a>00007 <span class="comment">// and/or sell copies of the Software, and to permit persons to whom the </span>
<a name="l00008"></a>00008 <span class="comment">// Software is furnished to do so, subject to the following conditions:</span>
<a name="l00009"></a>00009 <span class="comment">//</span>
<a name="l00010"></a>00010 <span class="comment">// The above copyright notice and this permission notice shall be included </span>
<a name="l00011"></a>00011 <span class="comment">// in all copies or substantial portions of the Software.</span>
<a name="l00012"></a>00012 <span class="comment">//</span>
<a name="l00013"></a>00013 <span class="comment">// THE SOFTWARE IS PROVIDED &quot;AS IS&quot;, WITHOUT WARRANTY OF ANY KIND, EXPRESS </span>
<a name="l00014"></a>00014 <span class="comment">// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, </span>
<a name="l00015"></a>00015 <span class="comment">// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE </span>
<a name="l00016"></a>00016 <span class="comment">// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER </span>
<a name="l00017"></a>00017 <span class="comment">// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, </span>
<a name="l00018"></a>00018 <span class="comment">// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN </span>
<a name="l00019"></a>00019 <span class="comment">// THE SOFTWARE.</span>
<a name="l00020"></a>00020 <span class="comment">//</span>
<a name="l00021"></a>00021
<a name="l00022"></a>00022 <span class="preprocessor">#import &quot;<a class="code" href="_z_k_xml_deserializer_8h.html">ZKXmlDeserializer.h</a>&quot;</span>
<a name="l00023"></a>00023 <span class="preprocessor">#import &quot;<a class="code" href="_z_k_describe_field_8h.html">ZKDescribeField.h</a>&quot;</span>
<a name="l00024"></a>00024 <span class="preprocessor">#import &quot;<a class="code" href="_z_k_describe_global_s_object_8h.html">ZKDescribeGlobalSObject.h</a>&quot;</span>
<a name="l00025"></a>00025
<a name="l00026"></a>00026 <span class="comment">/*</span>
<a name="l00027"></a>00027 <span class="comment">&lt;element name=&quot;activateable&quot; type=&quot;xsd:boolean&quot;/&gt;</span>
<a name="l00028"></a>00028 <span class="comment">&lt;element name=&quot;childRelationships&quot; type=&quot;tns:ChildRelationship&quot; minOccurs=&quot;0&quot; maxOccurs=&quot;unbounded&quot;/&gt;</span>
<a name="l00029"></a>00029 <span class="comment">&lt;element name=&quot;createable&quot; type=&quot;xsd:boolean&quot;/&gt;</span>
<a name="l00030"></a>00030 <span class="comment">&lt;element name=&quot;custom&quot; type=&quot;xsd:boolean&quot;/&gt;</span>
<a name="l00031"></a>00031 <span class="comment">&lt;element name=&quot;deletable&quot; type=&quot;xsd:boolean&quot;/&gt;</span>
<a name="l00032"></a>00032 <span class="comment">&lt;element name=&quot;fields&quot; type=&quot;tns:Field&quot; nillable=&quot;true&quot; minOccurs=&quot;0&quot; maxOccurs=&quot;unbounded&quot;/&gt;</span>
<a name="l00033"></a>00033 <span class="comment">&lt;element name=&quot;keyPrefix&quot; type=&quot;xsd:string&quot; nillable=&quot;true&quot;/&gt;</span>
<a name="l00034"></a>00034 <span class="comment">&lt;element name=&quot;label&quot; type=&quot;xsd:string&quot;/&gt;</span>
<a name="l00035"></a>00035 <span class="comment">&lt;element name=&quot;labelPlural&quot; type=&quot;xsd:string&quot;/&gt;</span>
<a name="l00036"></a>00036 <span class="comment">&lt;element name=&quot;layoutable&quot; type=&quot;xsd:boolean&quot;/&gt;</span>
<a name="l00037"></a>00037 <span class="comment">&lt;element name=&quot;mergeable&quot; type=&quot;xsd:boolean&quot;/&gt;</span>
<a name="l00038"></a>00038 <span class="comment">&lt;element name=&quot;name&quot; type=&quot;xsd:string&quot;/&gt;</span>
<a name="l00039"></a>00039 <span class="comment">&lt;element name=&quot;queryable&quot; type=&quot;xsd:boolean&quot;/&gt;</span>
<a name="l00040"></a>00040 <span class="comment">&lt;element name=&quot;recordTypeInfos&quot; type=&quot;tns:RecordTypeInfo&quot; minOccurs=&quot;0&quot; maxOccurs=&quot;unbounded&quot;/&gt;</span>
<a name="l00041"></a>00041 <span class="comment">&lt;element name=&quot;replicateable&quot; type=&quot;xsd:boolean&quot;/&gt;</span>
<a name="l00042"></a>00042 <span class="comment">&lt;element name=&quot;retrieveable&quot; type=&quot;xsd:boolean&quot;/&gt;</span>
<a name="l00043"></a>00043 <span class="comment">&lt;element name=&quot;searchable&quot; type=&quot;xsd:boolean&quot;/&gt;</span>
<a name="l00044"></a>00044 <span class="comment">&lt;element name=&quot;triggerable&quot; type=&quot;xsd:boolean&quot; minOccurs=&quot;0&quot;/&gt;</span>
<a name="l00045"></a>00045 <span class="comment">&lt;element name=&quot;undeletable&quot; type=&quot;xsd:boolean&quot;/&gt;</span>
<a name="l00046"></a>00046 <span class="comment">&lt;element name=&quot;updateable&quot; type=&quot;xsd:boolean&quot;/&gt;</span>
<a name="l00047"></a>00047 <span class="comment">&lt;element name=&quot;urlDetail&quot; type=&quot;xsd:string&quot; nillable=&quot;true&quot;/&gt;</span>
<a name="l00048"></a>00048 <span class="comment">&lt;element name=&quot;urlEdit&quot; type=&quot;xsd:string&quot; nillable=&quot;true&quot;/&gt;</span>
<a name="l00049"></a>00049 <span class="comment">&lt;element name=&quot;urlNew&quot; type=&quot;xsd:string&quot; nillable=&quot;true&quot;/&gt;</span>
<a name="l00050"></a>00050 <span class="comment"> */</span>
<a name="l00051"></a>00051
<a name="l00052"></a><a class="code" href="interface_z_k_describe_s_object.html">00052</a> <span class="keyword">@interface </span><a class="code" href="interface_z_k_describe_s_object.html">ZKDescribeSObject</a> : <a class="code" href="interface_z_k_describe_global_s_object.html">ZKDescribeGlobalSObject</a> {
<a name="l00053"></a><a class="code" href="interface_z_k_describe_s_object.html#ac514f587d29d58a19fa720ddf9dcfc38">00053</a> NSArray *<a class="code" href="interface_z_k_describe_s_object.html#ac514f587d29d58a19fa720ddf9dcfc38">fields</a>;
<a name="l00054"></a><a class="code" href="interface_z_k_describe_s_object.html#a93f39b5e06718ee3637a25a313f4260b">00054</a> NSDictionary *<a class="code" href="interface_z_k_describe_s_object.html#a93f39b5e06718ee3637a25a313f4260b">fieldsByName</a>;
<a name="l00055"></a><a class="code" href="interface_z_k_describe_s_object.html#a766401f75a436181c327658007c63997">00055</a> NSArray *<a class="code" href="interface_z_k_describe_s_object.html#a766401f75a436181c327658007c63997">childRelationships</a>;
<a name="l00056"></a><a class="code" href="interface_z_k_describe_s_object.html#a917779b65496601221d45924f7f08618">00056</a> NSArray *<a class="code" href="interface_z_k_describe_s_object.html#a917779b65496601221d45924f7f08618">recordTypeInfos</a>;
<a name="l00057"></a>00057 }
<a name="l00058"></a>00058
<a name="l00059"></a>00059 -(NSString *)urlDetail;
<a name="l00060"></a>00060 -(NSString *)urlEdit;
<a name="l00061"></a>00061 -(NSString *)urlNew;
<a name="l00062"></a>00062 -(NSArray *)fields;
<a name="l00063"></a>00063 -(<a class="code" href="interface_z_k_describe_field.html">ZKDescribeField</a> *)fieldWithName:(NSString *)name;
<a name="l00064"></a>00064 -(NSArray *)childRelationships;
<a name="l00065"></a>00065 -(NSArray *)recordTypeInfos;
<a name="l00066"></a>00066
<a name="l00067"></a>00067 <span class="comment">// convience method</span>
<a name="l00068"></a>00068 - (NSString *) getSimpleSoqlQuery;
<a name="l00069"></a>00069 - (NSString *) getComaSepFieldList ;
<a name="l00070"></a>00070
<a name="l00071"></a>00071 <span class="keyword">@end</span>
</pre></div></div>
</div>
<hr class="footer"/><address class="footer"><small>Generated on Wed Sep 8 2010 11:38:27 for ZKForce by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.1 </small></address>
</body>
</html>
Jump to Line
Something went wrong with that request. Please try again.