From 8a7ff716fed166cd42ec42faaabb7d70e317f884 Mon Sep 17 00:00:00 2001
From: Matthew Swift <matthew.swift@forgerock.com>
Date: Wed, 16 Nov 2016 14:40:03 +0000
Subject: [PATCH] OPENDJ-3505 Provide method for obtaining the user provided name of a component
---
opendj-maven-plugin/src/main/resources/config/stylesheets/metaMO.xsl | 15 +++++++++++++--
1 files changed, 13 insertions(+), 2 deletions(-)
diff --git a/opendj-maven-plugin/src/main/resources/config/stylesheets/metaMO.xsl b/opendj-maven-plugin/src/main/resources/config/stylesheets/metaMO.xsl
index d1b46734..5884ced 100644
--- a/opendj-maven-plugin/src/main/resources/config/stylesheets/metaMO.xsl
+++ b/opendj-maven-plugin/src/main/resources/config/stylesheets/metaMO.xsl
@@ -12,7 +12,7 @@
information: "Portions Copyright [year] [name of copyright owner]".
Copyright 2007-2010 Sun Microsystems, Inc.
- Portions copyright 2011-2014 ForgeRock AS.
+ Portions copyright 2011-2016 ForgeRock AS.
! -->
<xsl:stylesheet version="1.0" xmlns:adm="http://opendj.forgerock.org/admin"
xmlns:admpp="http://opendj.forgerock.org/admin-preprocessor"
@@ -610,6 +610,17 @@
' public DN dn() {
',
' return impl.getDN();
',
' }
')" />
+ <!--
+ Configuration name getter.
+ -->
+ <xsl:text>
</xsl:text>
+ <xsl:text>
</xsl:text>
+ <xsl:text>
</xsl:text>
+ <xsl:value-of
+ select="concat(' /** {@inheritDoc} */
',
+ ' public String name() {
',
+ ' return impl.getName();
',
+ ' }
')" />
<xsl:text>
</xsl:text>
<xsl:text>
</xsl:text>
<xsl:text>
</xsl:text>
@@ -1635,7 +1646,7 @@
<!--
Check that all advanced properties conform to one of
the following rules:
-
+
* is mandatory and has a defined default value(s)
* is mandatory and is part of an advanced managed object
* is mandatory and is part of an abstract managed object
--
Gitblit v1.10.0