Class AssetConnectionRequestBody
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.datamanager.rest.DataManagerOMASAPIRequestBody
-
- org.odpi.openmetadata.accessservices.datamanager.rest.MetadataSourceRequestBody
-
- org.odpi.openmetadata.accessservices.datamanager.rest.AssetConnectionRequestBody
-
- All Implemented Interfaces:
Serializable
public class AssetConnectionRequestBody extends MetadataSourceRequestBody
AssetConnectionRequestBody carries the parameters for creating a new relationship between an asset and a connection.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AssetConnectionRequestBody()
Default constructorAssetConnectionRequestBody(AssetConnectionRequestBody template)
Copy/clone constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object objectToCompare)
Return comparison result based on the content of the properties.String
getAssetSummary()
Return the full path of the file - this should be unique.int
hashCode()
Return hash code for this objectvoid
setAssetSummary(String assetSummary)
Set up the full path of the file - this should be unique.String
toString()
JSON-style toString-
Methods inherited from class org.odpi.openmetadata.accessservices.datamanager.rest.MetadataSourceRequestBody
getExternalSourceGUID, getExternalSourceName, setExternalSourceGUID, setExternalSourceName
-
-
-
-
Constructor Detail
-
AssetConnectionRequestBody
public AssetConnectionRequestBody()
Default constructor
-
AssetConnectionRequestBody
public AssetConnectionRequestBody(AssetConnectionRequestBody template)
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Detail
-
getAssetSummary
public String getAssetSummary()
Return the full path of the file - this should be unique.- Returns:
- string name
-
setAssetSummary
public void setAssetSummary(String assetSummary)
Set up the full path of the file - this should be unique.- Parameters:
assetSummary
- string name
-
toString
public String toString()
JSON-style toString- Overrides:
toString
in classMetadataSourceRequestBody
- 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.- Overrides:
equals
in classMetadataSourceRequestBody
- Parameters:
objectToCompare
- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()
Return hash code for this object- Overrides:
hashCode
in classMetadataSourceRequestBody
- Returns:
- int hash code
-
-