Class EditorSchema
java.lang.Object
dev.getelements.elements.sdk.model.schema.EditorSchema
Defines an editor schema which contains a JSON Schema, layout, and initial data for the editor.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetData()Returns the data.Returns the editor layout.Returns the JSON Schema for the data.inthashCode()voidSets the data.voidsetLayout(List<EditorLayout> layout) Sets the editor layout.voidsetSchema(JsonSchema schema) Sets the JSON Schema for the data.toString()
-
Constructor Details
-
EditorSchema
public EditorSchema()Creates a new instance.
-
-
Method Details
-
getSchema
Returns the JSON Schema for the data.- Returns:
- the schema
-
setSchema
Sets the JSON Schema for the data.- Parameters:
schema- the schema
-
getLayout
Returns the editor layout.- Returns:
- the layout
-
setLayout
Sets the editor layout.- Parameters:
layout- the layout
-
getData
Returns the data.- Returns:
- the data
-
setData
Sets the data.- Parameters:
data- the data
-
equals
-
hashCode
public int hashCode() -
toString
-