Class ComplexSchemaType
java.lang.Object
org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementControlHeader
org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader
org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementBase
org.odpi.openmetadata.frameworks.connectors.properties.beans.Referenceable
org.odpi.openmetadata.frameworks.connectors.properties.beans.GovernedReferenceable
org.odpi.openmetadata.frameworks.connectors.properties.beans.SchemaElement
org.odpi.openmetadata.frameworks.connectors.properties.beans.SchemaType
org.odpi.openmetadata.frameworks.connectors.properties.beans.ComplexSchemaType
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
NestedSchemaType,StructSchemaType
ComplexSchemaType describes a schema with multiple attributes. Notice it does not contain the attributes,
just a count of them. This is because a complex schema type may have literally thousands of attributes
and so the attribute contents are retrieved separated through calls that support paging.
- See Also:
-
Field Summary
FieldsFields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.SchemaType
author, encodingStandard, formula, formulaType, namespace, queries, usage, versionNumberFields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.SchemaElement
description, displayName, expression, expressionType, isCalculatedValue, isDeprecatedFields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.GovernedReferenceable
meanings, searchKeywordsFields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.Referenceable
additionalProperties, qualifiedNameFields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementBase
extendedProperties, urlFields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
CURRENT_AUDIT_HEADER_VERSION -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor used by subclassesComplexSchemaType(ComplexSchemaType template) Copy/clone Constructor. -
Method Summary
Modifier and TypeMethodDescriptionReturns a clone of this object as the abstract SchemaElement class.Returns a clone of this object as the abstract SchemaType class.booleanCompare the values of the supplied object with those stored in the current object.intReturn the count of attributes in this schema type.inthashCode()Hash of propertiesvoidsetAttributeCount(int attributeCount) Set up the count of attributes in this schema typetoString()Standard toString method.Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.SchemaType
getAuthor, getEncodingStandard, getFormula, getFormulaType, getNamespace, getQueries, getUsage, getVersionNumber, setAuthor, setEncodingStandard, setFormula, setFormulaType, setNamespace, setQueries, setUsage, setVersionNumberMethods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.SchemaElement
getDescription, getDisplayName, getExpression, getExpressionType, getIsCalculatedValue, getIsDeprecated, setDescription, setDisplayName, setExpression, setExpressionType, setIsCalculatedValue, setIsDeprecatedMethods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.GovernedReferenceable
getMeanings, getSearchKeywords, setMeanings, setSearchKeywordsMethods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.Referenceable
getAdditionalProperties, getQualifiedName, setAdditionalProperties, setQualifiedNameMethods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementBase
getExtendedProperties, getURL, setExtendedProperties, setURLMethods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader
getClassifications, getGUID, setClassifications, setGUIDMethods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementControlHeader
getOrigin, getStatus, getType, getVersions, setOrigin, setStatus, setType, setVersionsMethods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
getHeaderVersion, setHeaderVersion
-
Field Details
-
attributeCount
protected int attributeCount
-
-
Constructor Details
-
ComplexSchemaType
public ComplexSchemaType()Default constructor used by subclasses -
ComplexSchemaType
Copy/clone Constructor.- Parameters:
template- template object to copy.
-
-
Method Details
-
getAttributeCount
public int getAttributeCount()Return the count of attributes in this schema type.- Returns:
- String data type name
-
setAttributeCount
public void setAttributeCount(int attributeCount) Set up the count of attributes in this schema type- Parameters:
attributeCount- data type name
-
cloneSchemaElement
Returns a clone of this object as the abstract SchemaElement class.- Overrides:
cloneSchemaElementin classSchemaType- Returns:
- ComplexSchemaType object
-
cloneSchemaType
Returns a clone of this object as the abstract SchemaType class.- Overrides:
cloneSchemaTypein classSchemaType- Returns:
- ComplexSchemaType object
-
toString
Standard toString method.- Overrides:
toStringin classSchemaType- Returns:
- print out of variables in a JSON-style
-
equals
Compare the values of the supplied object with those stored in the current object.- Overrides:
equalsin classSchemaType- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Hash of properties- Overrides:
hashCodein classSchemaType- Returns:
- int
-