|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.org.usurper.model.HandledConstructorArg
public class HandledConstructorArg
The Class HandledConstructorArg is an immutable value object containing all the necessary elements for the handling of a precise constructor argument of an usurped object.
| Constructor Summary | |
|---|---|
HandledConstructorArg(java.lang.reflect.Constructor<?> targetConstructor,
java.lang.Class<?> constructorArgClass,
java.lang.Integer constructorArgOrderingNumber,
IUsurperGeneratorSetup usurperGeneratorSetup)
This constructor creates the HandledConstructorArg |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.Class<?> |
getConstructorArgClass()
Gets the class of the constructor arg to be handled. |
java.lang.Integer |
getConstructorArgOrderingNumber()
Gets the constructor arg ordering number. |
java.lang.reflect.Constructor<?> |
getTargetConstructor()
Gets the constructor used to create the object. |
IUsurperGeneratorSetup |
getUsurperGeneratorSetup()
Gets the usurper generator setup. |
int |
hashCode()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public HandledConstructorArg(java.lang.reflect.Constructor<?> targetConstructor,
java.lang.Class<?> constructorArgClass,
java.lang.Integer constructorArgOrderingNumber,
IUsurperGeneratorSetup usurperGeneratorSetup)
targetConstructor - the constructor object for the object to be created (can be useful to handle relations between arguments).constructorArgClass - the class of the constructor arg to generate.constructorArgOrderingNumber - the constructor arg ordering numberusurperGeneratorSetup - the usurper generator setup| Method Detail |
|---|
public java.lang.reflect.Constructor<?> getTargetConstructor()
public java.lang.Class<?> getConstructorArgClass()
public java.lang.Integer getConstructorArgOrderingNumber()
public IUsurperGeneratorSetup getUsurperGeneratorSetup()
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||