public class APISchemaType extends SchemaType
| Modifier and Type | Field and Description |
|---|---|
protected int |
operationCount |
author, displayName, encodingStandard, usage, versionNumberadditionalProperties, meanings, qualifiedNameclassifications, extendedProperties, guid, type, url| Constructor and Description |
|---|
APISchemaType()
Default constructor used by subclasses
|
APISchemaType(APISchemaType template)
Copy/clone Constructor the parentAsset is passed separately to the template because it is also
likely to be being cloned in the same operation and we want the definitions clone to point to the
asset clone and not the original asset.
|
| Modifier and Type | Method and Description |
|---|---|
SchemaElement |
cloneSchemaElement()
Returns a clone of this object as the abstract SchemaElement class.
|
SchemaType |
cloneSchemaType()
Returns a clone of this object as the abstract SchemaType class.
|
boolean |
equals(Object objectToCompare)
Compare the values of the supplied object with those stored in the current object.
|
int |
getOperationCount()
Return the count of attributes in this schema type.
|
void |
setOperationCount(int operationCount)
Set up the count of attributes in this schema type
|
String |
toString()
Standard toString method.
|
getAuthor, getDisplayName, getEncodingStandard, getUsage, getVersionNumber, setAuthor, setDisplayName, setEncodingStandard, setUsage, setVersionNumbergetAdditionalProperties, getMeanings, getQualifiedName, hashCode, setAdditionalProperties, setMeanings, setQualifiedNamegetClassifications, getExtendedProperties, getGUID, getType, getURL, setClassifications, setExtendedProperties, setGUID, setType, setURLpublic APISchemaType()
public APISchemaType(APISchemaType template)
template - template object to copy.public int getOperationCount()
public void setOperationCount(int operationCount)
operationCount - data type namepublic SchemaElement cloneSchemaElement()
cloneSchemaElement in class SchemaTypepublic SchemaType cloneSchemaType()
cloneSchemaType in class SchemaTypepublic String toString()
toString in class SchemaTypepublic boolean equals(Object objectToCompare)
equals in class SchemaTypeobjectToCompare - supplied objectCopyright © 2018–2020 ODPi. All rights reserved.