A B C D E F G H I L M N O P R S U V W 

A

AbstractAssociation - Class in ch.rasc.extclassgenerator.association
Base class for the association objects
AbstractAssociation(String, String) - Constructor for class ch.rasc.extclassgenerator.association.AbstractAssociation
Creates an instance of the AbstractAssociation.
AbstractValidation - Class in ch.rasc.extclassgenerator.validation
Base class for the validation objects
AbstractValidation(String, String) - Constructor for class ch.rasc.extclassgenerator.validation.AbstractValidation
 
addAssociation(AbstractAssociation) - Method in class ch.rasc.extclassgenerator.ModelBean
Adds one instance of AbstractAssociation to the internal collection of associations
addAssociations(List<AbstractAssociation>) - Method in class ch.rasc.extclassgenerator.ModelBean
 
addField(ModelFieldBean) - Method in class ch.rasc.extclassgenerator.ModelBean
Adds one instance of ModelFieldBean to the internal collection of fields
addFields(List<ModelFieldBean>) - Method in class ch.rasc.extclassgenerator.ModelBean
Add all provided fields to the collection of fields
addValidation(AbstractValidation) - Method in class ch.rasc.extclassgenerator.ModelBean
Adds one instance of one of the subclasses of AbstractValidation to the internal collection of validations
addValidations(List<AbstractValidation>) - Method in class ch.rasc.extclassgenerator.ModelBean
 
addValidationToModel(ModelBean, ModelFieldBean, Annotation, IncludeValidation) - Static method in class ch.rasc.extclassgenerator.validation.AbstractValidation
 

B

BelongsToAssociation - Class in ch.rasc.extclassgenerator.association
A belongsTo association
BelongsToAssociation(String) - Constructor for class ch.rasc.extclassgenerator.association.BelongsToAssociation
Creates an instance of a belongsTo association.
BelongsToAssociation(Class<?>) - Constructor for class ch.rasc.extclassgenerator.association.BelongsToAssociation
Creates an instance of a belongsTo association.

C

ch.rasc.extclassgenerator - package ch.rasc.extclassgenerator
 
ch.rasc.extclassgenerator.association - package ch.rasc.extclassgenerator.association
 
ch.rasc.extclassgenerator.validation - package ch.rasc.extclassgenerator.validation
 
clearCaches() - Static method in class ch.rasc.extclassgenerator.ModelGenerator
Clears the model and Javascript code caches
createAssociation(ModelAssociation, ModelBean, Class<?>, Class<?>, String) - Static method in class ch.rasc.extclassgenerator.association.AbstractAssociation
 
createModel(Class<?>) - Static method in class ch.rasc.extclassgenerator.ModelGenerator
Instrospects the provided class and creates a ModelBean instance.
createModel(Class<?>, IncludeValidation) - Static method in class ch.rasc.extclassgenerator.ModelGenerator
Instrospects the provided class and creates a ModelBean instance.
createModel(Class<?>, OutputConfig) - Static method in class ch.rasc.extclassgenerator.ModelGenerator
 
CreditCardNumberValidation - Class in ch.rasc.extclassgenerator.validation
 
CreditCardNumberValidation(String) - Constructor for class ch.rasc.extclassgenerator.validation.CreditCardNumberValidation
 

D

DigitsValidation - Class in ch.rasc.extclassgenerator.validation
 
DigitsValidation(String, int, int) - Constructor for class ch.rasc.extclassgenerator.validation.DigitsValidation
 

E

EmailValidation - Class in ch.rasc.extclassgenerator.validation
 
EmailValidation(String) - Constructor for class ch.rasc.extclassgenerator.validation.EmailValidation
 
equals(Object) - Method in class ch.rasc.extclassgenerator.OutputConfig
 

F

FormatValidation - Class in ch.rasc.extclassgenerator.validation
 
FormatValidation(String, String) - Constructor for class ch.rasc.extclassgenerator.validation.FormatValidation
 
FutureValidation - Class in ch.rasc.extclassgenerator.validation
 
FutureValidation(String) - Constructor for class ch.rasc.extclassgenerator.validation.FutureValidation
 

G

