public class AssetSchemaLink extends AssetPropertyBase
| Modifier and Type | Field and Description |
|---|---|
protected SchemaLink |
schemaLinkBean |
parentAsset| Constructor and Description |
|---|
AssetSchemaLink(AssetDescriptor parentAsset,
AssetSchemaLink template)
Copy/clone constructor makes a copy of the supplied object.
|
AssetSchemaLink(AssetDescriptor parentAsset,
SchemaLink schemaLinkBean)
Bean constructor with parent asset
|
AssetSchemaLink(SchemaLink schemaLinkBean)
Bean constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object objectToCompare)
Compare the values of the supplied object with those stored in the current object.
|
String |
getLinkedSchemaTypeGUID()
Return the GUID of the schema type that this link connects together.
|
String |
getLinkedSchemaTypeName()
Return the name of the schema type that this link connects together.
|
String |
getLinkGUID()
Return the identifier for the schema link.
|
String |
getLinkName()
Return the name of this link
|
Map<String,Object> |
getLinkProperties()
Return the list of properties associated with this schema link.
|
String |
getLinkType()
Return the type of the link this is related to the type of the schema it is a part of.
|
protected SchemaLink |
getSchemaLinkBean()
Return the bean with all of the properties
|
int |
hashCode()
Create a hash code for this element type.
|
String |
toString()
Standard toString method.
|
getParentAsset, getParentAssetName, getParentAssetTypeNameprotected SchemaLink schemaLinkBean
public AssetSchemaLink(SchemaLink schemaLinkBean)
schemaLinkBean - bean containing all of the propertiespublic AssetSchemaLink(AssetDescriptor parentAsset, SchemaLink schemaLinkBean)
parentAsset - descriptor of parent assetschemaLinkBean - bean containing all of the propertiespublic AssetSchemaLink(AssetDescriptor parentAsset, AssetSchemaLink template)
parentAsset - descriptor of parent assettemplate - template object to copyprotected SchemaLink getSchemaLinkBean()
public String getLinkGUID()
public String getLinkType()
public String getLinkName()
public Map<String,Object> getLinkProperties()
public String getLinkedSchemaTypeGUID()
public String getLinkedSchemaTypeName()
public String toString()
toString in class AssetPropertyElementBasepublic boolean equals(Object objectToCompare)
equals in class AssetPropertyBaseobjectToCompare - supplied objectpublic int hashCode()
hashCode in class AssetPropertyElementBaseCopyright © 2018–2020 ODPi. All rights reserved.