public class MapSchemaElement extends SchemaElement
| Modifier and Type | Field and Description |
|---|---|
protected SchemaElement |
mapFromElement |
protected SchemaElement |
mapToElement |
author, encodingStandard, schemaProperties, usage, versionNumberadditionalProperties, qualifiedNameclassifications, guid, type, url| Constructor and Description |
|---|
MapSchemaElement()
Default constructor
|
MapSchemaElement(MapSchemaElement templateSchema)
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.
|
boolean |
equals(Object objectToCompare)
Compare the values of the supplied object with those stored in the current object.
|
SchemaElement |
getMapFromElement()
Return the type of schema element that represents the key or property name for the map.
|
SchemaElement |
getMapToElement()
Return the type of schema element that represents the property value for the map.
|
void |
setMapFromElement(SchemaElement mapFromElement)
Set up the type of schema element that represents the key or property name for the map.
|
void |
setMapToElement(SchemaElement mapToElement)
Set up the type of schema element that represents the property value for the map.
|
String |
toString()
Standard toString method.
|
getAuthor, getEncodingStandard, getSchemaProperties, getUsage, getVersionNumber, setAuthor, setEncodingStandard, setSchemaProperties, setUsage, setVersionNumbergetAdditionalProperties, getQualifiedName, setAdditionalProperties, setQualifiedNamegetClassifications, getGUID, getType, getURL, hashCode, setClassifications, setGUID, setType, setURLprotected SchemaElement mapFromElement
protected SchemaElement mapToElement
public MapSchemaElement()
public MapSchemaElement(MapSchemaElement templateSchema)
templateSchema - template object to copy.public SchemaElement getMapFromElement()
public void setMapFromElement(SchemaElement mapFromElement)
mapFromElement - SchemaElementpublic SchemaElement getMapToElement()
public void setMapToElement(SchemaElement mapToElement)
mapToElement - SchemaElementpublic SchemaElement cloneSchemaElement()
cloneSchemaElement in class SchemaElementpublic String toString()
toString in class SchemaElementpublic boolean equals(Object objectToCompare)
equals in class SchemaElementobjectToCompare - supplied objectCopyright © 2018 ODPi. All rights reserved.