Package org.apache.gravitino.model
Class ModelVersionChange.RemoveUri
java.lang.Object
org.apache.gravitino.model.ModelVersionChange.RemoveUri
- All Implemented Interfaces:
ModelVersionChange
- Enclosing interface:
- ModelVersionChange
A ModelVersionChange to remove a uri of a model version.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.gravitino.model.ModelVersionChange
ModelVersionChange.AddUri, ModelVersionChange.RemoveProperty, ModelVersionChange.RemoveUri, ModelVersionChange.SetProperty, ModelVersionChange.UpdateAliases, ModelVersionChange.UpdateComment, ModelVersionChange.UpdateUri
-
Field Summary
Fields inherited from interface org.apache.gravitino.model.ModelVersionChange
COMMA_JOINER
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a newModelVersionChange.RemoveUri
instance with the specified uri name. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Compares this RemoveUri instance with another object for equality.int
hashCode()
Generates a hash code for this RemoveUri instance.toString()
Provides a string representation of the RemoveUri instance.uriName()
Returns the name of the uri to be removed for the model version.
-
Constructor Details
-
RemoveUri
Creates a newModelVersionChange.RemoveUri
instance with the specified uri name.- Parameters:
uriName
- The name of the uri to be removed.
-
-
Method Details
-
uriName
Returns the name of the uri to be removed for the model version.- Returns:
- The name of the uri to be removed for the model version.
-
equals
Compares this RemoveUri instance with another object for equality. The comparison is based on the uri name of the model version. -
hashCode
public int hashCode()Generates a hash code for this RemoveUri instance. The hash code is based on the uri and its name of the model. -
toString
Provides a string representation of the RemoveUri instance. This string format includes the class name followed by the uri name to be removed.
-