Class TypeDefChangeRequest
- java.lang.Object
-
- org.odpi.openmetadata.repositoryservices.rest.properties.OMRSAPIRequest
-
- org.odpi.openmetadata.repositoryservices.rest.properties.TypeDefChangeRequest
-
- All Implemented Interfaces:
Serializable
public class TypeDefChangeRequest extends OMRSAPIRequest
TypeDefChangeRequest carries details of the old and new TypeDef used to re-type an instance.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TypeDefChangeRequest()Default constructorTypeDefChangeRequest(TypeDefChangeRequest template)Copy/clone constructor
-
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.TypeDefSummarygetCurrentTypeDef()Return the current type.TypeDefSummarygetNewTypeDef()Return the new type.inthashCode()Create a hash code for this element type.voidsetCurrentTypeDef(TypeDefSummary currentTypeDef)Set up the current typevoidsetNewTypeDef(TypeDefSummary newTypeDef)Set up the new type.StringtoString()Standard toString method.
-
-
-
Constructor Detail
-
TypeDefChangeRequest
public TypeDefChangeRequest()
Default constructor
-
TypeDefChangeRequest
public TypeDefChangeRequest(TypeDefChangeRequest template)
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
getCurrentTypeDef
public TypeDefSummary getCurrentTypeDef()
Return the current type.- Returns:
- TypeDef summary
-
setCurrentTypeDef
public void setCurrentTypeDef(TypeDefSummary currentTypeDef)
Set up the current type- Parameters:
currentTypeDef- TypeDef summary
-
getNewTypeDef
public TypeDefSummary getNewTypeDef()
Return the new type.- Returns:
- TypeDef summary
-
setNewTypeDef
public void setNewTypeDef(TypeDefSummary newTypeDef)
Set up the new type.- Parameters:
newTypeDef- TypeDef summary
-
toString
public String toString()
Standard toString method.
-
equals
public boolean equals(Object objectToCompare)
Compare the values of the supplied object with those stored in the current object.
-
-