public class AssetLiteralSchemaType extends AssetSchemaType
| Modifier and Type | Field and Description |
|---|---|
protected LiteralSchemaType |
literalSchemaTypeBean |
schemaElementBeanreferenceableBeanparentAsset| Modifier | Constructor and Description |
|---|---|
protected |
AssetLiteralSchemaType(AssetDescriptor parentAsset)
Constructor used by the subclasses
|
|
AssetLiteralSchemaType(AssetDescriptor parentAsset,
AssetLiteralSchemaType 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.
|
|
AssetLiteralSchemaType(AssetDescriptor parentAsset,
LiteralSchemaType literalSchemaTypeBean)
Bean constructor with parent asset
|
|
AssetLiteralSchemaType(LiteralSchemaType literalSchemaTypeBean)
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.
|
String |
getDataType()
Return the data type for this element.
|
String |
getFixedValue()
Return the fixed value for the element.
|
protected LiteralSchemaType |
getLiteralSchemaTypeBean()
Return the bean with all of the properties.
|
protected SchemaType |
getSchemaTypeBean()
Return this schema element bean.
|
int |
hashCode()
Hash of properties
|
protected void |
setBean(LiteralSchemaType bean)
Set up the bean that contains the properties of the schema.
|
String |
toString()
Standard toString method.
|
createAssetSchemaType, getAuthor, getEncodingStandard, getFormula, getQueries, getUsage, getVersionNumber, setBeangetDescription, getDisplayName, getSchemaElementBean, isDeprecated, setBeangetAdditionalProperties, getMeanings, getQualifiedName, getReferenceableBean, getSecurityTags, setBeangetAssetClassifications, getElementHeaderBean, getExtendedProperties, getGUID, getType, getURL, setBeangetParentAsset, getParentAssetName, getParentAssetTypeNameprotected LiteralSchemaType literalSchemaTypeBean
protected AssetLiteralSchemaType(AssetDescriptor parentAsset)
parentAsset - descriptor of asset that this property relates to.public AssetLiteralSchemaType(LiteralSchemaType literalSchemaTypeBean)
literalSchemaTypeBean - bean containing the schema element propertiespublic AssetLiteralSchemaType(AssetDescriptor parentAsset, LiteralSchemaType literalSchemaTypeBean)
parentAsset - descriptor for parent assetliteralSchemaTypeBean - bean containing the schema element propertiespublic AssetLiteralSchemaType(AssetDescriptor parentAsset, AssetLiteralSchemaType templateSchemaElement)
parentAsset - description of the asset that this schema element is attached to.templateSchemaElement - template object to copy.protected LiteralSchemaType getLiteralSchemaTypeBean()
public String getDataType()
public String getFixedValue()
protected AssetSchemaType cloneAssetSchemaType(AssetDescriptor parentAsset)
cloneAssetSchemaType in class AssetSchemaTypeparentAsset - description of the asset that this schema element is attached to.protected SchemaType getSchemaTypeBean()
getSchemaTypeBean in class AssetSchemaTypeprotected void setBean(LiteralSchemaType bean)
bean - bean containing the schema propertiespublic String toString()
toString in class AssetSchemaTypepublic boolean equals(Object objectToCompare)
equals in class AssetSchemaTypeobjectToCompare - supplied objectpublic int hashCode()
hashCode in class AssetSchemaTypeCopyright © 2018–2021 LF AI & Data Foundation. All rights reserved.