public static final class ModelVersionChange.UpdateAliases extends java.lang.Object implements ModelVersionChange
Both alias sets are stored as immutable.
ModelVersionChange.RemoveProperty, ModelVersionChange.SetProperty, ModelVersionChange.UpdateAliases, ModelVersionChange.UpdateComment, ModelVersionChange.UpdateUriCOMMA_JOINER| Constructor and Description | 
|---|
UpdateAliases(java.util.List<java.lang.String> aliasesToAdd,
             java.util.List<java.lang.String> aliasesToRemove)
Constructs a new aliases-update operation, specifying the aliases to add and remove. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
java.util.Set<java.lang.String> | 
aliasesToAdd()
Returns the set of aliases to add. 
 | 
java.util.Set<java.lang.String> | 
aliasesToRemove()
Returns the set of aliases to remove. 
 | 
boolean | 
equals(java.lang.Object o)
Compares this UpdateAlias instance with another object for equality. 
 | 
int | 
hashCode()
Generates a hash code for this UpdateAlias instance. 
 | 
java.lang.String | 
toString()
Provides a string representation of the UpdateAlias instance. 
 | 
clone, finalize, getClass, notify, notifyAll, wait, wait, waitremoveProperty, setProperty, updateAliases, updateComment, updateUripublic UpdateAliases(java.util.List<java.lang.String> aliasesToAdd,
                     java.util.List<java.lang.String> aliasesToRemove)
aliasesToAdd - the aliases to add, or null for nonealiasesToRemove - the aliases to remove, or null for nonepublic java.util.Set<java.lang.String> aliasesToAdd()
public java.util.Set<java.lang.String> aliasesToRemove()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objecto - The object to compare with this instance.true if the given object represents the same model update operation; false otherwise.public int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object