directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r872080 - in /websites/staging/directory/trunk/content: ./ api/user-guide/6.4-attribute-type.html
Date Wed, 31 Jul 2013 09:59:33 GMT
Author: buildbot
Date: Wed Jul 31 09:59:32 2013
New Revision: 872080

Log:
Staging update by buildbot for directory

Modified:
    websites/staging/directory/trunk/content/   (props changed)
    websites/staging/directory/trunk/content/api/user-guide/6.4-attribute-type.html

Propchange: websites/staging/directory/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Wed Jul 31 09:59:32 2013
@@ -1 +1 @@
-1508792
+1508793

Modified: websites/staging/directory/trunk/content/api/user-guide/6.4-attribute-type.html
==============================================================================
--- websites/staging/directory/trunk/content/api/user-guide/6.4-attribute-type.html (original)
+++ websites/staging/directory/trunk/content/api/user-guide/6.4-attribute-type.html Wed Jul
31 09:59:32 2013
@@ -138,10 +138,6 @@
 
 
 <h1 id="64-attributetype">6.4 - AttributeType</h1>
-<DIV class="note" markdown="1">
-Those classes are currently only used by the server. It will be available on the client side
later on.
-</DIV>
-
 <p>The <em>AttributeType</em> is one of the most important schema element.
It describes what can be stored into an <em>Entry</em>, its syntax, and the various
rules that are to be followed when searching for an associated value.</p>
 <p><em>AttributeType</em> are immutable objects, created from the schema,
and never changed. One can add a new <em>AttributeType</em>, or delete itfrom
the schema, but once it's added to the schema, it can't be modified.</p>
 <p>Usually, we just use them. </p>
@@ -230,13 +226,13 @@ Those classes are currently only used by
 </table>
 <p>An <em>AttributeType</em> has some default elements : it's not OBSOLETE,
has no SUP, is not SINGLE-VALUE, is not COLLECTIVE, can be modified by the user, and has an
<em>userApplications</em> USAGE.</p>
 <p>You can check some of those elements using the following methods :</p>
-<div class="codehilite"><pre><span class="o">*</span> <span class="n">isAncestorOf</span><span
class="p">(</span> <span class="n">AttrbuteType</span> <span class="p">)</span>
<span class="p">:</span> <span class="n">tells</span> <span class="k">if</span>
<span class="n">the</span> <span class="n">current</span> <span
class="n">_AttributeType_</span> <span class="n">is</span> <span class="n">the</span>
<span class="n">ancestor</span> <span class="n">of</span> <span
class="n">another</span> <span class="n">one</span>
-<span class="o">*</span> <span class="n">isCollective</span><span
class="p">()</span> <span class="p">:</span> <span class="n">tells</span>
<span class="k">if</span> <span class="n">the</span> <span class="n">current</span>
<span class="n">_AttributeType_</span> <span class="n">is</span> <span
class="n">a</span> <span class="n">collective</span> <span class="n">attribute</span>
-<span class="o">*</span> <span class="n">isDescendantOf</span><span
class="p">(</span> <span class="n">AttributeType</span> <span class="p">)</span>
<span class="p">:</span> <span class="n">tells</span> <span class="k">if</span>
<span class="n">the</span> <span class="n">current</span> <span
class="n">_AttributeType_</span> <span class="n">inherits</span> <span
class="n">from</span> <span class="n">another</span> <span class="n">one</span>
-<span class="o">*</span> <span class="n">isOperational</span><span
class="p">()</span> <span class="p">:</span> <span class="n">tells</span>
<span class="k">if</span> <span class="n">the</span> <span class="n">current</span>
<span class="n">_AttributeType_</span> <span class="n">is</span> <span
class="n">an</span> <span class="n">Operational</span> <span class="n">Attribute</span>
-<span class="o">*</span> <span class="n">isSingleValued</span><span
class="p">()</span> <span class="p">:</span> <span class="n">tells</span>
<span class="k">if</span> <span class="n">the</span> <span class="n">current</span>
<span class="n">_AttributeType_</span> <span class="n">does</span>
<span class="n">not</span> <span class="n">allow</span> <span class="n">more</span>
<span class="n">than</span> <span class="n">one</span> <span class="n">value</span>
-<span class="o">*</span> <span class="n">isUser</span><span class="p">()</span>
<span class="p">:</span> <span class="n">tells</span> <span class="k">if</span>
<span class="n">the</span> <span class="n">current</span> <span
class="n">_AttributeType_</span> <span class="n">is</span> <span class="n">a</span>
<span class="n">User</span> <span class="n">Application</span> <span
class="n">_AttributeType_</span>
-<span class="o">*</span> <span class="n">isUserModifiable</span><span
class="p">()</span> <span class="p">:</span> <span class="n">tells</span>
<span class="k">if</span> <span class="n">the</span> <span class="n">_Attributes_</span>
<span class="n">usng</span> <span class="n">this</span> <span class="n">_AttributeType_</span>
<span class="n">can</span> <span class="n">be</span> <span class="n">modified</span>
<span class="n">on</span> <span class="n">the</span> <span class="n">server</span>
+<div class="codehilite"><pre><span class="n">isAncestorOf</span><span
class="p">(</span> <span class="n">AttrbuteType</span> <span class="p">)</span>
<span class="p">:</span> <span class="n">tells</span> <span class="k">if</span>
<span class="n">the</span> <span class="n">current</span> <span
class="n">_AttributeType_</span> <span class="n">is</span> <span class="n">the</span>
<span class="n">ancestor</span> <span class="n">of</span> <span
class="n">another</span> <span class="n">one</span>
+<span class="n">isCollective</span><span class="p">()</span> <span
class="p">:</span> <span class="n">tells</span> <span class="k">if</span>
<span class="n">the</span> <span class="n">current</span> <span
class="n">_AttributeType_</span> <span class="n">is</span> <span class="n">a</span>
<span class="n">collective</span> <span class="n">attribute</span>
+<span class="n">isDescendantOf</span><span class="p">(</span> <span
class="n">AttributeType</span> <span class="p">)</span> <span class="p">:</span>
<span class="n">tells</span> <span class="k">if</span> <span class="n">the</span>
<span class="n">current</span> <span class="n">_AttributeType_</span>
<span class="n">inherits</span> <span class="n">from</span> <span
class="n">another</span> <span class="n">one</span>
+<span class="n">isOperational</span><span class="p">()</span> <span
class="p">:</span> <span class="n">tells</span> <span class="k">if</span>
<span class="n">the</span> <span class="n">current</span> <span
class="n">_AttributeType_</span> <span class="n">is</span> <span class="n">an</span>
<span class="n">Operational</span> <span class="n">Attribute</span>
+<span class="n">isSingleValued</span><span class="p">()</span> <span
class="p">:</span> <span class="n">tells</span> <span class="k">if</span>
<span class="n">the</span> <span class="n">current</span> <span
class="n">_AttributeType_</span> <span class="n">does</span> <span
class="n">not</span> <span class="n">allow</span> <span class="n">more</span>
<span class="n">than</span> <span class="n">one</span> <span class="n">value</span>
+<span class="n">isUser</span><span class="p">()</span> <span class="p">:</span>
<span class="n">tells</span> <span class="k">if</span> <span class="n">the</span>
<span class="n">current</span> <span class="n">_AttributeType_</span>
<span class="n">is</span> <span class="n">a</span> <span class="n">User</span>
<span class="n">Application</span> <span class="n">_AttributeType_</span>
+<span class="n">isUserModifiable</span><span class="p">()</span>
<span class="p">:</span> <span class="n">tells</span> <span class="k">if</span>
<span class="n">the</span> <span class="n">_Attributes_</span> <span
class="n">usng</span> <span class="n">this</span> <span class="n">_AttributeType_</span>
<span class="n">can</span> <span class="n">be</span> <span class="n">modified</span>
<span class="n">on</span> <span class="n">the</span> <span class="n">server</span>
 </pre></div>
 
 



Mime
View raw message