Class AssetConnectionProperties
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.properties.RelationshipProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.assets.AssetConnectionProperties
AssetConnectionProperties describes the properties used when creating an AssetConnection relationship.
-
Constructor Summary
ConstructorDescriptionDefault constructorCopy/clone constructor. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return comparison result based on the content of the properties.Return the properties for the relationship.int
hashCode()
Return hash code for this objectvoid
setAssetSummary
(String assetSummary) Set up the properties for the relationship.toString()
JSON-style toStringMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.RelationshipProperties
getEffectiveFrom, getEffectiveTo, getExtendedProperties, setEffectiveFrom, setEffectiveTo, setExtendedProperties
-
Constructor Details
-
AssetConnectionProperties
public AssetConnectionProperties()Default constructor -
AssetConnectionProperties
Copy/clone constructor.- Parameters:
template
- object to copy
-
-
Method Details
-
getAssetSummary
Return the properties for the relationship.- Returns:
- properties object
-
setAssetSummary
Set up the properties for the relationship.- Parameters:
assetSummary
- properties object
-
toString
JSON-style toString- Overrides:
toString
in classRelationshipProperties
- Returns:
- return string containing the property names and values
-
equals
Return comparison result based on the content of the properties.- Overrides:
equals
in classRelationshipProperties
- Parameters:
objectToCompare
- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCode
in classRelationshipProperties
- Returns:
- int hash code
-