java.lang.Object
org.odpi.openmetadata.frameworkservices.ocf.metadatamanagement.rest.OCFOMASAPIRequestBody
org.odpi.openmetadata.frameworkservices.ocf.metadatamanagement.rest.SchemaRequestBody

public class SchemaRequestBody extends OCFOMASAPIRequestBody
SchemaRequestBody carries the parameters for created a new schema to attach to an asset. A limited number of SchemaAttributes can accompany the SchemaType. If more SchemaAttributes are needed then use addSchemaAttributesToSchema() method.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor
    Copy/clone constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    List<org.odpi.openmetadata.frameworks.connectors.properties.beans.SchemaAttribute>
    Return the names of the zones that this asset is a member of.
    org.odpi.openmetadata.frameworks.connectors.properties.beans.SchemaType
    Return the type of owner stored in the owner property.
    void
    setSchemaAttributes(List<org.odpi.openmetadata.frameworks.connectors.properties.beans.SchemaAttribute> schemaAttributes)
    Set up the names of the zones that this asset is a member of.
    void
    setSchemaType(org.odpi.openmetadata.frameworks.connectors.properties.beans.SchemaType schemaType)
    Set up the owner type for this asset.

    Methods inherited from class org.odpi.openmetadata.frameworkservices.ocf.metadatamanagement.rest.OCFOMASAPIRequestBody

    toString

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • SchemaRequestBody

      public SchemaRequestBody()
      Default constructor
    • SchemaRequestBody

      public SchemaRequestBody(SchemaRequestBody template)
      Copy/clone constructor
      Parameters:
      template - object to copy
  • Method Details

    • getSchemaType

      public org.odpi.openmetadata.frameworks.connectors.properties.beans.SchemaType getSchemaType()
      Return the type of owner stored in the owner property.
      Returns:
      AssetOwnerType enum
    • setSchemaType

      public void setSchemaType(org.odpi.openmetadata.frameworks.connectors.properties.beans.SchemaType schemaType)
      Set up the owner type for this asset.
      Parameters:
      schemaType - AssetOwnerType enum
    • getSchemaAttributes

      public List<org.odpi.openmetadata.frameworks.connectors.properties.beans.SchemaAttribute> getSchemaAttributes()
      Return the names of the zones that this asset is a member of.
      Returns:
      list of zone names
    • setSchemaAttributes

      public void setSchemaAttributes(List<org.odpi.openmetadata.frameworks.connectors.properties.beans.SchemaAttribute> schemaAttributes)
      Set up the names of the zones that this asset is a member of.
      Parameters:
      schemaAttributes - list of zone names