Previous Topic: Container Definition

Next Topic: Important Metadata Settings for a Virtual Container Class Example

Metadata Settings for a Real Container Class Example

The following is an example of important metadata settings for a real, that is, not virtual, container class. This example is from the metadata for the SDKFS sample, sdkfs_metadata.xml:

<class name="eTDYNContainer001">

	<metadata name="childTypes">
		<value>
		<setValue>
			<baseType>
				<strValue/>
						</baseType>
						<val>
							<strValue>eTDYNContainer001</strValue>
						</val>
						<val>
							<strValue>eTDYNAccount</strValue>
						</val>
						<val>
							<strValue>eTDYNObject001</strValue>
						</val>
					</setValue>
				</value>
			</metadata>
			<metadata name="connectorMapTo">
				<value>
					<strValue>folder</strValue>
				</value>
			</metadata>
			<property name="eTDYNContainer001Name">
				<value>
					<strValue>Container Name</strValue>
				</value>
				<metadata name="isNaming">
					<value>
						<boolValue>true</boolValue>
					</value>
				</metadata>
				<metadata name="isRequired">
					<value>
						<boolValue>true</boolValue>
					</value>
				</metadata>
				<metadata name="displayName">
					<value>
						<strValue>folder name</strValue>
					</value>
				</metadata>
				<metadata name="connectorMapTo">
					<value>
						<strValue>dirname</strValue>
					</value>
				</metadata>
			</property>
… arbitrary other properties can be mapped for the class…

</class>

The following settings in the above example are important to consider:

Note: For more information on real container examples involving ambiguous mappings, review some mappings generated for a JNDI endpoint by Connector Xpress.


Copyright © 2009 CA. All rights reserved.