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.
-
Field Summary
Modifier and TypeFieldDescriptionprotected List<SchemaAttributeProperties>
protected SchemaTypeProperties
-
Constructor Summary
ConstructorDescriptionDefault constructorCopy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Compare the values of the supplied object with those stored in the current object.Return the names of the zones that this asset is a member of.Return the type of owner stored in the owner property.int
hashCode()
Return hash code based on properties.void
setSchemaAttributes
(List<SchemaAttributeProperties> schemaAttributes) Set up the names of the zones that this asset is a member of.void
setSchemaType
(SchemaTypeProperties schemaType) Set up the owner type for this asset.toString()
Standard toString method.
-
Field Details
-
schemaType
-
schemaAttributes
-
-
Constructor Details
-
CombinedSchemaRequestBody
public CombinedSchemaRequestBody()Default constructor -
CombinedSchemaRequestBody
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getSchemaType
Return the type of owner stored in the owner property.- Returns:
- AssetOwnerType enum
-
setSchemaType
Set up the owner type for this asset.- Parameters:
schemaType
- AssetOwnerType enum
-
getSchemaAttributes
Return the names of the zones that this asset is a member of.- Returns:
- list of zone names
-
setSchemaAttributes
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.
-