generateJavascript(Class<?>, OutputFormat, boolean) - Static method in class ch.rasc.extclassgenerator.ModelGenerator
Instrospects the provided class, creates a model object (JS code) and returns it.
generateJavascript(Class<?>, OutputConfig) - Static method in class ch.rasc.extclassgenerator.ModelGenerator
 
generateJavascript(Class<?>, OutputFormat, IncludeValidation, boolean) - Static method in class ch.rasc.extclassgenerator.ModelGenerator
Instrospects the provided class, creates a model object (JS code) and returns it.
generateJavascript(ModelBean, OutputFormat, boolean) - Static method in class ch.rasc.extclassgenerator.ModelGenerator
Creates JS code based on the provided ModelBean in the specified OutputFormat.
generateJavascript(ModelBean, OutputConfig) - Static method in class ch.rasc.extclassgenerator.ModelGenerator
 
GenericValidation - Class in ch.rasc.extclassgenerator.validation
 
GenericValidation(String, String, Map<String, Object>) - Constructor for class ch.rasc.extclassgenerator.validation.GenericValidation
 
getAssociationKey() - Method in class ch.rasc.extclassgenerator.association.AbstractAssociation
 
getAssociations() - Method in class ch.rasc.extclassgenerator.ModelBean
 
getAutoLoad() - Method in class ch.rasc.extclassgenerator.association.HasManyAssociation
 
getConvert() - Method in class ch.rasc.extclassgenerator.ModelFieldBean
 
getCreateMethod() - Method in class ch.rasc.extclassgenerator.ModelBean
 
getDateFormat() - Method in class ch.rasc.extclassgenerator.ModelFieldBean
 
getDefaultValue() - Method in class ch.rasc.extclassgenerator.ModelFieldBean
 
getDestroyMethod() - Method in class ch.rasc.extclassgenerator.ModelBean
 
getField(String) - Method in class ch.rasc.extclassgenerator.ModelBean
Looks for the ModelFieldBean with the provided name and returns it.
getField() - Method in class ch.rasc.extclassgenerator.validation.AbstractValidation
 
getFields() - Method in class ch.rasc.extclassgenerator.ModelBean
 
getForeignKey() - Method in class ch.rasc.extclassgenerator.association.AbstractAssociation
 
getFraction() - Method in class ch.rasc.extclassgenerator.validation.DigitsValidation
 
getGetterName() - Method in class ch.rasc.extclassgenerator.association.BelongsToAssociation
 
getGetterName() - Method in class ch.rasc.extclassgenerator.association.HasOneAssociation
 
getIdProperty() - Method in class ch.rasc.extclassgenerator.ModelBean
 
getIncludeValidation() - Method in class ch.rasc.extclassgenerator.OutputConfig
 
getInstanceName() - Method in class ch.rasc.extclassgenerator.association.AbstractAssociation
 
getInteger() - Method in class ch.rasc.extclassgenerator.validation.DigitsValidation
 
getMapping() - Method in class ch.rasc.extclassgenerator.ModelFieldBean
 
getMatcher() - Method in class ch.rasc.extclassgenerator.validation.FormatValidation
 
getMax() - Method in class ch.rasc.extclassgenerator.validation.LengthValidation
 
getMax() - Method in class ch.rasc.extclassgenerator.validation.RangeValidation
 
getMessageProperty() - Method in class ch.rasc.extclassgenerator.ModelBean
 
getMin() - Method in class ch.rasc.extclassgenerator.validation.LengthValidation
 
getMin() - Method in class ch.rasc.extclassgenerator.validation.RangeValidation
 
getModel() - Method in class ch.rasc.extclassgenerator.association.AbstractAssociation
 
getModelName(Class<?>) - Static method in class ch.rasc.extclassgenerator.association.AbstractAssociation
 
getName() - Method in class ch.rasc.extclassgenerator.association.HasManyAssociation
 
getName() - Method in class ch.rasc.extclassgenerator.ModelBean
 
getName() - Method in class ch.rasc.extclassgenerator.ModelFieldBean
 
getOptions() - Method in class ch.rasc.extclassgenerator.validation.GenericValidation
 
