Package org.apache.gravitino.model
Class ModelChange.RemoveProperty
java.lang.Object
org.apache.gravitino.model.ModelChange.RemoveProperty
- All Implemented Interfaces:
ModelChange
- Enclosing interface:
- ModelChange
A ModelChange to remove a property from model.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.gravitino.model.ModelChange
ModelChange.RemoveProperty, ModelChange.RenameModel, ModelChange.SetProperty, ModelChange.UpdateComment
-
Constructor Summary
ConstructorsConstructorDescriptionRemoveProperty
(String property) Constructs a newModelChange.RemoveProperty
instance with the specified property name. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Compares this RemoveProperty instance with another object for equality.int
hashCode()
Generates a hash code for this RemoveProperty instance.property()
Retrieves the name of the property to be removed from the model.toString()
Provides a string representation of the RemoveProperty instance.
-
Constructor Details
-
RemoveProperty
Constructs a newModelChange.RemoveProperty
instance with the specified property name.- Parameters:
property
- The name of the property to be removed from the model.
-
-
Method Details
-
property
Retrieves the name of the property to be removed from the model.- Returns:
- The name of the property for removal.
-
equals
Compares this RemoveProperty instance with another object for equality. Two instances are considered equal if they target the same property for removal from the fileset. -
hashCode
public int hashCode()Generates a hash code for this RemoveProperty instance. The hash code is based on the property name that is to be removed from the fileset. -
toString
Provides a string representation of the RemoveProperty instance. This string format includes the class name followed by the property name to be removed.
-