git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@924162
13f79535-47bb-0310-9956-
ffa450edef68
*/
import java.util.Collection;
+import java.util.Collections;
import java.util.HashMap;
import java.util.Map;
{
return this.facets.keySet();
}
+
+ /**
+ * Get all available facets as a Map (typically used by bean rendering, such as in Archiva's JSPs).
+
+ * @return the map of facets
+ * @see #facets
+ */
+ public Map<String, MetadataFacet> getFacets()
+ {
+ return Collections.unmodifiableMap( facets );
+ }
}