public final class MissingValuePair
extends java.lang.Object
Intended exclusively for use in the context of MissingArgumentException
and NullCheckTools.
| Constructor and Description |
|---|
MissingValuePair(java.lang.String missingArgument,
java.lang.Object dependingObject)
Creates a new pair of missing argument name and depending object.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Object |
getDependingObject()
Returns the enclosing object that requires the argument.
|
java.lang.String |
getMissingArgument()
Returns the name of the missing argument or attribute.
|
int |
hashCode() |
java.lang.String |
toString() |
public MissingValuePair(java.lang.String missingArgument,
java.lang.Object dependingObject)
missingArgument - name of the missing argument or attributedependingObject - the object requiring the argumentpublic java.lang.String getMissingArgument()
public java.lang.Object getDependingObject()
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2000-2026 OAshi S.à r.l. All Rights Reserved.