Class PrimaryKeyClassificationRequestBody
java.lang.Object
org.odpi.openmetadata.accessservices.assetmanager.rest.AssetManagerIdentifiersRequestBody
org.odpi.openmetadata.accessservices.assetmanager.rest.EffectiveTimeQueryRequestBody
org.odpi.openmetadata.accessservices.assetmanager.rest.PrimaryKeyClassificationRequestBody
- All Implemented Interfaces:
Serializable
PrimaryKeyClassificationRequestBody is used to classify a schema attribute as a primary key.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorCopy/clone constructor for a primary key. -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.Return the properties associated with the primary key.inthashCode()Return hash code based on properties.voidsetPrimaryKeyProperties(PrimaryKeyProperties primaryKeyProperties) Set up the properties associated with the primary key.toString()Standard toString method.Methods 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
-
PrimaryKeyClassificationRequestBody
public PrimaryKeyClassificationRequestBody()Default constructor -
PrimaryKeyClassificationRequestBody
Copy/clone constructor for a primary key.- Parameters:
template- template object to copy.
-
-
Method Details
-
getPrimaryKeyProperties
Return the properties associated with the primary key.- Returns:
- properties
-
setPrimaryKeyProperties
Set up the properties associated with the primary key.- Parameters:
primaryKeyProperties- properties
-
toString
Standard toString method.- Overrides:
toStringin classEffectiveTimeQueryRequestBody- Returns:
- print out of variables in a JSON-style
-
equals
Compare the values of the supplied object with those stored in the current object.- Overrides:
equalsin classEffectiveTimeQueryRequestBody- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code based on properties.- Overrides:
hashCodein classEffectiveTimeQueryRequestBody- Returns:
- int
-