Class ComplexSchemaType
- java.lang.Object
-
- org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
-
- org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader
-
- org.odpi.openmetadata.frameworks.connectors.properties.beans.Referenceable
-
- 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:
StructSchemaType
public class ComplexSchemaType extends SchemaType
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:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected intattributeCount-
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.SchemaType
author, encodingStandard, formula, namespace, queries, usage, versionNumber
-
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.SchemaElement
anchorGUID, description, displayName, expression, isCalculatedValue, isDeprecated
-
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.Referenceable
additionalProperties, confidenceGovernanceClassification, confidentialityGovernanceClassification, criticalityGovernanceClassification, latestChange, latestChangeDetails, meanings, qualifiedName, retentionGovernanceClassification, searchKeywords, securityTags
-
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader
classifications, extendedProperties, guid, type, url
-
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
CURRENT_AUDIT_HEADER_VERSION
-
-
Constructor Summary
Constructors Constructor Description ComplexSchemaType()Default constructor used by subclassesComplexSchemaType(ComplexSchemaType template)Copy/clone Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SchemaElementcloneSchemaElement()Returns a clone of this object as the abstract SchemaElement class.SchemaTypecloneSchemaType()Returns a clone of this object as the abstract SchemaType class.booleanequals(Object objectToCompare)Compare the values of the supplied object with those stored in the current object.intgetAttributeCount()Return the count of attributes in this schema type.inthashCode()Hash of propertiesvoidsetAttributeCount(int attributeCount)Set up the count of attributes in this schema typeStringtoString()Standard toString method.-
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.SchemaType
getAuthor, getEncodingStandard, getFormula, getNamespace, getQueries, getUsage, getVersionNumber, setAuthor, setEncodingStandard, setFormula, setNamespace, setQueries, setUsage, setVersionNumber
-
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.SchemaElement
getAnchorGUID, getDescription, getDisplayName, getExpression, getIsDeprecated, isCalculatedValue, setAnchorGUID, setCalculatedValue, setDescription, setDisplayName, setExpression, setIsDeprecated
-
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.Referenceable
getAdditionalProperties, getConfidenceGovernanceClassification, getConfidentialityGovernanceClassification, getCriticalityGovernanceClassification, getLatestChange, getLatestChangeDetails, getMeanings, getQualifiedName, getRetentionGovernanceClassification, getSearchKeywords, getSecurityTags, setAdditionalProperties, setConfidenceGovernanceClassification, setConfidentialityGovernanceClassification, setCriticalityGovernanceClassification, setLatestChange, setLatestChangeDetails, setMeanings, setQualifiedName, setRetentionGovernanceClassification, setSearchKeywords, setSecurityTags
-
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader
getClassifications, getExtendedProperties, getGUID, getType, getURL, setClassifications, setExtendedProperties, setGUID, setType, setURL
-
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
getHeaderVersion, setHeaderVersion
-
-
-
-
Constructor Detail
-
ComplexSchemaType
public ComplexSchemaType()
Default constructor used by subclasses
-
ComplexSchemaType
public ComplexSchemaType(ComplexSchemaType template)
Copy/clone Constructor.- Parameters:
template- template object to copy.
-
-
Method Detail
-
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
public SchemaElement cloneSchemaElement()
Returns a clone of this object as the abstract SchemaElement class.- Overrides:
cloneSchemaElementin classSchemaType- Returns:
- ComplexSchemaType object
-
cloneSchemaType
public SchemaType cloneSchemaType()
Returns a clone of this object as the abstract SchemaType class.- Overrides:
cloneSchemaTypein classSchemaType- Returns:
- ComplexSchemaType object
-
toString
public String toString()
Standard toString method.- Overrides:
toStringin classSchemaType- Returns:
- print out of variables in a JSON-style
-
equals
public boolean equals(Object objectToCompare)
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
-
-