public class AssetMapSchemaElement extends AssetSchemaElement
| Modifier and Type | Field and Description |
|---|---|
protected AssetSchemaElement |
mapFromElement |
protected MapSchemaElement |
mapSchemaElementBean |
protected AssetSchemaElement |
mapToElement |
assetMeaningsreferenceableBeanparentAsset| Constructor and Description |
|---|
AssetMapSchemaElement(AssetDescriptor parentAsset,
AssetMapSchemaElement 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.
|
AssetMapSchemaElement(AssetDescriptor parentAsset,
MapSchemaElement mapSchemaElementBean,
AssetSchemaElement mapFromElement,
AssetSchemaElement mapToElement,
AssetMeanings assetMeanings)
Bean constructor with parent asset
|
AssetMapSchemaElement(MapSchemaElement mapSchemaElementBean,
AssetSchemaElement mapFromElement,
AssetSchemaElement mapToElement,
AssetMeanings assetMeanings)
Bean constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected AssetSchemaElement |
cloneAssetSchemaElement(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.
|
AssetSchemaElement |
getMapFromElement()
Return the type of schema element that represents the key or property name for the map.
|
protected MapSchemaElement |
getMapSchemaElementBean()
Return the bean with all of the properties.
|
AssetSchemaElement |
getMapToElement()
Return the type of schema element that represents the property value for the map.
|
protected SchemaElement |
getSchemaElementBean()
Return this schema element bean.
|
int |
hashCode()
Create a hash code for this element type.
|
String |
toString()
Standard toString method.
|
getAssetMeanings, getAuthor, getEncodingStandard, getSchemaProperties, getUsage, getVersionNumbergetAdditionalProperties, getQualifiedName, getReferenceableBeangetAssetClassifications, getElementHeaderBean, getGUID, getType, getURLgetParentAsset, getParentAssetName, getParentAssetTypeNameprotected MapSchemaElement mapSchemaElementBean
protected AssetSchemaElement mapFromElement
protected AssetSchemaElement mapToElement
public AssetMapSchemaElement(MapSchemaElement mapSchemaElementBean, AssetSchemaElement mapFromElement, AssetSchemaElement mapToElement, AssetMeanings assetMeanings)
mapSchemaElementBean - 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.assetMeanings - iterator for the asset assetMeaningspublic AssetMapSchemaElement(AssetDescriptor parentAsset, MapSchemaElement mapSchemaElementBean, AssetSchemaElement mapFromElement, AssetSchemaElement mapToElement, AssetMeanings assetMeanings)
parentAsset - descriptor for parent assetmapSchemaElementBean - 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.assetMeanings - iterator for the asset assetMeaningspublic AssetMapSchemaElement(AssetDescriptor parentAsset, AssetMapSchemaElement templateSchema)
parentAsset - description of the asset that this map is attached to.templateSchema - template object to copy.protected MapSchemaElement getMapSchemaElementBean()
public AssetSchemaElement getMapFromElement()
public AssetSchemaElement getMapToElement()
protected AssetSchemaElement cloneAssetSchemaElement(AssetDescriptor parentAsset)
cloneAssetSchemaElement in class AssetSchemaElementparentAsset - description of the asset that this schema element is attached to.protected SchemaElement getSchemaElementBean()
getSchemaElementBean in class AssetSchemaElementpublic String toString()
toString in class AssetSchemaElementpublic boolean equals(Object objectToCompare)
equals in class AssetSchemaElementobjectToCompare - supplied objectpublic int hashCode()
AssetElementHeaderhashCode in class AssetElementHeaderCopyright © 2018 ODPi. All rights reserved.