public class AssetPrimitiveSchemaType extends AssetSchemaType
| Modifier and Type | Field and Description |
|---|---|
protected PrimitiveSchemaElement |
primitiveSchemaElementBean |
assetMeaningsreferenceableBeanparentAsset| Constructor and Description |
|---|
AssetPrimitiveSchemaType(AssetDescriptor parentAsset,
AssetPrimitiveSchemaType 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.
|
AssetPrimitiveSchemaType(AssetDescriptor parentAsset,
PrimitiveSchemaElement primitiveSchemaElementBean,
AssetMeanings assetMeanings)
Bean constructor with parent asset
|
AssetPrimitiveSchemaType(PrimitiveSchemaElement primitiveSchemaElementBean,
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.
|
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 AssetPrimitiveSchemaType(PrimitiveSchemaElement primitiveSchemaElementBean, AssetMeanings assetMeanings)
primitiveSchemaElementBean - bean containing the schema element propertiesassetMeanings - iterator for the asset assetMeaningspublic AssetPrimitiveSchemaType(AssetDescriptor parentAsset, PrimitiveSchemaElement primitiveSchemaElementBean, AssetMeanings assetMeanings)
parentAsset - descriptor for parent assetprimitiveSchemaElementBean - bean containing the schema element propertiesassetMeanings - iterator for the asset assetMeaningspublic AssetPrimitiveSchemaType(AssetDescriptor parentAsset, AssetPrimitiveSchemaType 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 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 objectCopyright © 2018 ODPi. All rights reserved.