getOutputFormat() - Method in class ch.rasc.extclassgenerator.OutputConfig
 
getPersist() - Method in class ch.rasc.extclassgenerator.ModelFieldBean
 
getPrimaryKey() - Method in class ch.rasc.extclassgenerator.association.AbstractAssociation
 
getReadMethod() - Method in class ch.rasc.extclassgenerator.ModelBean
 
getSetterName() - Method in class ch.rasc.extclassgenerator.association.BelongsToAssociation
 
getSetterName() - Method in class ch.rasc.extclassgenerator.association.HasOneAssociation
 
getType() - Method in class ch.rasc.extclassgenerator.association.AbstractAssociation
 
getType() - Method in class ch.rasc.extclassgenerator.ModelFieldBean
 
getType() - Method in class ch.rasc.extclassgenerator.validation.AbstractValidation
 
getUpdateMethod() - Method in class ch.rasc.extclassgenerator.ModelBean
 
getUseNull() - Method in class ch.rasc.extclassgenerator.ModelFieldBean
 
getValidations() - Method in class ch.rasc.extclassgenerator.ModelBean
 
getWriter() - Method in class ch.rasc.extclassgenerator.ModelBean
 

H

hashCode() - Method in class ch.rasc.extclassgenerator.OutputConfig
 
HasManyAssociation - Class in ch.rasc.extclassgenerator.association
A hasMany association
HasManyAssociation(String) - Constructor for class ch.rasc.extclassgenerator.association.HasManyAssociation
Creates an instance of a hasMany association.
HasManyAssociation(Class<?>) - Constructor for class ch.rasc.extclassgenerator.association.HasManyAssociation
Creates an instance of a hasMany association.
HasOneAssociation - Class in ch.rasc.extclassgenerator.association
A hasOne association
HasOneAssociation(String) - Constructor for class ch.rasc.extclassgenerator.association.HasOneAssociation
Creates an instance of a hasOne association.
HasOneAssociation(Class<?>) - Constructor for class ch.rasc.extclassgenerator.association.HasOneAssociation
Creates an instance of a hasOne association.

I

IncludeValidation - Enum in ch.rasc.extclassgenerator
 
isDebug() - Method in class ch.rasc.extclassgenerator.OutputConfig
 
isDisablePagingParameters() - Method in class ch.rasc.extclassgenerator.ModelBean
 
isPaging() - Method in class ch.rasc.extclassgenerator.ModelBean
 
isSurroundApiWithQuotes() - Method in class ch.rasc.extclassgenerator.OutputConfig
 
isUseSingleQuotes() - Method in class ch.rasc.extclassgenerator.OutputConfig
 

L

LengthValidation - Class in ch.rasc.extclassgenerator.validation
 
LengthValidation(String, Integer, Integer) - Constructor for class ch.rasc.extclassgenerator.validation.LengthValidation
 
LengthValidation(String, Long, Long) - Constructor for class ch.rasc.extclassgenerator.validation.LengthValidation
 

M

ModelAnnotationProcessor - Class in ch.rasc.extclassgenerator
 
ModelAnnotationProcessor() - Constructor for class ch.rasc.extclassgenerator.ModelAnnotationProcessor
 
ModelBean - Class in ch.rasc.extclassgenerator
Represents a model.
ModelBean() - Constructor for class ch.rasc.extclassgenerator.ModelBean
 
ModelFieldBean - Class in ch.rasc.extclassgenerator
Represents one field in a ModelBean
ModelFieldBean(String, ModelType) - Constructor for class ch.rasc.extclassgenerator.ModelFieldBean
Creates a new ModelFieldBean with name and type
ModelGenerator - Class in ch.rasc.extclassgenerator
Generator for creating ExtJS and Touch Model objects (JS code) based on a provided class or ModelBean.
ModelGenerator() - Constructor for class ch.rasc.extclassgenerator.ModelGenerator
 

N

NotBlankValidation - Class in ch.rasc.extclassgenerator.validation
 
NotBlankValidation(String) - Constructor for class ch.rasc.extclassgenerator.validation.NotBlankValidation
 

O

