blob: d9b89e1e448aa5ab8856270d012864dab42e4298 [file]
<?xml version="1.0"?>
<!DOCTYPE databases PUBLIC "-//EXOLAB/Castor Mapping DTD Version 1.0//EN"
"http://castor.exolab.org/mapping.dtd">
<mapping>
<class name="org.apache.pluto.portalImpl.om.common.impl.DisplayNameImpl">
<field name="displayName" type="java.lang.String">
<bind-xml node="text"/>
</field>
<field name="castorLocale" type="java.lang.String">
<bind-xml name="xml:lang" node="attribute"/>
</field>
</class>
<class name="org.apache.pluto.portalImpl.om.common.impl.DescriptionImpl">
<field name="description" type="java.lang.String">
<bind-xml node="text"/>
</field>
<field name="castorLocale" type="java.lang.String">
<bind-xml name="xml:lang" node="attribute"/>
</field>
</class>
<class name="org.apache.pluto.portalImpl.om.common.impl.SecurityRoleRefImpl">
<field name="castorDescriptions"
type="org.apache.pluto.portalImpl.om.common.impl.DescriptionImpl"
collection="collection">
<bind-xml name="description" node="element"/>
</field>
<field name="roleName" type="java.lang.String" required="true">
<bind-xml name="role-name" node="element"/>
</field>
<field name="roleLink" type="java.lang.String">
<bind-xml name="role-link" node="element"/>
</field>
</class>
<class name="org.apache.pluto.portalImpl.om.common.impl.ParameterImpl">
<field name="castorDescriptions"
type="org.apache.pluto.portalImpl.om.common.impl.DescriptionImpl"
collection="collection">
<bind-xml name="description" node="element"/>
</field>
<field name="name" type="java.lang.String" required="true">
<bind-xml name="name" node="element"/>
</field>
<field name="value" type="java.lang.String" required="true">
<bind-xml name="value" node="element"/>
</field>
</class>
<class name="org.apache.pluto.portalImpl.om.common.impl.PreferenceImpl">
<field name="name" type="java.lang.String" required="true">
<bind-xml name="name" node="element"/>
</field>
<field name="castorValues" type="java.lang.String" collection="collection" required="true">
<bind-xml name="value" node="element"/>
</field>
<!--field name="modifiable" type="java.lang.Boolean">
<bind-xml name="modifiable" node="element"/>
</field-->
<field name="readOnly" type="java.lang.String">
<bind-xml name="read-only" node="element"/>
</field>
</class>
<class name="org.apache.pluto.portalImpl.om.portlet.impl.ContentTypeImpl">
<field name="contentType" type="java.lang.String">
<bind-xml name="mime-type" node="element"/>
</field>
<field name="castorPortletModes"
type="java.lang.String"
collection="collection">
<bind-xml name="portlet-mode" node="element"/>
</field>
</class>
<class name="org.apache.pluto.portalImpl.om.common.impl.PreferenceSetImpl">
<field name="castorPreferences" type="org.apache.pluto.portalImpl.om.common.impl.PreferenceImpl" collection="collection">
<bind-xml name="preference" node="element"/>
</field>
<field name="castorPreferencesValidator" type="java.lang.String">
<bind-xml name="preferences-validator" node="element"/>
</field>
</class>
<class name="org.apache.pluto.portalImpl.om.common.impl.LanguageSetImpl">
<field name="title" type="java.lang.String">
<bind-xml name="title" node="element"/>
</field>
<field name="shortTitle" type="java.lang.String">
<bind-xml name="short-title" node="element"/>
</field>
<field name="castorKeywords" type="java.lang.String">
<bind-xml name="keywords" node="element"/>
</field>
</class>
<class name="org.apache.pluto.portalImpl.om.portlet.impl.PortletDefinitionImpl">
<field name="id" type="java.lang.String" direct="true">
<bind-xml name="id" node="attribute"/>
</field>
<field name="castorDescriptions"
type="org.apache.pluto.portalImpl.om.common.impl.DescriptionImpl"
collection="collection">
<bind-xml name="description" node="element"/>
</field>
<field name="name" type="java.lang.String">
<bind-xml name="portlet-name" node="element"/>
</field>
<field name="castorDisplayNames"
type="org.apache.pluto.portalImpl.om.common.impl.DisplayNameImpl"
collection="collection">
<bind-xml name="display-name" node="element"/>
</field>
<field name="className" type="java.lang.String">
<bind-xml name="portlet-class" node="element"/>
</field>
<field name="castorInitParams"
type="org.apache.pluto.portalImpl.om.common.impl.ParameterImpl"
collection="collection">
<bind-xml name="init-param" node="element"/>
</field>
<field name="expirationCache" type="java.lang.String">
<bind-xml name="expiration-cache" node="element"/>
</field>
<field name="castorContentTypes"
type="org.apache.pluto.portalImpl.om.portlet.impl.ContentTypeImpl"
collection="collection">
<bind-xml name="supports" node="element"/>
</field>
<field name="castorSupportedLocales" type="java.lang.String" collection="collection">
<bind-xml name="supported-locale" node="element"/>
</field>
<field name="resourceBundle" type="java.lang.String">
<bind-xml name="resource-bundle" node="element"/>
</field>
<field name="castorResources" type="org.apache.pluto.portalImpl.om.common.impl.LanguageSetImpl">
<bind-xml name="portlet-info" node="element"/>
</field>
<field name="castorPreferences"
type="org.apache.pluto.portalImpl.om.common.impl.PreferenceSetImpl">
<bind-xml name="portlet-preferences" node="element"/>
</field>
<field name="castorInitSecurityRoleRefs"
type="org.apache.pluto.portalImpl.om.common.impl.SecurityRoleRefImpl"
collection="collection">
<bind-xml name="security-role-ref" node="element"/>
</field>
</class>
<class name="org.apache.pluto.portalImpl.om.portlet.impl.PortletApplicationDefinitionImpl">
<map-to xml="portlet-app"/>
<field name="version" type="java.lang.String">
<bind-xml name="version" node="attribute"/>
</field>
<field name="appId" type="java.lang.String">
<bind-xml name="id" node="attribute"/>
</field>
<field name="castorPortlets"
type="org.apache.pluto.portalImpl.om.portlet.impl.PortletDefinitionImpl"
collection="collection">
<bind-xml name="portlet" node="element"/>
</field>
<field name="customPortletMode" type="java.lang.String" collection="collection">
<bind-xml name="custom-portlet-mode" node="element"/>
</field>
<field name="customPortletState" type="java.lang.String" collection="collection">
<bind-xml name="custom-window-state" node="element"/>
</field>
<field name="userAttribute" type="java.lang.String" collection="collection">
<bind-xml name="user-attribute" node="element"/>
</field>
<field name="securityConstraint" type="java.lang.String" collection="collection">
<bind-xml name="security-constraint" node="element"/>
</field>
</class>
</mapping>