Class CombinedSchemaRequestBody
java.lang.Object
org.odpi.openmetadata.commonservices.ffdc.rest.CombinedSchemaRequestBody
CombinedSchemaRequestBody 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 constructorCopy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.List<org.odpi.openmetadata.frameworks.openmetadata.properties.schema.SchemaAttributeProperties>Return the names of the zones that this asset is a member of.org.odpi.openmetadata.frameworks.openmetadata.properties.schema.SchemaTypePropertiesReturn the type of owner stored in the owner property.inthashCode()Return hash code based on properties.voidsetSchemaAttributes(List<org.odpi.openmetadata.frameworks.openmetadata.properties.schema.SchemaAttributeProperties> schemaAttributes) Set up the names of the zones that this asset is a member of.voidsetSchemaType(org.odpi.openmetadata.frameworks.openmetadata.properties.schema.SchemaTypeProperties schemaType) Set up the owner type for this asset.toString()Standard toString method.
-
Constructor Details
-
CombinedSchemaRequestBody
public CombinedSchemaRequestBody()Default constructor -
CombinedSchemaRequestBody
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Details
-
getSchemaType
public org.odpi.openmetadata.frameworks.openmetadata.properties.schema.SchemaTypeProperties getSchemaType()Return the type of owner stored in the owner property.- Returns:
- AssetOwnerType enum
-
setSchemaType
public void setSchemaType(org.odpi.openmetadata.frameworks.openmetadata.properties.schema.SchemaTypeProperties schemaType) Set up the owner type for this asset.- Parameters:
schemaType- AssetOwnerType enum
-
getSchemaAttributes
public List<org.odpi.openmetadata.frameworks.openmetadata.properties.schema.SchemaAttributeProperties> 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.openmetadata.properties.schema.SchemaAttributeProperties> schemaAttributes) Set up the names of the zones that this asset is a member of.- Parameters:
schemaAttributes- list of zone names
-
toString
Standard toString method. -
equals
Compare the values of the supplied object with those stored in the current object. -
hashCode
public int hashCode()Return hash code based on properties.
-