Class ComplexSchemaTypeProperties
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.stewardshipaction.properties.ReferenceableProperties
-
- org.odpi.openmetadata.accessservices.stewardshipaction.properties.SchemaElementProperties
-
- org.odpi.openmetadata.accessservices.stewardshipaction.properties.SchemaTypeProperties
-
- org.odpi.openmetadata.accessservices.stewardshipaction.properties.ComplexSchemaTypeProperties
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
DocumentSchemaTypeProperties,StructSchemaTypeProperties,TabularSchemaTypeProperties
public class ComplexSchemaTypeProperties extends SchemaTypeProperties
ComplexSchemaTypeProperties 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
-
-
Constructor Summary
Constructors Constructor Description ComplexSchemaTypeProperties()Default constructor used by subclassesComplexSchemaTypeProperties(ComplexSchemaTypeProperties template)Copy/clone Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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()Create a hash code for this element type.voidsetAttributeCount(int attributeCount)Set up the count of attributes in this schema typeStringtoString()Standard toString method.-
Methods inherited from class org.odpi.openmetadata.accessservices.stewardshipaction.properties.SchemaTypeProperties
getAuthor, getEncodingStandard, getFormula, getNamespace, getQueries, getUsage, getVersionNumber, setAuthor, setEncodingStandard, setFormula, setNamespace, setQueries, setUsage, setVersionNumber
-
Methods inherited from class org.odpi.openmetadata.accessservices.stewardshipaction.properties.SchemaElementProperties
getDescription, getDisplayName, getIsDeprecated, setDescription, setDisplayName, setIsDeprecated
-
Methods inherited from class org.odpi.openmetadata.accessservices.stewardshipaction.properties.ReferenceableProperties
getAdditionalProperties, getExtendedProperties, getQualifiedName, getTypeName, setAdditionalProperties, setExtendedProperties, setQualifiedName, setTypeName
-
-
-
-
Constructor Detail
-
ComplexSchemaTypeProperties
public ComplexSchemaTypeProperties()
Default constructor used by subclasses
-
ComplexSchemaTypeProperties
public ComplexSchemaTypeProperties(ComplexSchemaTypeProperties 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
-
toString
public String toString()
Standard toString method.- Overrides:
toStringin classSchemaTypeProperties- 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 classSchemaTypeProperties- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()
Create a hash code for this element type.- Overrides:
hashCodein classSchemaTypeProperties- Returns:
- int hash code
-
-