## Uses of Interface
org.wso2.carbon.governance.api.schema.dataobjects.Schema

- Packages that use Schema
  Package | Description
  --- | ---
  org.wso2.carbon.governance.api.schema |
  org.wso2.carbon.governance.api.schema.dataobjects |
  org.wso2.carbon.governance.api.services.dataobjects |
  org.wso2.carbon.governance.api.wsdls.dataobjects |

- - ### Uses of Schema in org.wso2.carbon.governance.api.schema

    Methods in org.wso2.carbon.governance.api.schema that return Schema
    Modifier and Type | Method and Description
    --- | ---
    `Schema[]` | SchemaManager.`findSchemas(SchemaFilter criteria)` Finds all schema artifacts matching the given filter criteria.
    `Schema[]` | SchemaManager.`getAllSchemas()` Finds all schema artifacts on the registry.
    `Schema` | SchemaManager.`getSchema(String schemaId)` Fetches the given schema artifact on the registry.
    `Schema` | SchemaManager.`newSchema(byte[] content)` Create a new Schema based on content either embedded or passed to a service.
    `Schema` | SchemaManager.`newSchema(byte[] content, String name)` Create a new Schema based on content either embedded or passed to a service.
    `Schema` | SchemaManager.`newSchema(String url)` Creates a new schema artifact from the given URL.

    Methods in org.wso2.carbon.governance.api.schema with parameters of type Schema
    Modifier and Type | Method and Description
    --- | ---
    `void` | SchemaManager.`addSchema(Schema schema)` Adds the given schema artifact to the registry.
    `boolean` | SchemaFilter.`matches(Schema schema)` Whether the given schema artifact matches the expected filter criteria.
    `protected void` | SchemaManager.`setContent(Schema schema, org.wso2.carbon.registry.core.Resource schemaResource)` Sets content of the given schema artifact to the given resource on the registry.
    `void` | SchemaManager.`updateSchema(Schema schema)` Updates the given schema artifact on the registry.

  - ### Uses of Schema in org.wso2.carbon.governance.api.schema.dataobjects

    Classes in org.wso2.carbon.governance.api.schema.dataobjects that implement Schema
    Modifier and Type | Class and Description
    --- | ---
    `class` | `SchemaImpl` This represents a schema artifact stored on the Registry.

  - ### Uses of Schema in org.wso2.carbon.governance.api.services.dataobjects

    Methods in org.wso2.carbon.governance.api.services.dataobjects that return Schema
    Modifier and Type | Method and Description
    --- | ---
    `Schema[]` | ServiceImpl.`getAttachedSchemas()` Method to retrieve all schemas attached to this service artifact.
    `Schema[]` | Service.`getAttachedSchemas()` Method to retrieve all schemas attached to this service artifact.

    Methods in org.wso2.carbon.governance.api.services.dataobjects with parameters of type Schema
    Modifier and Type | Method and Description
    --- | ---
    `void` | ServiceImpl.`attachSchema(Schema schema)` Attach a schema artifact to a service artifact.
    `void` | Service.`attachSchema(Schema schema)` Attach a schema artifact to a service artifact.

  - ### Uses of Schema in org.wso2.carbon.governance.api.wsdls.dataobjects

    Methods in org.wso2.carbon.governance.api.wsdls.dataobjects that return Schema
    Modifier and Type | Method and Description
    --- | ---
    `Schema[]` | Wsdl.`getAttachedSchemas()` Method to retrieve all schemas attached to this WSDL artifact.
    `Schema[]` | WsdlImpl.`getAttachedSchemas()` Method to retrieve all schemas attached to this WSDL artifact.

    Methods in org.wso2.carbon.governance.api.wsdls.dataobjects with parameters of type Schema
    Modifier and Type | Method and Description
    --- | ---
    `void` | Wsdl.`attachSchema(Schema schema)` Attach a schema artifact to a WSDL artifact.
    `void` | WsdlImpl.`attachSchema(Schema schema)` Attach a schema artifact to a WSDL artifact.

Copyright © 2017 WSO2. All Rights Reserved.