public class AssetSchemaTypeChoice extends AssetSchemaType
| Modifier and Type | Field and Description |
|---|---|
protected SchemaTypeChoice |
schemaTypeChoiceBean |
schemaElementBeanreferenceableBeanparentAsset| Modifier | Constructor and Description |
|---|---|
protected |
AssetSchemaTypeChoice(AssetDescriptor parentAsset)
Constructor used by the subclasses
|
|
AssetSchemaTypeChoice(AssetDescriptor parentAsset,
AssetSchemaTypeChoice 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.
|
|
AssetSchemaTypeChoice(AssetDescriptor parentAsset,
SchemaTypeChoice schemaTypeChoiceBean)
Bean constructor with parent asset
|
|
AssetSchemaTypeChoice(SchemaTypeChoice schemaTypeChoiceBean)
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.
|
protected SchemaType |
getSchemaTypeBean()
Return this schema element bean.
|
protected SchemaTypeChoice |
getSchemaTypeChoiceBean()
Return the bean with all of the properties.
|
List<AssetSchemaType> |
getSchemaTypeOptions()
Return the list of schema types that an instance of the schema attribute can use as its type.
|
int |
hashCode()
Hash of properties
|
protected void |
setBean(SchemaTypeChoice 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 SchemaTypeChoice schemaTypeChoiceBean
protected AssetSchemaTypeChoice(AssetDescriptor parentAsset)
parentAsset - descriptor of asset that this property relates to.public AssetSchemaTypeChoice(SchemaTypeChoice schemaTypeChoiceBean)
schemaTypeChoiceBean - bean containing the schema element propertiespublic AssetSchemaTypeChoice(AssetDescriptor parentAsset, SchemaTypeChoice schemaTypeChoiceBean)
parentAsset - descriptor for parent assetschemaTypeChoiceBean - bean containing the schema element propertiespublic AssetSchemaTypeChoice(AssetDescriptor parentAsset, AssetSchemaTypeChoice templateSchemaElement)
parentAsset - description of the asset that this schema element is attached to.templateSchemaElement - template object to copy.protected SchemaTypeChoice getSchemaTypeChoiceBean()
public List<AssetSchemaType> getSchemaTypeOptions()
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(SchemaTypeChoice 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.