Package org.apache.juneau.annotation
Class SchemaAnnotation
java.lang.Object
org.apache.juneau.annotation.SchemaAnnotation
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classApplies targetedSchemaannotations to aContext.Builder.static @interfaceA collection of@Schema annotations.static classBuilder class.
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic JsonMapConverts the specified@Schema annotation into a generic map.static SchemaAnnotation.Buildercreate()Instantiates a new builder for this class.static SchemaAnnotation.BuilderInstantiates a new builder for this class.static SchemaAnnotation.BuilderInstantiates a new builder for this class.static booleanReturnstrue if the specified annotation contains all default values.
- 
Field Details- 
DEFAULTDefault value
 
- 
- 
Constructor Details- 
SchemaAnnotationpublic SchemaAnnotation()
 
- 
- 
Method Details- 
createInstantiates a new builder for this class.- Returns:
- A new builder object.
 
- 
createInstantiates a new builder for this class.- Parameters:
- on- The targets this annotation applies to.
- Returns:
- A new builder object.
 
- 
createInstantiates a new builder for this class.- Parameters:
- on- The targets this annotation applies to.
- Returns:
- A new builder object.
 
- 
emptyReturnstrue if the specified annotation contains all default values.- Parameters:
- a- The annotation to check.
- Returns:
- true if the specified annotation contains all default values.
 
- 
asMapConverts the specified@Schema annotation into a generic map.- Parameters:
- a- The annotation instance. Can be- null .
- Returns:
- The schema converted to a map, or and empty map if the annotation was null.
- Throws:
- ParseException- Malformed input encountered.
 
 
-