Class ExternalReferenceLinkRequestBody
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.datamanager.rest.DataManagerOMASAPIRequestBody
-
- org.odpi.openmetadata.accessservices.datamanager.rest.ExternalReferenceLinkRequestBody
-
- All Implemented Interfaces:
Serializable
public class ExternalReferenceLinkRequestBody extends DataManagerOMASAPIRequestBody
ExternalReferenceRequestBody describes the properties of the external reference plus the optional identifiers for an owning element.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ExternalReferenceLinkRequestBody()Default constructorExternalReferenceLinkRequestBody(ExternalReferenceLinkRequestBody template)Copy/clone constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Return comparison result based on the content of the properties.StringgetLinkDescription()Return the link description.StringgetLinkId()Return the link id.inthashCode()Return hash code for this objectvoidsetLinkDescription(String linkDescription)Set up the link description.voidsetLinkId(String linkId)Set up the link id.StringtoString()JSON-style toString
-
-
-
Constructor Detail
-
ExternalReferenceLinkRequestBody
public ExternalReferenceLinkRequestBody()
Default constructor
-
ExternalReferenceLinkRequestBody
public ExternalReferenceLinkRequestBody(ExternalReferenceLinkRequestBody template)
Copy/clone constructor.- Parameters:
template- object to copy
-
-
Method Detail
-
getLinkId
public String getLinkId()
Return the link id.- Returns:
- string identifier
-
setLinkId
public void setLinkId(String linkId)
Set up the link id.- Parameters:
linkId- string identifier
-
getLinkDescription
public String getLinkDescription()
Return the link description.- Returns:
- string description
-
setLinkDescription
public void setLinkDescription(String linkDescription)
Set up the link description.- Parameters:
linkDescription- string description
-
toString
public String toString()
JSON-style toString- Overrides:
toStringin classDataManagerOMASAPIRequestBody- Returns:
- return string containing the property names and values
-
equals
public boolean equals(Object objectToCompare)
Return comparison result based on the content of the properties.
-
-