public class AddSchemaToLibrary extends Object implements Operation
Schema
to the GraphLibrary
of a store.Schema
Modifier and Type | Class and Description |
---|---|
static class |
AddSchemaToLibrary.Builder |
Operation.BaseBuilder<OP extends Operation,B extends Operation.BaseBuilder<OP,?>>
Constructor and Description |
---|
AddSchemaToLibrary() |
Modifier and Type | Method and Description |
---|---|
String |
getId() |
Map<String,String> |
getOptions() |
List<String> |
getParentSchemaIds() |
Schema |
getSchema() |
void |
setId(String id) |
void |
setOptions(Map<String,String> options) |
void |
setParentSchemaIds(List<String> parentSchemaIds) |
void |
setSchema(Schema schema) |
AddSchemaToLibrary |
shallowClone()
Operation implementations should ensure a ShallowClone method is implemented.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
_getNullOrOptions, addOption, asOperationChain, close, getOption, getOption, validate, validateRequiredFieldPresent
public Schema getSchema()
public void setSchema(Schema schema)
public String getId()
public void setId(String id)
public AddSchemaToLibrary shallowClone() throws org.apache.commons.lang3.exception.CloneFailedException
Operation
shallowClone
in interface Operation
org.apache.commons.lang3.exception.CloneFailedException
- if a Clone error occurspublic Map<String,String> getOptions()
getOptions
in interface Operation
public void setOptions(Map<String,String> options)
setOptions
in interface Operation
options
- the operation options. This may contain store specific options such as authorisation strings or and
other properties required for the operation to be executed. Note these options will probably not be interpreted
in the same way by every store implementation.Copyright © 2022. All rights reserved.