public class Schema extends AbstractAsset implements ISchema
DataModel
and Operation
.Constructor and Description |
---|
Schema() |
Schema(String name) |
Schema(String name,
List<IDataModel> dataModels) |
Modifier and Type | Method and Description |
---|---|
String |
get$schema() |
IDataModel |
getDataModelByName(String dataModelName)
Convenience method for retrieving a DataModel by it's name.
|
int |
getDataModelCount()
Gets the number of datamodels that reside in this schema.
|
String[] |
getDataModelNames()
Gets the names of the datamodels that reside in this Schema.
|
List<IDataModel> |
getDataModels()
/**
Gets all datamodels in this Schema.
|
String[] |
getOneOf() |
List<IOperation> |
getOperations() |
void |
set$schema(String $schema) |
void |
setDataModels(List<IDataModel> dataModels) |
void |
setOneOf(String[] oneOf) |
void |
setOperations(List<IOperation> operations) |
getDescription, getId, getName, getTitle, setDescription, setId, setName, setTitle
getDescription, getId, getName, getTitle
public Schema()
public Schema(String name)
public Schema(String name, List<IDataModel> dataModels)
public String[] getOneOf()
public void setOneOf(String[] oneOf)
public String get$schema()
public void set$schema(String $schema)
public List<IDataModel> getDataModels()
getDataModels
in interface ISchema
public void setDataModels(List<IDataModel> dataModels)
public List<IOperation> getOperations()
public void setOperations(List<IOperation> operations)
public int getDataModelCount()
public String[] getDataModelNames()
public IDataModel getDataModelByName(String dataModelName)
dataModelName
- the name of the DataModel to retrieveCopyright © 1982–2022 Adobe Systems Inc.. All rights reserved.