Package org.apache.gravitino.model
Class ModelVersionChange.AddUri
java.lang.Object
org.apache.gravitino.model.ModelVersionChange.AddUri
- All Implemented Interfaces:
ModelVersionChange
- Enclosing interface:
- ModelVersionChange
A ModelVersionChange to add 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.AddUri
instance with the specified uri and uri name. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Compares this AddUri instance with another object for equality.int
hashCode()
Generates a hash code for this AddUri instance.toString()
Provides a string representation of the AddUri instance.uri()
Returns the uri to be added for the model version.uriName()
Returns the name of the uri to be added for the model version.
-
Constructor Details
-
AddUri
Creates a newModelVersionChange.AddUri
instance with the specified uri and uri name.- Parameters:
uriName
- The name of the uri to be added.uri
- The uri to be added for the model version.
-
-
Method Details
-
uri
Returns the uri to be added for the model version.- Returns:
- The uri to be added for the model version.
-
uriName
Returns the name of the uri to be added for the model version.- Returns:
- The name of the uri to be added for the model version.
-
equals
Compares this AddUri instance with another object for equality. The comparison is based on the uri and its name of the model version. -
hashCode
public int hashCode()Generates a hash code for this AddUri instance. The hash code is based on the uri and its name of the model. -
toString
Provides a string representation of the AddUri instance. This string format includes the class name followed by the uri and its name to be added.
-