Class ExternalReferenceLinkProperties
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.assetmanager.properties.RelationshipProperties
-
- org.odpi.openmetadata.accessservices.assetmanager.properties.ExternalReferenceLinkProperties
-
- All Implemented Interfaces:
Serializable
public class ExternalReferenceLinkProperties extends RelationshipProperties
ExternalReferenceLinkProperties provides a structure for the properties that link an external reference to an object.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ExternalReferenceLinkProperties()Default constructorExternalReferenceLinkProperties(ExternalReferenceLinkProperties template)Copy/clone constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Equals method that returns true if containing properties are the same.StringgetLinkDescription()Return the description of the external reference with respect to the linked object.StringgetLinkId()Return the identifier that this reference is to be known as with respect to the linked object.inthashCode()Return hash code for this objectvoidsetLinkDescription(String linkDescription)Set up the description of the external reference with respect to the linked object.voidsetLinkId(String linkId)Set up the identifier that this reference is to be known as with respect to the linked object.StringtoString()JSON-style toString.-
Methods inherited from class org.odpi.openmetadata.accessservices.assetmanager.properties.RelationshipProperties
getEffectiveFrom, getEffectiveTo, getExtendedProperties, setEffectiveFrom, setEffectiveTo, setExtendedProperties
-
-
-
-
Constructor Detail
-
ExternalReferenceLinkProperties
public ExternalReferenceLinkProperties()
Default constructor
-
ExternalReferenceLinkProperties
public ExternalReferenceLinkProperties(ExternalReferenceLinkProperties template)
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
getLinkId
public String getLinkId()
Return the identifier that this reference is to be known as with respect to the linked object.- Returns:
- String identifier
-
setLinkId
public void setLinkId(String linkId)
Set up the identifier that this reference is to be known as with respect to the linked object.- Parameters:
linkId- String identifier
-
getLinkDescription
public String getLinkDescription()
Return the description of the external reference with respect to the linked object.- Returns:
- string
-
setLinkDescription
public void setLinkDescription(String linkDescription)
Set up the description of the external reference with respect to the linked object.- Parameters:
linkDescription- string
-
toString
public String toString()
JSON-style toString.- Overrides:
toStringin classRelationshipProperties- Returns:
- list of properties and their values.
-
equals
public boolean equals(Object objectToCompare)
Equals method that returns true if containing properties are the same.- Overrides:
equalsin classRelationshipProperties- Parameters:
objectToCompare- object to compare- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()
Return hash code for this object- Overrides:
hashCodein classRelationshipProperties- Returns:
- int hash code
-
-