| | |
| | | ' * {@inheritDoc}
', |
| | | ' */
', |
| | | ' public <M extends ', $java-class-name, 'CfgClient> M create', $java-relation-name, '(
', |
| | | ' ManagedObjectDefinition<M, ? extends ', $java-class-name,'Cfg> d, Collection<DefaultBehaviorException> exceptions) {
', |
| | | ' ManagedObjectDefinition<M, ? extends ', $java-class-name,'Cfg> d, Collection<PropertyException> exceptions) {
', |
| | | ' return impl.createChild(INSTANCE.get', $java-relation-name,'RelationDefinition(), d, exceptions).getConfiguration();
', |
| | | ' }
')" /> |
| | | <xsl:text>
</xsl:text> |
| | |
| | | ' * {@inheritDoc}
', |
| | | ' */
', |
| | | ' public <M extends ', $java-class-name, 'CfgClient> M create', $java-relation-name, '(
', |
| | | ' ManagedObjectDefinition<M, ? extends ', $java-class-name,'Cfg> d, String name, Collection<DefaultBehaviorException> exceptions) throws IllegalManagedObjectNameException {
', |
| | | ' ManagedObjectDefinition<M, ? extends ', $java-class-name,'Cfg> d, String name, Collection<PropertyException> exceptions) throws IllegalManagedObjectNameException {
', |
| | | ' return impl.createChild(INSTANCE.get', $java-relation-plural-name,'RelationDefinition(), d, name, exceptions).getConfiguration();
', |
| | | ' }
')" /> |
| | | </xsl:when> |
| | |
| | | ' * {@inheritDoc}
', |
| | | ' */
', |
| | | ' public <M extends ', $java-class-name, 'CfgClient> M create', $java-relation-name, '(
', |
| | | ' ManagedObjectDefinition<M, ? extends ', $java-class-name,'Cfg> d, Collection<DefaultBehaviorException> exceptions) {
', |
| | | ' ManagedObjectDefinition<M, ? extends ', $java-class-name,'Cfg> d, Collection<PropertyException> exceptions) {
', |
| | | ' return impl.createChild(INSTANCE.get', $java-relation-plural-name,'RelationDefinition(), d, exceptions).getConfiguration();
', |
| | | ' }
')" /> |
| | | </xsl:when> |
| | |
| | | </import> |
| | | </xsl:if> |
| | | <import> |
| | | org.opends.server.admin.DefaultBehaviorException |
| | | org.opends.server.admin.PropertyException |
| | | </import> |
| | | <import> |
| | | org.opends.server.admin.server.ConfigurationAddListener |
| | |
| | | <xsl:if test="$this-all-relations/adm:one-to-zero-or-one"> |
| | | <import>java.util.Collection</import> |
| | | <import> |
| | | org.opends.server.admin.DefaultBehaviorException |
| | | org.opends.server.admin.PropertyException |
| | | </import> |
| | | <import> |
| | | org.opends.server.admin.server.ConfigurationAddListener |
| | |
| | | </xsl:if> |
| | | <xsl:if test="$this-all-properties[@read-only='true']"> |
| | | <import> |
| | | org.opends.server.admin.PropertyIsReadOnlyException |
| | | org.opends.server.admin.PropertyException |
| | | </import> |
| | | </xsl:if> |
| | | </xsl:otherwise> |