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
public class PrimaryKeyClassificationRequestBody extends EffectiveTimeQueryRequestBody
PrimaryKeyClassificationRequestBody is used to classify a schema attribute as a primary key.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PrimaryKeyClassificationRequestBody()Default constructorPrimaryKeyClassificationRequestBody(PrimaryKeyClassificationRequestBody template)Copy/clone constructor for a primary key.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Compare the values of the supplied object with those stored in the current object.PrimaryKeyPropertiesgetPrimaryKeyProperties()Return the properties associated with the primary key.inthashCode()Return has code based on properties.voidsetPrimaryKeyProperties(PrimaryKeyProperties primaryKeyProperties)Set up the properties associated with the primary key.StringtoString()Standard toString method.-
Methods inherited from class org.odpi.openmetadata.accessservices.assetmanager.rest.EffectiveTimeQueryRequestBody
getEffectiveTime, setEffectiveTime
-
Methods inherited from class org.odpi.openmetadata.accessservices.assetmanager.rest.AssetManagerIdentifiersRequestBody
getAssetManagerGUID, getAssetManagerName, setAssetManagerGUID, setAssetManagerName
-
-
-
-
Constructor Detail
-
PrimaryKeyClassificationRequestBody
public PrimaryKeyClassificationRequestBody()
Default constructor
-
PrimaryKeyClassificationRequestBody
public PrimaryKeyClassificationRequestBody(PrimaryKeyClassificationRequestBody template)
Copy/clone constructor for a primary key.- Parameters:
template- template object to copy.
-
-
Method Detail
-
getPrimaryKeyProperties
public PrimaryKeyProperties getPrimaryKeyProperties()
Return the properties associated with the primary key.- Returns:
- properties
-
setPrimaryKeyProperties
public void setPrimaryKeyProperties(PrimaryKeyProperties primaryKeyProperties)
Set up the properties associated with the primary key.- Parameters:
primaryKeyProperties- properties
-
toString
public String toString()
Standard toString method.- Overrides:
toStringin classEffectiveTimeQueryRequestBody- Returns:
- print out of variables in a JSON-style
-
equals
public boolean equals(Object objectToCompare)
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 has code based on properties.- Overrides:
hashCodein classEffectiveTimeQueryRequestBody- Returns:
- int
-
-