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 class
Definitions.Builder
Builder to help construct the Definitions.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Definitions.Builder
definitions()
Create a new Builder for Definitions.boolean
equals(Object o)
Schema
get(String name)
Gets theSchema
for a given Schema-name.protected Map<String,Schema>
getDefinitions()
Gets aMap
of schema-names toSchema
s.Set<String>
getNames()
Returns allSchema
names.int
hashCode()
-
-
-
Method Detail
-
getDefinitions
protected Map<String,Schema> getDefinitions()
Gets aMap
of schema-names toSchema
s. This method is currently only used for JSON serialization.- Returns:
Map
of schema-names toSchema
s.
-
get
public Schema get(String name)
Gets theSchema
for a given Schema-name.- Parameters:
name
- Schema name- Returns:
Schema
ornull
if does-not-exist.
-
definitions
public static Definitions.Builder definitions()
Create a new Builder for Definitions.- Returns:
- Builder
-
-