OutputConfig - Class in ch.rasc.extclassgenerator
Class to configure the output of the ModelGenerator
OutputConfig() - Constructor for class ch.rasc.extclassgenerator.OutputConfig
 
OutputFormat - Enum in ch.rasc.extclassgenerator
Enumeration of all possible output formats for the model generator.

P

PastValidation - Class in ch.rasc.extclassgenerator.validation
 
PastValidation(String) - Constructor for class ch.rasc.extclassgenerator.validation.PastValidation
 
PresenceValidation - Class in ch.rasc.extclassgenerator.validation
 
PresenceValidation(String) - Constructor for class ch.rasc.extclassgenerator.validation.PresenceValidation
 
process(Set<? extends TypeElement>, RoundEnvironment) - Method in class ch.rasc.extclassgenerator.ModelAnnotationProcessor
 

R

RangeValidation - Class in ch.rasc.extclassgenerator.validation
 
RangeValidation(String, Long, Long) - Constructor for class ch.rasc.extclassgenerator.validation.RangeValidation
 
RangeValidation(String, BigDecimal, BigDecimal) - Constructor for class ch.rasc.extclassgenerator.validation.RangeValidation
 

S

setAssociationKey(String) - Method in class ch.rasc.extclassgenerator.association.AbstractAssociation
The name of the property in the data to read the association from.
setAssociations(List<AbstractAssociation>) - Method in class ch.rasc.extclassgenerator.ModelBean
 
setAutoLoad(Boolean) - Method in class ch.rasc.extclassgenerator.association.HasManyAssociation
True to automatically load the related store from a remote source when instantiated.
setConvert(String) - Method in class ch.rasc.extclassgenerator.ModelFieldBean
function which coerces string values in raw data into the field's type
Typical use for a virtual field
http://localhost/ext4.1/docs/index.html#!/api/Ext.data.Field-cfg-convert Property ' Ext.data.Field.convert' in JS.
setCreateMethod(String) - Method in class ch.rasc.extclassgenerator.ModelBean
Specifies the create method.
setDateFormat(String) - Method in class ch.rasc.extclassgenerator.ModelFieldBean
Specifies format of date.
setDebug(boolean) - Method in class ch.rasc.extclassgenerator.OutputConfig
 
setDefaultValue(Object) - Method in class ch.rasc.extclassgenerator.ModelFieldBean
The default value.
setDestroyMethod(String) - Method in class ch.rasc.extclassgenerator.ModelBean
Specifies the destroy method.
setDisablePagingParameters(boolean) - Method in class ch.rasc.extclassgenerator.ModelBean
If set to true the pageParam, startParam and limitParam option of the proxy will be set to undefined.
setFields(Map<String, ModelFieldBean>) - Method in class ch.rasc.extclassgenerator.ModelBean
Overwrites all field definitions with the provided map.
setForeignKey(String) - Method in class ch.rasc.extclassgenerator.association.AbstractAssociation
The name of the foreign key on the associated model that links it to the owner model.
setGetterName(String) - Method in class ch.rasc.extclassgenerator.association.BelongsToAssociation
The name of the getter function that will be added to the local model's prototype.
setGetterName(String) - Method in class ch.rasc.extclassgenerator.association.HasOneAssociation
The name of the getter function that will be added to the local model's prototype.
setIdProperty(String) - Method in class ch.rasc.extclassgenerator.ModelBean
Name of the id property.
setIncludeValidation(IncludeValidation) - Method in class ch.rasc.extclassgenerator.OutputConfig
 
setInstanceName(String) - Method in class ch.rasc.extclassgenerator.association.AbstractAssociation
 
setMapping(String) - Method in class ch.rasc.extclassgenerator.ModelFieldBean
Typical use for a virtual field to extract field data from the model object
Property 'mapping' in JS.
setMessageProperty(String) - Method in class ch.rasc.extclassgenerator.ModelBean
if set add to reader
setName(String) - Method in class ch.rasc.extclassgenerator.association.HasManyAssociation
The name of the function to create on the owner model to retrieve the child store.
setName(String) - Method in class ch.rasc.extclassgenerator.ModelBean
"Classname" of the model.
setName(String) - Method in class ch.rasc.extclassgenerator.ModelFieldBean
Name of the field.
setOutputFormat(OutputFormat) - Method in class ch.rasc.extclassgenerator.OutputConfig
 
