public class AssetPrimitiveSchemaElement extends AssetSchemaElement
| Modifier and Type | Field and Description |
|---|---|
protected PrimitiveSchemaElement |
primitiveSchemaElementBean |
assetMeaningsreferenceableBeanparentAsset| Constructor and Description |
|---|
AssetPrimitiveSchemaElement(AssetDescriptor parentAsset,
AssetPrimitiveSchemaElement templateSchemaElement)
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.
|
AssetPrimitiveSchemaElement(AssetDescriptor parentAsset,
PrimitiveSchemaElement primitiveSchemaElementBean,
AssetMeanings assetMeanings)
Bean constructor with parent asset
|
AssetPrimitiveSchemaElement(PrimitiveSchemaElement primitiveSchemaElementBean,
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.
|
String |
getDataType()
Return the data type for this element.
|
String |
getDefaultValue()
Return the default value for the element.
|
protected PrimitiveSchemaElement |
getPrimitiveSchemaElementBean()
Return the bean with all of the properties.
|
protected SchemaElement |
getSchemaElementBean()
Return this schema element bean.
|
String |
toString()
Standard toString method.
|
getAssetMeanings, getAuthor, getEncodingStandard, getSchemaProperties, getUsage, getVersionNumbergetAdditionalProperties, getQualifiedName, getReferenceableBeangetAssetClassifications, getElementHeaderBean, getGUID, getType, getURL, hashCodegetParentAsset, getParentAssetName, getParentAssetTypeNameprotected PrimitiveSchemaElement primitiveSchemaElementBean
public AssetPrimitiveSchemaElement(PrimitiveSchemaElement primitiveSchemaElementBean, AssetMeanings assetMeanings)
primitiveSchemaElementBean - bean containing the schema element propertiesassetMeanings - iterator for the asset assetMeaningspublic AssetPrimitiveSchemaElement(AssetDescriptor parentAsset, PrimitiveSchemaElement primitiveSchemaElementBean, AssetMeanings assetMeanings)
parentAsset - descriptor for parent assetprimitiveSchemaElementBean - bean containing the schema element propertiesassetMeanings - iterator for the asset assetMeaningspublic AssetPrimitiveSchemaElement(AssetDescriptor parentAsset, AssetPrimitiveSchemaElement templateSchemaElement)
parentAsset - description of the asset that this schema element is attached to.templateSchemaElement - template object to copy.protected PrimitiveSchemaElement getPrimitiveSchemaElementBean()
public String getDataType()
public String getDefaultValue()
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 objectCopyright © 2018 ODPi. All rights reserved.