Class SchemaRequestBody
java.lang.Object
org.odpi.openmetadata.frameworkservices.ocf.metadatamanagement.rest.OCFOMASAPIRequestBody
org.odpi.openmetadata.frameworkservices.ocf.metadatamanagement.rest.SchemaRequestBody
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
ConstructorsConstructorDescriptionDefault constructorSchemaRequestBody(SchemaRequestBody template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionList<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.SchemaTypeReturn the type of owner stored in the owner property.voidsetSchemaAttributes(List<org.odpi.openmetadata.frameworks.connectors.properties.beans.SchemaAttribute> schemaAttributes) Set up the names of the zones that this asset is a member of.voidsetSchemaType(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
-
Constructor Details
-
SchemaRequestBody
public SchemaRequestBody()Default constructor -
SchemaRequestBody
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
-