Class TypeDefChangeRequest
java.lang.Object
org.odpi.openmetadata.repositoryservices.rest.properties.OMRSAPIRequest
org.odpi.openmetadata.repositoryservices.rest.properties.TypeDefChangeRequest
- All Implemented Interfaces:
Serializable
TypeDefChangeRequest carries details of the old and new TypeDef used to re-type an instance.
- See Also:
-
Constructor Summary
ConstructorDescriptionDefault constructorTypeDefChangeRequest
(TypeDefChangeRequest template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Compare the values of the supplied object with those stored in the current object.Return the current type.Return the new type.int
hashCode()
Create a hash code for this element type.void
setCurrentTypeDef
(TypeDefSummary currentTypeDef) Set up the current typevoid
setNewTypeDef
(TypeDefSummary newTypeDef) Set up the new type.toString()
Standard toString method.
-
Constructor Details
-
TypeDefChangeRequest
public TypeDefChangeRequest()Default constructor -
TypeDefChangeRequest
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getCurrentTypeDef
Return the current type.- Returns:
- TypeDef summary
-
setCurrentTypeDef
Set up the current type- Parameters:
currentTypeDef
- TypeDef summary
-
getNewTypeDef
Return the new type.- Returns:
- TypeDef summary
-
setNewTypeDef
Set up the new type.- Parameters:
newTypeDef
- TypeDef summary
-
toString
Standard toString method. -
equals
Compare the values of the supplied object with those stored in the current object. -
hashCode
public int hashCode()Create a hash code for this element type.
-