public class AssetMapSchemaType extends AssetSchemaType
| Modifier and Type | Field and Description |
|---|---|
protected AssetSchemaType |
mapFromElement |
protected MapSchemaType |
mapSchemaTypeBean |
protected AssetSchemaType |
mapToElement |
referenceableBeanparentAsset| Modifier | Constructor and Description |
|---|---|
protected |
AssetMapSchemaType(AssetDescriptor parentAsset)
Constructor used by the subclasses
|
|
AssetMapSchemaType(AssetDescriptor parentAsset,
AssetMapSchemaType 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.
|
|
AssetMapSchemaType(AssetDescriptor parentAsset,
MapSchemaType schemaType)
Constructor used by the subclasses
|
|
AssetMapSchemaType(AssetDescriptor parentAsset,
SchemaType schemaTypeBean,
AssetSchemaType mapFromElement,
AssetSchemaType mapToElement)
Bean constructor with parent asset
|
|
AssetMapSchemaType(MapSchemaType schemaType,
AssetSchemaType mapFromElement,
AssetSchemaType mapToElement)
Bean constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected AssetSchemaType |
cloneAssetSchemaType(AssetDescriptor parentAsset)
Return a clone of this schema element.
|
boolean |
equals(Object objectToCompare)
Compare the values of the supplied object with those stored in the current object.
|
AssetSchemaType |
getMapFromElement()
Return the type of schema element that represents the key or property name for the map.
|
AssetSchemaType |
getMapToElement()
Return the type of schema element that represents the property value for the map.
|
int |
hashCode()
Create a hash code for this element type.
|
protected void |
setBean(MapSchemaType bean)
Set up the bean that contains the properties of the schema.
|
String |
toString()
Standard toString method.
|
getAuthor, getDisplayName, getEncodingStandard, getSchemaTypeBean, getUsage, getVersionNumber, setBeangetAdditionalProperties, getMeanings, getQualifiedName, getReferenceableBean, setBeangetAssetClassifications, getElementHeaderBean, getExtendedProperties, getGUID, getType, getURL, setBeangetParentAsset, getParentAssetName, getParentAssetTypeNameprotected MapSchemaType mapSchemaTypeBean
protected AssetSchemaType mapFromElement
protected AssetSchemaType mapToElement
protected AssetMapSchemaType(AssetDescriptor parentAsset)
parentAsset - descriptor of asset that this property relates to.public AssetMapSchemaType(AssetDescriptor parentAsset, MapSchemaType schemaType)
parentAsset - descriptor of asset that this property relates to.schemaType - bean containing the schema propertiespublic AssetMapSchemaType(MapSchemaType schemaType, AssetSchemaType mapFromElement, AssetSchemaType mapToElement)
schemaType - bean containing the schema propertiesmapFromElement - schema element that represents the property name for the map.mapToElement - schema element that represents the property value for the map.public AssetMapSchemaType(AssetDescriptor parentAsset, SchemaType schemaTypeBean, AssetSchemaType mapFromElement, AssetSchemaType mapToElement)
parentAsset - descriptor for parent assetschemaTypeBean - bean containing the schema propertiesmapFromElement - schema element that represents the property name for the map.mapToElement - schema element that represents the property value for the map.public AssetMapSchemaType(AssetDescriptor parentAsset, AssetMapSchemaType templateSchema)
parentAsset - description of the asset that this map is attached to.templateSchema - template object to copy.public AssetSchemaType getMapFromElement()
protected void setBean(MapSchemaType bean)
bean - bean containing the schema propertiespublic AssetSchemaType getMapToElement()
protected AssetSchemaType cloneAssetSchemaType(AssetDescriptor parentAsset)
cloneAssetSchemaType in class AssetSchemaTypeparentAsset - description of the asset that this schema element is attached to.public String toString()
toString in class AssetSchemaTypepublic boolean equals(Object objectToCompare)
equals in class AssetSchemaTypeobjectToCompare - supplied objectpublic int hashCode()
AssetElementHeaderhashCode in class AssetElementHeaderCopyright © 2018–2020 ODPi. All rights reserved.