public class AssetMapSchemaType extends AssetSchemaType
| Modifier and Type | Field and Description |
|---|---|
protected AssetSchemaType |
mapFromElement |
protected MapSchemaElement |
mapSchemaElementBean |
protected AssetSchemaType |
mapToElement |
assetMeaningsreferenceableBeanparentAsset| Constructor and Description |
|---|
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,
MapSchemaElement mapSchemaElementBean,
AssetSchemaType mapFromElement,
AssetSchemaType mapToElement,
AssetMeanings assetMeanings)
Bean constructor with parent asset
|
AssetMapSchemaType(MapSchemaElement mapSchemaElementBean,
AssetSchemaType mapFromElement,
AssetSchemaType mapToElement,
AssetMeanings assetMeanings)
Bean constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected AssetSchemaType |
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.
|
AssetSchemaType |
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.
|
AssetSchemaType |
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 AssetSchemaType mapFromElement
protected AssetSchemaType mapToElement
public AssetMapSchemaType(MapSchemaElement mapSchemaElementBean, AssetSchemaType mapFromElement, AssetSchemaType 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 AssetMapSchemaType(AssetDescriptor parentAsset, MapSchemaElement mapSchemaElementBean, AssetSchemaType mapFromElement, AssetSchemaType 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 AssetMapSchemaType(AssetDescriptor parentAsset, AssetMapSchemaType templateSchema)
parentAsset - description of the asset that this map is attached to.templateSchema - template object to copy.protected MapSchemaElement getMapSchemaElementBean()
public AssetSchemaType getMapFromElement()
public AssetSchemaType getMapToElement()
protected AssetSchemaType cloneAssetSchemaElement(AssetDescriptor parentAsset)
cloneAssetSchemaElement in class AssetSchemaTypeparentAsset - description of the asset that this schema element is attached to.protected SchemaElement getSchemaElementBean()
getSchemaElementBean in class AssetSchemaTypepublic String toString()
toString in class AssetSchemaTypepublic boolean equals(Object objectToCompare)
equals in class AssetSchemaTypeobjectToCompare - supplied objectpublic int hashCode()
AssetElementHeaderhashCode in class AssetElementHeaderCopyright © 2018 ODPi. All rights reserved.