Class PrimaryKeyClassificationRequestBody
java.lang.Object
org.odpi.openmetadata.commonservices.ffdc.rest.ExternalSourceRequestBody
org.odpi.openmetadata.commonservices.ffdc.rest.EffectiveTimeQueryRequestBody
org.odpi.openmetadata.commonservices.ffdc.rest.PrimaryKeyClassificationRequestBody
PrimaryKeyClassificationRequestBody is used to classify a schema attribute as a primary key.
-
Constructor Summary
ConstructorDescriptionDefault constructorCopy/clone constructor for a primary key. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Compare the values of the supplied object with those stored in the current object.Return the properties associated with the primary key.int
hashCode()
Return hash code based on properties.void
setPrimaryKeyProperties
(PrimaryKeyProperties primaryKeyProperties) Set up the properties associated with the primary key.toString()
Standard toString method.Methods inherited from class org.odpi.openmetadata.commonservices.ffdc.rest.EffectiveTimeQueryRequestBody
getEffectiveTime, setEffectiveTime
Methods inherited from class org.odpi.openmetadata.commonservices.ffdc.rest.ExternalSourceRequestBody
getExternalSourceGUID, getExternalSourceName, setExternalSourceGUID, setExternalSourceName
-
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:
toString
in 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:
equals
in classEffectiveTimeQueryRequestBody
- Parameters:
objectToCompare
- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code based on properties.- Overrides:
hashCode
in classEffectiveTimeQueryRequestBody
- Returns:
- int
-