public class AssetSchemaAttributeRelationship extends AssetPropertyBase
| Modifier and Type | Field and Description |
|---|---|
protected SchemaAttributeRelationship |
schemaAttributeRelationshipBean |
parentAsset| Constructor and Description |
|---|
AssetSchemaAttributeRelationship(AssetDescriptor parentAsset,
AssetSchemaAttributeRelationship template)
Copy/clone constructor makes a copy of the supplied object.
|
AssetSchemaAttributeRelationship(AssetDescriptor parentAsset,
SchemaAttributeRelationship schemaAttributeRelationship)
Bean constructor with parent asset
|
AssetSchemaAttributeRelationship(SchemaAttributeRelationship schemaAttributeRelationshipBean)
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 |
getLinkedAttributeGUID()
Return the GUID of the schema attribute that this link connects together.
|
String |
getLinkedAttributeName()
Return the name of the schema type that this link connects together.
|
Map<String,Object> |
getLinkProperties()
Return the list of properties associated with this schema link.
|
String |
getLinkType()
Return the type of the relationship.
|
protected SchemaAttributeRelationship |
getSchemaAttributeRelationshipBean()
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 SchemaAttributeRelationship schemaAttributeRelationshipBean
public AssetSchemaAttributeRelationship(SchemaAttributeRelationship schemaAttributeRelationshipBean)
schemaAttributeRelationshipBean - bean containing all of the propertiespublic AssetSchemaAttributeRelationship(AssetDescriptor parentAsset, SchemaAttributeRelationship schemaAttributeRelationship)
parentAsset - descriptor of parent assetschemaAttributeRelationship - bean containing all of the propertiespublic AssetSchemaAttributeRelationship(AssetDescriptor parentAsset, AssetSchemaAttributeRelationship template)
parentAsset - descriptor of parent assettemplate - template object to copyprotected SchemaAttributeRelationship getSchemaAttributeRelationshipBean()
public String getLinkType()
public Map<String,Object> getLinkProperties()
public String getLinkedAttributeGUID()
public String getLinkedAttributeName()
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.