public class AssetSimpleSchemaType extends AssetSchemaType
| Modifier and Type | Field and Description |
|---|---|
protected SimpleSchemaType |
simpleSchemaTypeBean |
schemaElementBeanreferenceableBeanparentAsset| Modifier | Constructor and Description |
|---|---|
protected |
AssetSimpleSchemaType(AssetDescriptor parentAsset)
Constructor used by the subclasses
|
|
AssetSimpleSchemaType(AssetDescriptor parentAsset,
AssetSimpleSchemaType template)
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.
|
|
AssetSimpleSchemaType(AssetDescriptor parentAsset,
SimpleSchemaType simpleSchemaTypeBean)
Bean constructor with parent asset
|
|
AssetSimpleSchemaType(SimpleSchemaType simpleSchemaTypeBean)
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 |
getDefaultValue()
Return the default value for the element.
|
protected SchemaType |
getSchemaTypeBean()
Return this schema element bean.
|
protected SimpleSchemaType |
getSimpleSchemaTypeBean()
Return the bean with all of the properties.
|
protected void |
setBean(SimpleSchemaType 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, hashCode, setBeangetParentAsset, getParentAssetName, getParentAssetTypeNameprotected SimpleSchemaType simpleSchemaTypeBean
protected AssetSimpleSchemaType(AssetDescriptor parentAsset)
parentAsset - descriptor of asset that this property relates to.public AssetSimpleSchemaType(SimpleSchemaType simpleSchemaTypeBean)
simpleSchemaTypeBean - bean containing the schema element propertiespublic AssetSimpleSchemaType(AssetDescriptor parentAsset, SimpleSchemaType simpleSchemaTypeBean)
parentAsset - descriptor for parent assetsimpleSchemaTypeBean - bean containing the schema element propertiespublic AssetSimpleSchemaType(AssetDescriptor parentAsset, AssetSimpleSchemaType template)
parentAsset - description of the asset that this schema element is attached to.template - template object to copy.protected SimpleSchemaType getSimpleSchemaTypeBean()
public String getDataType()
public String getDefaultValue()
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(SimpleSchemaType bean)
bean - bean containing the schema propertiespublic String toString()
toString in class AssetSchemaTypepublic boolean equals(Object objectToCompare)
equals in class AssetSchemaTypeobjectToCompare - supplied objectCopyright © 2018–2020 ODPi. All rights reserved.