Class ForeignKeyRequestBody
java.lang.Object
org.odpi.openmetadata.accessservices.assetmanager.rest.AssetManagerIdentifiersRequestBody
org.odpi.openmetadata.accessservices.assetmanager.rest.EffectiveTimeQueryRequestBody
org.odpi.openmetadata.accessservices.assetmanager.rest.ForeignKeyRequestBody
ForeignKeyRequestBody describes the request body used when creating a foreign key relationship.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorForeignKeyRequestBody(ForeignKeyRequestBody template) Copy/clone constructor. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn comparison result based on the content of the properties.org.odpi.openmetadata.frameworks.openmetadata.properties.schema.ForeignKeyPropertiesReturn the properties for the relationship.inthashCode()Return hash code for this objectvoidsetProperties(org.odpi.openmetadata.frameworks.openmetadata.properties.schema.ForeignKeyProperties properties) Set up the properties for the relationship.toString()JSON-style toStringMethods inherited from class org.odpi.openmetadata.accessservices.assetmanager.rest.EffectiveTimeQueryRequestBody
getEffectiveTime, setEffectiveTimeMethods inherited from class org.odpi.openmetadata.accessservices.assetmanager.rest.AssetManagerIdentifiersRequestBody
getAssetManagerGUID, getAssetManagerName, setAssetManagerGUID, setAssetManagerName
-
Constructor Details
-
ForeignKeyRequestBody
public ForeignKeyRequestBody()Default constructor -
ForeignKeyRequestBody
Copy/clone constructor.- Parameters:
template- object to copy
-
-
Method Details
-
getProperties
public org.odpi.openmetadata.frameworks.openmetadata.properties.schema.ForeignKeyProperties getProperties()Return the properties for the relationship.- Returns:
- properties object
-
setProperties
public void setProperties(org.odpi.openmetadata.frameworks.openmetadata.properties.schema.ForeignKeyProperties properties) Set up the properties for the relationship.- Parameters:
properties- properties object
-
toString
JSON-style toString- Overrides:
toStringin classEffectiveTimeQueryRequestBody- Returns:
- return string containing the property names and values
-
equals
Return comparison result based on the content of the properties.- Overrides:
equalsin classEffectiveTimeQueryRequestBody- Parameters:
objectToCompare- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCodein classEffectiveTimeQueryRequestBody- Returns:
- int hash code
-