Package org.forgerock.api.models
Class Definitions
- java.lang.Object
 - 
- org.forgerock.api.models.Definitions
 
 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDefinitions.BuilderBuilder to help construct the Definitions. 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Definitions.Builderdefinitions()Create a new Builder for Definitions.booleanequals(Object o)Schemaget(String name)Gets theSchemafor a given Schema-name.protected Map<String,Schema>getDefinitions()Gets aMapof schema-names toSchemas.Set<String>getNames()Returns allSchemanames.inthashCode() 
 - 
 
- 
- 
Method Detail
- 
getDefinitions
protected Map<String,Schema> getDefinitions()
Gets aMapof schema-names toSchemas. This method is currently only used for JSON serialization.- Returns:
 Mapof schema-names toSchemas.
 
- 
get
public Schema get(String name)
Gets theSchemafor a given Schema-name.- Parameters:
 name- Schema name- Returns:
 Schemaornullif does-not-exist.
 
- 
definitions
public static Definitions.Builder definitions()
Create a new Builder for Definitions.- Returns:
 - Builder
 
 
 - 
 
 -