Package org.apache.juneau.annotation
Class SubItemsAnnotation
java.lang.Object
org.apache.juneau.annotation.SubItemsAnnotation
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic SubItemsAnnotation.Builder
create()
Instantiates a new builder for this class.static boolean
Returnstrue if the specified annotation contains all default values.static JsonMap
Merges the contents of the specified annotation into the specified generic map.
-
Field Details
-
DEFAULT
Default value
-
-
Constructor Details
-
SubItemsAnnotation
public SubItemsAnnotation()
-
-
Method Details
-
create
Instantiates a new builder for this class.- Returns:
- A new builder object.
-
empty
Returnstrue if the specified annotation contains all default values.- Parameters:
a
- The annotation to check.- Returns:
true if the specified annotation contains all default values.
-
merge
Merges the contents of the specified annotation into the specified generic map.- Parameters:
om
- The map to copy the contents to.a
- The annotation to apply.- Returns:
- The same map with the annotation contents applied.
- Throws:
ParseException
- Invalid JSON found in value.
-