public class BoundedSchemaType extends SchemaType
| Modifier and Type | Field and Description |
|---|---|
protected BoundedSchemaCategory |
boundedSchemaCategory |
protected SchemaType |
elementType |
protected int |
maximumElements |
author, displayName, encodingStandard, usage, versionNumberadditionalProperties, meanings, qualifiedNameclassifications, extendedProperties, guid, type, url| Constructor and Description |
|---|
BoundedSchemaType()
Default constructor
|
BoundedSchemaType(BoundedSchemaType 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.
|
BoundedSchemaCategory |
getBoundedSchemaCategory()
Return the type of the schema.
|
SchemaType |
getElementType()
Return the type of the elements nested within this schema.
|
int |
getMaximumElements()
Return the maximum elements that can be stored in this schema.
|
void |
setBoundedSchemaCategory(BoundedSchemaCategory boundedSchemaCategory)
Set up the type of schema.
|
void |
setElementType(SchemaType elementType)
Set up the type of the elements nested within this schema.
|
void |
setMaximumElements(int maximumElements)
Set up the maximum elements that can be stored in this schema.
|
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, setURLprotected BoundedSchemaCategory boundedSchemaCategory
protected int maximumElements
protected SchemaType elementType
public BoundedSchemaType()
public BoundedSchemaType(BoundedSchemaType template)
template - template object to copy.public SchemaElement cloneSchemaElement()
cloneSchemaElement in class SchemaTypepublic SchemaType cloneSchemaType()
cloneSchemaType in class SchemaTypepublic BoundedSchemaCategory getBoundedSchemaCategory()
public void setBoundedSchemaCategory(BoundedSchemaCategory boundedSchemaCategory)
boundedSchemaCategory - BoundedSchemaCategory enumpublic int getMaximumElements()
public void setMaximumElements(int maximumElements)
maximumElements - int maximum number of elementspublic SchemaType getElementType()
public void setElementType(SchemaType elementType)
elementType - schema typepublic String toString()
toString in class SchemaTypepublic boolean equals(Object objectToCompare)
equals in class SchemaTypeobjectToCompare - supplied objectCopyright © 2018–2020 ODPi. All rights reserved.