← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 21181: minor, add javadocs for AttributeStore

 

------------------------------------------------------------
revno: 21181
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2015-11-24 11:18:17 +0700
message:
  minor, add javadocs for AttributeStore
modified:
  dhis-2/dhis-api/src/main/java/org/hisp/dhis/attribute/AttributeStore.java


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-api/src/main/java/org/hisp/dhis/attribute/AttributeStore.java'
--- dhis-2/dhis-api/src/main/java/org/hisp/dhis/attribute/AttributeStore.java	2015-11-23 09:06:48 +0000
+++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/attribute/AttributeStore.java	2015-11-24 04:18:17 +0000
@@ -76,9 +76,27 @@
         .put( CategoryOptionGroup.class, "categoryOptionGroupAttribute" )
         .build();
 
+    /**
+     * Get all metadata attributes for a given class, returns empty list for un-supported types.
+     *
+     * @param klass Class to get metadata attributes for
+     * @return List of attributes for this class
+     */
     List<Attribute> getAttributes( Class<?> klass );
 
+    /**
+     * Get all mandatory metadata attributes for a given class, returns empty list for un-supported types.
+     *
+     * @param klass Class to get metadata attributes for
+     * @return List of mandatory metadata attributes for this class
+     */
     List<Attribute> getMandatoryAttributes( Class<?> klass );
 
+    /**
+     * Get all unique metadata attributes for a given class, returns empty list for un-supported types.
+     *
+     * @param klass Class to get metadata attributes for
+     * @return List of unique metadata attributes for this class
+     */
     List<Attribute> getUniqueAttributes( Class<?> klass );
 }