public class AssetComplexSchemaType extends AssetSchemaType
| Modifier and Type | Field and Description |
|---|---|
protected AssetSchemaAttributes |
schemaAttributes |
protected Schema |
schemaBean |
protected AssetSchemaLinks |
schemaLinks |
assetMeaningsreferenceableBeanparentAsset| Constructor and Description |
|---|
AssetComplexSchemaType(AssetDescriptor parentAsset,
AssetComplexSchemaType templateSchema)
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.
|
AssetComplexSchemaType(AssetDescriptor parentAsset,
Schema schemaBean,
AssetMeanings assetMeanings,
AssetSchemaAttributes schemaAttributes,
AssetSchemaLinks schemaLinks)
Bean constructor with parent asset
|
AssetComplexSchemaType(Schema schemaBean,
AssetMeanings assetMeanings,
AssetSchemaAttributes schemaAttributes,
AssetSchemaLinks schemaLinks)
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.
|
int |
getMaximumElements()
Return the maximum elements that can be stored in this schema.
|
AssetSchemaAttributes |
getSchemaAttributes()
Return the list of schema attributes in this schema.
|
protected Schema |
getSchemaBean()
Return the bean that contains the properties of the schema.
|
protected SchemaElement |
getSchemaElementBean()
Return this schema element bean.
|
AssetSchemaLinks |
getSchemaLinks()
Return a list of any links that exist between the schema attributes of this schema (or others).
|
SchemaType |
getSchemaType()
Return the type of the schema.
|
String |
toString()
Standard toString method.
|
getAssetMeanings, getAuthor, getEncodingStandard, getSchemaProperties, getUsage, getVersionNumbergetAdditionalProperties, getQualifiedName, getReferenceableBeangetAssetClassifications, getElementHeaderBean, getGUID, getType, getURL, hashCodegetParentAsset, getParentAssetName, getParentAssetTypeNameprotected Schema schemaBean
protected AssetSchemaAttributes schemaAttributes
protected AssetSchemaLinks schemaLinks
public AssetComplexSchemaType(Schema schemaBean, AssetMeanings assetMeanings, AssetSchemaAttributes schemaAttributes, AssetSchemaLinks schemaLinks)
schemaBean - bean containing the schema propertiesassetMeanings - iterator for the asset assetMeaningsschemaAttributes - the attributes that make up this schemaschemaLinks - the links to other schemapublic AssetComplexSchemaType(AssetDescriptor parentAsset, Schema schemaBean, AssetMeanings assetMeanings, AssetSchemaAttributes schemaAttributes, AssetSchemaLinks schemaLinks)
parentAsset - descriptor for parent assetschemaBean - bean containing the schema propertiesassetMeanings - iterator for the asset assetMeaningsschemaAttributes - the attributes that make up this schemaschemaLinks - the links to other schemapublic AssetComplexSchemaType(AssetDescriptor parentAsset, AssetComplexSchemaType templateSchema)
parentAsset - description of the asset that this schema is attached to.templateSchema - template object to copy.protected Schema getSchemaBean()
public SchemaType getSchemaType()
public AssetSchemaAttributes getSchemaAttributes()
public int getMaximumElements()
public AssetSchemaLinks getSchemaLinks()
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.