EntityInfo

public class EntityInfo

The EntityInfo class contains base information about the given entity, like its class name or infrastructure class names.

See also: org.motechproject.mds.service.JarGeneratorService

Methods

entitiesWithAnyCRUDAction

public static Collection<EntityInfo> entitiesWithAnyCRUDAction(Collection<EntityInfo> entityInfos)

getClassName

public String getClassName()

getEntityName

public String getEntityName()

getFieldsInfo

public List<FieldInfo> getFieldsInfo()

getInfrastructure

public String[] getInfrastructure()

getInterfaceName

public String getInterfaceName()

getModule

public String getModule()

getName

public String getName()

getNamespace

public String getNamespace()

getNonAutoFieldInfos

public List<FieldInfo> getNonAutoFieldInfos()

getRepository

public String getRepository()

getRestFieldInfos

public List<FieldInfo> getRestFieldInfos()

getRestId

public String getRestId()

getServiceName

public String getServiceName()

isCreateEventFired

public boolean isCreateEventFired()

isDeleteEventFired

public boolean isDeleteEventFired()

isRestCreateEnabled

public boolean isRestCreateEnabled()

isRestDeleteEnabled

public boolean isRestDeleteEnabled()

isRestReadEnabled

public boolean isRestReadEnabled()

isRestUpdateEnabled

public boolean isRestUpdateEnabled()

isUpdateEventFired

public boolean isUpdateEventFired()

setClassName

public void setClassName(String className)

setCreateEventFired

public void setCreateEventFired(boolean createEventFired)

setDeleteEventFired

public void setDeleteEventFired(boolean deleteEventFired)

setEntityName

public void setEntityName(String entityName)

setFieldsInfo

public void setFieldsInfo(List<FieldInfo> fieldsInfo)

setInterfaceName

public void setInterfaceName(String interfaceName)

setModule

public void setModule(String module)

setNamespace

public void setNamespace(String namespace)

setRepository

public void setRepository(String repository)

setRestCreateEnabled

public void setRestCreateEnabled(boolean restCreateEnabled)

setRestDeleteEnabled

public void setRestDeleteEnabled(boolean restDeleteEnabled)

setRestReadEnabled

public void setRestReadEnabled(boolean restReadEnabled)

setRestUpdateEnabled

public void setRestUpdateEnabled(boolean restUpdateEnabled)

setServiceName

public void setServiceName(String serviceName)

setUpdateEventFired

public void setUpdateEventFired(boolean updateEventFired)

supportAnyRestAccess

public boolean supportAnyRestAccess()