Hi all,
just a short reminder that this issue has not been solved. I still apply two
patches, one for SerializableType (adding the type info) and one for
EntityPropertyInstance to prevent the null proxy.
regards,
phil
Niclas Hedhman wrote:
>
> You are probably right and we are not talking abo
You are probably right and we are not talking about the same thing. I'll try
to peek at it when I am a computer tomorrow...
-- Niclas
On Aug 31, 2009 6:26 PM, "philippe van dyck" wrote:
Thanks you for this 'inner workings' overview, very instructive, but I am
not sure we are talking about the
Thanks you for this 'inner workings' overview, very instructive, but
I am not sure we are talking about the same thing.
It is about calling some VC Properties set methods *from inside* a
composite (very probable case) and getting the VC proxy nullified when
it leaves the confines of the co
I am not at the computer atm, but if you are talking about getting rid of
dereference(), then I think you are out of luck, although it may look like
working in simple tests.
Why?
Qi4j Runtime constructs an invocation stack for each method in a composite.
There is a Proxy at the top which represen
Correction...
public void set(T aNewValue) {
if (isImmutable()) {
throw new IllegalStateException("Property [" +
qualifiedName()
+ "] is immutable");
}
if (constraints != null) {
Rickard,
IMHO, this kind od rare occasions will have a deep impact on the Qi4j
learning curve.
I really favor a change in EntityPropertyInstance :
public void set(T aNewValue) {
if (isImmutable()) {
throw new IllegalStateException("Property [" +
philippe van dyck wrote:
And I cannot JSonize a proxy a null ValueComposite... Is this an
isolated problem ?
What did I miss ?
This is one of the rare occasions where you need to use a workaround to
convert the modifier proxy to a real proxy. We have not been able to
figure out a way to do
Hi all,
I tested (just for the fun) VC+type info JSonization in
SerializableType like this :
public void toJSON( Object value, JSONWriter json ) throws
JSONException
{
...
else if( value instanceof ValueComposite )
{
// Serialize ValueComposite JSON
8 matches
Mail list logo