<!--
	Licensed to the Apache Software Foundation (ASF) under one
	or more contributor license agreements.  See the NOTICE file
	distributed with this work for additional information
	regarding copyright ownership.  The ASF licenses this file
	to you under the Apache License, Version 2.0 (the
	"License"); you may not use this file except in compliance
	with the License.  You may obtain a copy of the License at
	
	http://www.apache.org/licenses/LICENSE-2.0
	
	Unless required by applicable law or agreed to in writing,
	software distributed under the License is distributed on an
	"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
	KIND, either express or implied.  See the License for the
	specific language governing permissions and limitations
	under the License.
-->
<section id="tasks_creating_new_attribute_type">
	<title>Creating a new attribute type</title>
	<para>
		To create a new attribute type, choose one of the following
		options:
		<itemizedlist spacing="normal" mark="bullet">
			<listitem>
				In the Schema view, choose
				<emphasis role="strong">
					New >
					<imageobject>
						<imagedata scale="50"
							fileref="images/icons_attribute-type-new.gif" format="GIF" />
					</imageobject>
					New Attribute Type
				</emphasis>
				from the context menu.
			</listitem>
			<listitem>
				In the Schema view, click the
				<emphasis role="strong">
					<imageobject>
						<imagedata scale="50"
							fileref="images/icons_attribute-type-new.gif" format="GIF" />
					</imageobject>
					New Attribute Type
				</emphasis>
				button in the toolbar.
			</listitem>
			<listitem>
				In the Workbench menu bar select
				<emphasis role="strong">File > New...</emphasis>
				and choose
				<imageobject>
					<imagedata scale="50"
						fileref="images/icons_attribute-type-new.gif" format="GIF" />
				</imageobject>
				<emphasis role="strong">New Attribute Type</emphasis>
			</listitem>
			<listitem>
				You can also use the
				<emphasis role="strong">Strg-T</emphasis>
				shortcut.
			</listitem>
		</itemizedlist>
	</para>
	<para>
		The creation of a new attribute type is a three-step process:
		<orderedlist numeration="arabic">
			<listitem>
				<para>
					Select the schema in which insert the new attribute
					type and specify its naming and description
					information (OID, aliases and description)
				</para>
			</listitem>
			<listitem>
				<para>
					Specify the attribute type content such as superior
					and usage, as well as syntax and properties
				</para>
			</listitem>
			<listitem>
				<para>
					Specify the equality, ordering and/or substring
					matching rules
				</para>
			</listitem>
		</orderedlist>
	</para>
	<simplesect>
		<title>Page 1</title>
		<para>
			The first page allows you to select the schema in which
			insert the new attribute type and specify its naming and
			description information (OID, aliases and description).
		</para>
		<para>
			<screenshot>
				<mediaobject>
					<imageobject>
						<imagedata scale="50"
							fileref="images/tasks_new-attribute-type-wizard-general.png"
							format="PNG" />
					</imageobject>
				</mediaobject>
			</screenshot>
		</para>
		<para>
			<informaltable frame="all">
				<tgroup cols="3">
					<colspec colname="Option" colwidth="1*" />
					<colspec colname="Description" colwidth="2*" />
					<colspec colname="Default" colwidth="1*" />
					<thead>
						<row>
							<entry>Option</entry>
							<entry>Description</entry>
							<entry>Default</entry>
						</row>
					</thead>
					<tbody>
						<row>
							<entry>Schema</entry>
							<entry>
								The schema in which insert the new
								attribute type.
							</entry>
							<entry>empty</entry>
						</row>
						<row>
							<entry>OID</entry>
							<entry>
								The OID of the new attribute type. The
								OID must be unique.
							</entry>
							<entry>empty</entry>
						</row>
						<row>
							<entry>Aliases</entry>
							<entry>
								The aliases (or names) of the new
								attribute type. Each alias (or name)
								must be unique.
							</entry>
							<entry>empty</entry>
						</row>
						<row>
							<entry>Description</entry>
							<entry>
								The description of the new attribute
								type.
							</entry>
							<entry>empty</entry>
						</row>
					</tbody>
				</tgroup>
			</informaltable>
		</para>
	</simplesect>
	<simplesect>
		<title>Page 2</title>
		<para>
			The second page allows you to specify the attribute type
			content such as superior and usage, as well as syntax and
			properties.
		</para>
		<para>
			<screenshot>
				<mediaobject>
					<imageobject>
						<imagedata scale="50"
							fileref="images/tasks_new-attribute-type-wizard-content.png"
							format="PNG" />
					</imageobject>
				</mediaobject>
			</screenshot>
		</para>
		<para>
			<informaltable frame="all">
				<tgroup cols="3">
					<colspec colname="Option" colwidth="1*" />
					<colspec colname="Description" colwidth="2*" />
					<colspec colname="Default" colwidth="1*" />
					<thead>
						<row>
							<entry>Option</entry>
							<entry>Description</entry>
							<entry>Default</entry>
						</row>
					</thead>
					<tbody>
						<row>
							<entry>Superior</entry>
							<entry>
								The superior attribute type of the new
								attribute type.
							</entry>
							<entry>empty</entry>
						</row>
						<row>
							<entry>Usage</entry>
							<entry>
								The usage of the new attribute type.
							</entry>
							<entry>User Applications</entry>
						</row>
						<row>
							<entry>Syntax</entry>
							<entry>
								The syntax of the new attribute type.
							</entry>
							<entry>(None)</entry>
						</row>
						<row>
							<entry>Syntax Length</entry>
							<entry>
								The syntax length of the new attribute
								type.
							</entry>
							<entry>0</entry>
						</row>
						<row>
							<entry>Obsolete</entry>
							<entry>
								Indicates the new attribute type is
								obsolete.
							</entry>
							<entry>Not checked</entry>
						</row>
						<row>
							<entry>Single Value</entry>
							<entry>
								Indicates the new attribute type is
								single value.
							</entry>
							<entry>Not checked</entry>
						</row>
						<row>
							<entry>Collective</entry>
							<entry>
								Indicates the new attribute type is
								collective.
							</entry>
							<entry>Not checked</entry>
						</row>
						<row>
							<entry>No User Modification</entry>
							<entry>
								Indicates the new attribute type is no
								user modification.
							</entry>
							<entry>Not checked</entry>
						</row>
					</tbody>
				</tgroup>
			</informaltable>
		</para>
	</simplesect>
	<simplesect>
		<title>Page 3</title>
		<para>
			The third page allows you to specify the equality, ordering
			and/or substring matching rules.
		</para>
		<para>
			<screenshot>
				<mediaobject>
					<imageobject>
						<imagedata scale="50"
							fileref="images/tasks_new-attribute-type-wizard-matching-rules.png"
							format="PNG" />
					</imageobject>
				</mediaobject>
			</screenshot>
		</para>
		<para>
			<informaltable frame="all">
				<tgroup cols="3">
					<colspec colname="Option" colwidth="1*" />
					<colspec colname="Description" colwidth="2*" />
					<colspec colname="Default" colwidth="1*" />
					<thead>
						<row>
							<entry>Option</entry>
							<entry>Description</entry>
							<entry>Default</entry>
						</row>
					</thead>
					<tbody>
						<row>
							<entry>Equality</entry>
							<entry>
								The equality matching rule of the new
								attribute type.
							</entry>
							<entry>(None)</entry>
						</row>
						<row>
							<entry>Ordering</entry>
							<entry>
								The ordering matching rule of the new
								attribute type.
							</entry>
							<entry>(None)</entry>
						</row>
						<row>
							<entry>Substring</entry>
							<entry>
								The substring matching rule of the new
								attribute type.
							</entry>
							<entry>(None)</entry>
						</row>
					</tbody>
				</tgroup>
			</informaltable>
		</para>
	</simplesect>
</section>