| | |
| | | ' The definition of the ', $ufn,' to be created.
', |
| | | '@param exceptions
', |
| | | ' An optional collection in which to place any ', |
| | | '{@link DefaultBehaviorException}s that occurred whilst ', |
| | | '{@link PropertyException}s that occurred whilst ', |
| | | 'attempting to determine the default values of the ', $ufn, |
| | | '. This argument can be <code>null<code>.
', |
| | | '@return Returns a new ', $ufn,' configuration instance.
')" /> |
| | | </xsl:call-template> |
| | | <xsl:value-of |
| | | select="concat(' <C extends ', $java-class-name,'CfgClient> C create', $java-relation-name, '(
', |
| | | ' ManagedObjectDefinition<C, ? extends ', $java-class-name,'Cfg> d, Collection<DefaultBehaviorException> exceptions);
')" /> |
| | | ' ManagedObjectDefinition<C, ? extends ', $java-class-name,'Cfg> d, Collection<PropertyException> exceptions);
')" /> |
| | | <xsl:text>
</xsl:text> |
| | | <xsl:text>
</xsl:text> |
| | | <xsl:text>
</xsl:text> |
| | |
| | | ' The name of the new ', $ufn,'.
', |
| | | '@param exceptions
', |
| | | ' An optional collection in which to place any ', |
| | | '{@link DefaultBehaviorException}s that occurred whilst ', |
| | | '{@link PropertyException}s that occurred whilst ', |
| | | 'attempting to determine the default values of the ', $ufn, |
| | | '. This argument can be <code>null<code>.
', |
| | | '@return Returns a new ', $ufn,' configuration instance.
', |
| | |
| | | </xsl:call-template> |
| | | <xsl:value-of |
| | | select="concat(' <C extends ', $java-class-name,'CfgClient> C create', $java-relation-name, '(
', |
| | | ' ManagedObjectDefinition<C, ? extends ', $java-class-name,'Cfg> d, String name, Collection<DefaultBehaviorException> exceptions) throws IllegalManagedObjectNameException;
')" /> |
| | | ' ManagedObjectDefinition<C, ? extends ', $java-class-name,'Cfg> d, String name, Collection<PropertyException> exceptions) throws IllegalManagedObjectNameException;
')" /> |
| | | </xsl:when> |
| | | <xsl:when test="string(adm:one-to-many/@unique) = 'true'"> |
| | | <xsl:call-template name="add-java-comment2"> |
| | |
| | | ' The definition of the ', $ufn,' to be created.
', |
| | | '@param exceptions
', |
| | | ' An optional collection in which to place any ', |
| | | '{@link DefaultBehaviorException}s that occurred whilst ', |
| | | '{@link PropertyException}s that occurred whilst ', |
| | | 'attempting to determine the default values of the ', $ufn, |
| | | '. This argument can be <code>null<code>.
', |
| | | '@return Returns a new ', $ufn,' configuration instance.
')" /> |
| | | </xsl:call-template> |
| | | <xsl:value-of |
| | | select="concat(' <C extends ', $java-class-name,'CfgClient> C create', $java-relation-name, '(
', |
| | | ' ManagedObjectDefinition<C, ? extends ', $java-class-name,'Cfg> d, Collection<DefaultBehaviorException> exceptions);
')" /> |
| | | ' ManagedObjectDefinition<C, ? extends ', $java-class-name,'Cfg> d, Collection<PropertyException> exceptions);
')" /> |
| | | </xsl:when> |
| | | </xsl:choose> |
| | | <xsl:text>
</xsl:text> |
| | |
| | | <xsl:if |
| | | test="$this-local-properties[not(@monitoring='true')]"> |
| | | <import> |
| | | org.opends.server.admin.IllegalPropertyValueException |
| | | org.opends.server.admin.PropertyException |
| | | </import> |
| | | </xsl:if> |
| | | <xsl:if test="$this-local-properties[@read-only='true']"> |
| | | <import> |
| | | org.opends.server.admin.PropertyIsReadOnlyException |
| | | org.opends.server.admin.PropertyException |
| | | </import> |
| | | </xsl:if> |
| | | <xsl:if test="$this-local-relations"> |
| | |
| | | test="$this-local-relations/adm:one-to-zero-or-one|$this-local-relations/adm:one-to-many"> |
| | | <import>java.util.Collection</import> |
| | | <import> |
| | | org.opends.server.admin.DefaultBehaviorException |
| | | org.opends.server.admin.PropertyException |
| | | </import> |
| | | <import> |
| | | org.opends.server.admin.client.OperationRejectedException |