setPaging(boolean) - Method in class ch.rasc.extclassgenerator.ModelBean
If true a reader config with root : 'records' will be added to the model object.
setPersist(Boolean) - Method in class ch.rasc.extclassgenerator.ModelFieldBean
Prevent the value of this field to be serialized or written with Ext.data.writer.Writer
Typical use for a virtual field
Property 'persist' in JS.
setPrimaryKey(String) - Method in class ch.rasc.extclassgenerator.association.AbstractAssociation
The name of the primary key on the associated model.
setReadMethod(String) - Method in class ch.rasc.extclassgenerator.ModelBean
Specifies the read method.
setSetterName(String) - Method in class ch.rasc.extclassgenerator.association.BelongsToAssociation
The name of the setter function that will be added to the local model's prototype.
setSetterName(String) - Method in class ch.rasc.extclassgenerator.association.HasOneAssociation
The name of the setter function that will be added to the local model's prototype.
setSurroundApiWithQuotes(boolean) - Method in class ch.rasc.extclassgenerator.OutputConfig
 
setType(ModelType) - Method in class ch.rasc.extclassgenerator.ModelFieldBean
Type of the field.
setUpdateMethod(String) - Method in class ch.rasc.extclassgenerator.ModelBean
Specifies the update method.
setUseNull(Boolean) - Method in class ch.rasc.extclassgenerator.ModelFieldBean
If true null value is used if value cannot be parsed.
setUseSingleQuotes(boolean) - Method in class ch.rasc.extclassgenerator.OutputConfig
 
setValidations(List<AbstractValidation>) - Method in class ch.rasc.extclassgenerator.ModelBean
 
setWriter(String) - Method in class ch.rasc.extclassgenerator.ModelBean
If set add a writer property to the proxy.

U

UTF8_CHARSET - Static variable in class ch.rasc.extclassgenerator.ModelGenerator
 

V

valueOf(String) - Static method in enum ch.rasc.extclassgenerator.IncludeValidation
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum ch.rasc.extclassgenerator.OutputFormat
Returns the enum constant of this type with the specified name.
values() - Static method in enum ch.rasc.extclassgenerator.IncludeValidation
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum ch.rasc.extclassgenerator.OutputFormat
Returns an array containing the constants of this enum type, in the order they are declared.

W

writeModel(HttpServletRequest, HttpServletResponse, Class<?>, OutputFormat) - Static method in class ch.rasc.extclassgenerator.ModelGenerator
Instrospects the provided class, creates a model object (JS code) and writes it into the response.
writeModel(HttpServletRequest, HttpServletResponse, Class<?>, OutputFormat, boolean) - Static method in class ch.rasc.extclassgenerator.ModelGenerator
Instrospects the provided class, creates a model object (JS code) and writes it into the response.
writeModel(HttpServletRequest, HttpServletResponse, Class<?>, OutputFormat, IncludeValidation, boolean) - Static method in class ch.rasc.extclassgenerator.ModelGenerator
Instrospects the provided class, creates a model object (JS code) and writes it into the response.
writeModel(HttpServletRequest, HttpServletResponse, Class<?>, OutputConfig) - Static method in class ch.rasc.extclassgenerator.ModelGenerator
 
writeModel(HttpServletRequest, HttpServletResponse, ModelBean, OutputFormat) - Static method in class ch.rasc.extclassgenerator.ModelGenerator
Creates a model object (JS code) based on the provided ModelBean and writes it into the response.
writeModel(HttpServletRequest, HttpServletResponse, ModelBean, OutputFormat, boolean) - Static method in class ch.rasc.extclassgenerator.ModelGenerator
Creates a model object (JS code) based on the provided ModelBean and writes it into the response.
writeModel(HttpServletRequest, HttpServletResponse, ModelBean, OutputConfig) - Static method in class ch.rasc.extclassgenerator.ModelGenerator
 
A B C D E F G H I L M N O P R S U V W 

Copyright © 2013-2014. All Rights Reserved.