public class ModelField extends Object implements Serializable
| Constructor and Description |
|---|
ModelField(String name) |
public ModelField(String name)
public ClientToServer getClientToServer()
public ModelField setClientToServer(ClientToServer clientToServer)
clientToServer - the clientToServer to setpublic Key getKey()
public ModelField setKey(Key key)
key - the key to setpublic String getName()
public ServerToClient getServerToClient()
public ModelField setServerToClient(ServerToClient serverToClient)
serverToClient - the serverToClient to setpublic Serializable getSerializable()
public ModelField setSerializable(Serializable serializable)
serializable - the serializable to setpublic Persistent getPersistent()
public ModelField setPersistent(Persistent persistent)
persistent - the persistent to setpublic String getType()
public void setType(String type)
type - the type to setpublic xapi.dev.model.ModelField.GetterMethod addGetter(IsType returns, String propertyName, String methodName, Annotation[] annotations)
public xapi.dev.model.ModelField.SetterMethod addSetter(IsType returns, String propertyName, String methodName, Annotation[] annotations, IsType[] parameters)
public void addAction(IsType returns, String propertyName, String methodName, Annotation[] annotations, IsType[] parameters)
public Iterable<xapi.dev.model.ModelField.GetterMethod> getGetters()
public Iterable<xapi.dev.model.ModelField.SetterMethod> getSetters()
public Iterable<xapi.dev.model.ModelField.ActionMethod> getActions()
public boolean isC2sEnabled()
public boolean isS2cEnabled()
public boolean isC2sEncrypted()
public boolean isS2cEncrypted()
public boolean isObfuscated()
public SerializationStrategy getC2sSerializer()
public SerializationStrategy getS2cSerializer()
public PersistenceStrategy getPersistenceStrategy()
public Class<? extends ValidatesValue<?>>[] getValidators()
Copyright © December 07, 2012–2015 The Internet Party. All rights reserved.