@Documented @Retention(value=RUNTIME) @Target(value={TYPE,METHOD,FIELD}) public @interface ClientToServer
enabled() = false
to strictly disable any fields.
This makes it easy to add client-only fields that can be used on the server,
provided your interface is in a shared lib. If you need to hide client-only
fields, manually call .setProperty(String, Object) on your models.| Modifier and Type | Optional Element and Description |
|---|---|
boolean |
enabled |
boolean |
encrypted |
SerializationStrategy |
serializer |
public abstract SerializationStrategy serializer
public abstract boolean enabled
public abstract boolean encrypted
Copyright © 2012-2013 The Internet Party. All Rights Reserved.