public class ModelField extends Object
| Constructor and Description |
|---|
ModelField(String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAction(xapi.source.api.IsType returns,
String methodName,
xapi.source.api.IsType[] parameters) |
xapi.dev.model.ModelField.GetterMethod |
addGetter(xapi.source.api.IsType returns,
String methodName) |
xapi.dev.model.ModelField.SetterMethod |
addSetter(xapi.source.api.IsType returns,
String methodName,
xapi.source.api.IsType[] parameters) |
boolean |
equals(Object obj) |
xapi.annotation.model.ClientToServer |
getClientToServer() |
Iterable<xapi.dev.model.ModelField.GetterMethod> |
getGetters() |
xapi.annotation.model.Key |
getKey() |
String |
getName() |
xapi.annotation.model.Persistent |
getPersistent() |
xapi.annotation.model.Serializable |
getSerializable() |
xapi.annotation.model.ServerToClient |
getServerToClient() |
String |
getType() |
int |
hashCode() |
boolean |
isListType() |
boolean |
isMapType() |
boolean |
isPublicAdder() |
boolean |
isPublicClear() |
boolean |
isPublicRemover() |
boolean |
isPublicSetter() |
ModelField |
setClientToServer(xapi.annotation.model.ClientToServer clientToServer) |
ModelField |
setKey(xapi.annotation.model.Key key) |
ModelField |
setListType(boolean listType) |
ModelField |
setMapType(boolean mapType) |
ModelField |
setPersistent(xapi.annotation.model.Persistent persistent) |
ModelField |
setPublicAdder(boolean publicAdder) |
ModelField |
setPublicClear(boolean publicClear) |
ModelField |
setPublicRemover(boolean publicRemover) |
ModelField |
setPublicSetter(boolean publicSetter) |
ModelField |
setSerializable(xapi.annotation.model.Serializable serializable) |
ModelField |
setServerToClient(xapi.annotation.model.ServerToClient serverToClient) |
void |
setType(String type) |
public ModelField(String name)
public xapi.annotation.model.ClientToServer getClientToServer()
public ModelField setClientToServer(xapi.annotation.model.ClientToServer clientToServer)
clientToServer - the clientToServer to setpublic xapi.annotation.model.Key getKey()
public ModelField setKey(xapi.annotation.model.Key key)
key - the key to setpublic String getName()
public xapi.annotation.model.ServerToClient getServerToClient()
public ModelField setServerToClient(xapi.annotation.model.ServerToClient serverToClient)
serverToClient - the serverToClient to setpublic xapi.annotation.model.Serializable getSerializable()
public ModelField setSerializable(xapi.annotation.model.Serializable serializable)
serializable - the serializable to setpublic xapi.annotation.model.Persistent getPersistent()
public ModelField setPersistent(xapi.annotation.model.Persistent persistent)
persistent - the persistent to setpublic boolean isPublicClear()
public ModelField setPublicClear(boolean publicClear)
publicClear - the publicClear to setpublic boolean isPublicRemover()
public ModelField setPublicRemover(boolean publicRemover)
publicRemover - the publicRemover to setpublic boolean isPublicAdder()
public ModelField setPublicAdder(boolean publicAdder)
publicAdder - the publicAdder to setpublic boolean isPublicSetter()
public ModelField setPublicSetter(boolean publicSetter)
publicSetter - the publicSetter to setpublic boolean isMapType()
public ModelField setMapType(boolean mapType)
mapType - the mapType to setpublic boolean isListType()
public ModelField setListType(boolean listType)
listType - the listType to setpublic String getType()
public void setType(String type)
type - the type to setpublic xapi.dev.model.ModelField.GetterMethod addGetter(xapi.source.api.IsType returns,
String methodName)
public xapi.dev.model.ModelField.SetterMethod addSetter(xapi.source.api.IsType returns,
String methodName,
xapi.source.api.IsType[] parameters)
public void addAction(xapi.source.api.IsType returns,
String methodName,
xapi.source.api.IsType[] parameters)
public Iterable<xapi.dev.model.ModelField.GetterMethod> getGetters()
Copyright © 2012-2013 The Internet Party. All Rights Reserved.