|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectraccoon.core.bean.descriptor.AbsBeanMessages
public abstract class AbsBeanMessages
Contains all the error messages related to the bean analyzer.
Field Summary | |
---|---|
static int |
GET_LENGTH
The length of the "get" string: 3 characters. |
Method Summary | |
---|---|
static java.lang.String |
invalidAdderSignature(java.lang.reflect.Method pAdderMethod)
Generates the invalid adder signature for a collection property message. |
static java.lang.String |
invalidCollectionSignature(java.lang.reflect.Method pGetMethod)
Generates the invalid collection signature message for a getter method. |
static java.lang.String |
invalidMethodDropped(java.lang.reflect.Method pMethod,
java.lang.String pReason)
Builds the log message to indicate a method that has been dropped. |
static java.lang.String |
invalidNumberOfParameters(java.lang.reflect.Method pMethod,
java.lang.String pExpectedNumber)
Generates an error message indicating a wrong number of parameters. |
static java.lang.String |
invalidPropertySignature(java.lang.reflect.Method pSetter,
java.lang.reflect.Method pGetter)
Generates the error message related to an invalid property signature. |
static java.lang.String |
notCollectionProperty()
Generates the message indicating that this isn't a collection property. |
static java.lang.String |
propertyWriteError(java.lang.reflect.Method pMutator,
java.lang.Object pInstance,
java.lang.Object pData)
Generates the error message associated to a failure of property write access. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int GET_LENGTH
Method Detail |
---|
public static java.lang.String notCollectionProperty()
public static java.lang.String invalidNumberOfParameters(java.lang.reflect.Method pMethod, java.lang.String pExpectedNumber)
pMethod
- the method for which the number of parameters is invalid.pExpectedNumber
- the expected number of parameters.
public static java.lang.String invalidPropertySignature(java.lang.reflect.Method pSetter, java.lang.reflect.Method pGetter)
pSetter
- the setter methodpGetter
- the getter method
public static java.lang.String propertyWriteError(java.lang.reflect.Method pMutator, java.lang.Object pInstance, java.lang.Object pData)
pMutator
- the mutator of the property that was invoked.pInstance
- the object instance related to the mutator.pData
- the value of the new property.
public static java.lang.String invalidAdderSignature(java.lang.reflect.Method pAdderMethod)
pAdderMethod
- the adder method that is invalid.
public static java.lang.String invalidCollectionSignature(java.lang.reflect.Method pGetMethod)
pGetMethod
- the getter that has an invalid signature method.
public static java.lang.String invalidMethodDropped(java.lang.reflect.Method pMethod, java.lang.String pReason)
pMethod
- the method that is ignored.pReason
- the reason for which the method
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |