public class MapSchemaType extends SchemaType
| Modifier and Type | Field and Description |
|---|---|
protected SchemaType |
mapFromElement |
protected SchemaType |
mapToElement |
author, displayName, encodingStandard, usage, versionNumberadditionalProperties, meanings, qualifiedNameclassifications, extendedProperties, guid, type, url| Constructor and Description |
|---|
MapSchemaType()
Default constructor
|
MapSchemaType(MapSchemaType 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.
|
SchemaType |
getMapFromElement()
Return the type of schema element that represents the key or property name for the map.
|
SchemaType |
getMapToElement()
Return the type of schema element that represents the property value for the map.
|
void |
setMapFromElement(SchemaType mapFromElement)
Set up the type of schema element that represents the key or property name for the map.
|
void |
setMapToElement(SchemaType mapToElement)
Set up the type of schema element that represents the property value for the map.
|
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 SchemaType mapFromElement
protected SchemaType mapToElement
public MapSchemaType()
public MapSchemaType(MapSchemaType template)
template - template object to copy.public SchemaType getMapFromElement()
public void setMapFromElement(SchemaType mapFromElement)
mapFromElement - SchemaElementpublic SchemaType getMapToElement()
public void setMapToElement(SchemaType mapToElement)
mapToElement - SchemaTypepublic 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.