diff --git a/src/package.xml b/src/package.xml index 4b5582e..8176ea1 100644 --- a/src/package.xml +++ b/src/package.xml @@ -1,6 +1,6 @@ - + diff --git a/test/DataTablesTest.mpr b/test/DataTablesTest.mpr index b9f74da..191c986 100644 Binary files a/test/DataTablesTest.mpr and b/test/DataTablesTest.mpr differ diff --git a/test/javasource/datatablestestmodule/proxies/BooleanFilter.java b/test/javasource/datatablestestmodule/proxies/BooleanFilter.java deleted file mode 100644 index dbf199e..0000000 --- a/test/javasource/datatablestestmodule/proxies/BooleanFilter.java +++ /dev/null @@ -1,32 +0,0 @@ -// This file was generated by Mendix Modeler. -// -// WARNING: Code you write here will be lost the next time you deploy the project. - -package datatablestestmodule.proxies; - -public enum BooleanFilter -{ - t(new java.lang.String[][] { new java.lang.String[] { "en_US", "Yes" }, new java.lang.String[] { "nl_NL", "Ja" } }), - f(new java.lang.String[][] { new java.lang.String[] { "en_US", "No" }, new java.lang.String[] { "nl_NL", "Nee" } }); - - private java.util.Map captions; - - private BooleanFilter(java.lang.String[][] captionStrings) - { - this.captions = new java.util.HashMap(); - for (java.lang.String[] captionString : captionStrings) - captions.put(captionString[0], captionString[1]); - } - - public java.lang.String getCaption(java.lang.String languageCode) - { - if (captions.containsKey(languageCode)) - return captions.get(languageCode); - return captions.get("en_US"); - } - - public java.lang.String getCaption() - { - return captions.get("en_US"); - } -} diff --git a/test/javasource/datatablestestmodule/proxies/Color.java b/test/javasource/datatablestestmodule/proxies/Color.java deleted file mode 100644 index acfff98..0000000 --- a/test/javasource/datatablestestmodule/proxies/Color.java +++ /dev/null @@ -1,33 +0,0 @@ -// This file was generated by Mendix Modeler. -// -// WARNING: Code you write here will be lost the next time you deploy the project. - -package datatablestestmodule.proxies; - -public enum Color -{ - Green(new java.lang.String[][] { new java.lang.String[] { "en_US", "Green" } }), - Yellow(new java.lang.String[][] { new java.lang.String[] { "en_US", "Yellow" } }), - Red(new java.lang.String[][] { new java.lang.String[] { "en_US", "Red" } }); - - private java.util.Map captions; - - private Color(java.lang.String[][] captionStrings) - { - this.captions = new java.util.HashMap(); - for (java.lang.String[] captionString : captionStrings) - captions.put(captionString[0], captionString[1]); - } - - public java.lang.String getCaption(java.lang.String languageCode) - { - if (captions.containsKey(languageCode)) - return captions.get(languageCode); - return captions.get("en_US"); - } - - public java.lang.String getCaption() - { - return captions.get("en_US"); - } -} diff --git a/test/javasource/datatablestestmodule/proxies/Country.java b/test/javasource/datatablestestmodule/proxies/Country.java deleted file mode 100644 index ccb8f1f..0000000 --- a/test/javasource/datatablestestmodule/proxies/Country.java +++ /dev/null @@ -1,288 +0,0 @@ -// This file was generated by Mendix Modeler. -// -// WARNING: Code you write here will be lost the next time you deploy the project. - -package datatablestestmodule.proxies; - -public class Country -{ - private final com.mendix.systemwideinterfaces.core.IMendixObject countryMendixObject; - - private final com.mendix.systemwideinterfaces.core.IContext context; - - /** - * Internal name of this entity - */ - public static final java.lang.String entityName = "DataTablesTestModule.Country"; - - /** - * Enum describing members of this entity - */ - public enum MemberNames - { - Code("Code"), - Name("Name"), - Country_Language("DataTablesTestModule.Country_Language"); - - private java.lang.String metaName; - - MemberNames(java.lang.String s) - { - metaName = s; - } - - @Override - public java.lang.String toString() - { - return metaName; - } - } - - public Country(com.mendix.systemwideinterfaces.core.IContext context) - { - this(context, com.mendix.core.Core.instantiate(context, "DataTablesTestModule.Country")); - } - - protected Country(com.mendix.systemwideinterfaces.core.IContext context, com.mendix.systemwideinterfaces.core.IMendixObject countryMendixObject) - { - if (countryMendixObject == null) - throw new java.lang.IllegalArgumentException("The given object cannot be null."); - if (!com.mendix.core.Core.isSubClassOf("DataTablesTestModule.Country", countryMendixObject.getType())) - throw new java.lang.IllegalArgumentException("The given object is not a DataTablesTestModule.Country"); - - this.countryMendixObject = countryMendixObject; - this.context = context; - } - - /** - * @deprecated Use 'Country.load(IContext, IMendixIdentifier)' instead. - */ - @Deprecated - public static datatablestestmodule.proxies.Country initialize(com.mendix.systemwideinterfaces.core.IContext context, com.mendix.systemwideinterfaces.core.IMendixIdentifier mendixIdentifier) throws com.mendix.core.CoreException - { - return datatablestestmodule.proxies.Country.load(context, mendixIdentifier); - } - - /** - * Initialize a proxy using context (recommended). This context will be used for security checking when the get- and set-methods without context parameters are called. - * The get- and set-methods with context parameter should be used when for instance sudo access is necessary (IContext.getSudoContext() can be used to obtain sudo access). - */ - public static datatablestestmodule.proxies.Country initialize(com.mendix.systemwideinterfaces.core.IContext context, com.mendix.systemwideinterfaces.core.IMendixObject mendixObject) - { - return new datatablestestmodule.proxies.Country(context, mendixObject); - } - - public static datatablestestmodule.proxies.Country load(com.mendix.systemwideinterfaces.core.IContext context, com.mendix.systemwideinterfaces.core.IMendixIdentifier mendixIdentifier) throws com.mendix.core.CoreException - { - com.mendix.systemwideinterfaces.core.IMendixObject mendixObject = com.mendix.core.Core.retrieveId(context, mendixIdentifier); - return datatablestestmodule.proxies.Country.initialize(context, mendixObject); - } - - public static java.util.List load(com.mendix.systemwideinterfaces.core.IContext context, java.lang.String xpathConstraint) throws com.mendix.core.CoreException - { - java.util.List result = new java.util.ArrayList(); - for (com.mendix.systemwideinterfaces.core.IMendixObject obj : com.mendix.core.Core.retrieveXPathQuery(context, "//DataTablesTestModule.Country" + xpathConstraint)) - result.add(datatablestestmodule.proxies.Country.initialize(context, obj)); - return result; - } - - /** - * Commit the changes made on this proxy object. - */ - public final void commit() throws com.mendix.core.CoreException - { - com.mendix.core.Core.commit(context, getMendixObject()); - } - - /** - * Commit the changes made on this proxy object using the specified context. - */ - public final void commit(com.mendix.systemwideinterfaces.core.IContext context) throws com.mendix.core.CoreException - { - com.mendix.core.Core.commit(context, getMendixObject()); - } - - /** - * Delete the object. - */ - public final void delete() - { - com.mendix.core.Core.delete(context, getMendixObject()); - } - - /** - * Delete the object using the specified context. - */ - public final void delete(com.mendix.systemwideinterfaces.core.IContext context) - { - com.mendix.core.Core.delete(context, getMendixObject()); - } - /** - * @return value of Code - */ - public final java.lang.String getCode() - { - return getCode(getContext()); - } - - /** - * @param context - * @return value of Code - */ - public final java.lang.String getCode(com.mendix.systemwideinterfaces.core.IContext context) - { - return (java.lang.String) getMendixObject().getValue(context, MemberNames.Code.toString()); - } - - /** - * Set value of Code - * @param code - */ - public final void setCode(java.lang.String code) - { - setCode(getContext(), code); - } - - /** - * Set value of Code - * @param context - * @param code - */ - public final void setCode(com.mendix.systemwideinterfaces.core.IContext context, java.lang.String code) - { - getMendixObject().setValue(context, MemberNames.Code.toString(), code); - } - - /** - * @return value of Name - */ - public final java.lang.String getName() - { - return getName(getContext()); - } - - /** - * @param context - * @return value of Name - */ - public final java.lang.String getName(com.mendix.systemwideinterfaces.core.IContext context) - { - return (java.lang.String) getMendixObject().getValue(context, MemberNames.Name.toString()); - } - - /** - * Set value of Name - * @param name - */ - public final void setName(java.lang.String name) - { - setName(getContext(), name); - } - - /** - * Set value of Name - * @param context - * @param name - */ - public final void setName(com.mendix.systemwideinterfaces.core.IContext context, java.lang.String name) - { - getMendixObject().setValue(context, MemberNames.Name.toString(), name); - } - - /** - * @return value of Country_Language - */ - public final system.proxies.Language getCountry_Language() throws com.mendix.core.CoreException - { - return getCountry_Language(getContext()); - } - - /** - * @param context - * @return value of Country_Language - */ - public final system.proxies.Language getCountry_Language(com.mendix.systemwideinterfaces.core.IContext context) throws com.mendix.core.CoreException - { - system.proxies.Language result = null; - com.mendix.systemwideinterfaces.core.IMendixIdentifier identifier = getMendixObject().getValue(context, MemberNames.Country_Language.toString()); - if (identifier != null) - result = system.proxies.Language.load(context, identifier); - return result; - } - - /** - * Set value of Country_Language - * @param country_language - */ - public final void setCountry_Language(system.proxies.Language country_language) - { - setCountry_Language(getContext(), country_language); - } - - /** - * Set value of Country_Language - * @param context - * @param country_language - */ - public final void setCountry_Language(com.mendix.systemwideinterfaces.core.IContext context, system.proxies.Language country_language) - { - if (country_language == null) - getMendixObject().setValue(context, MemberNames.Country_Language.toString(), null); - else - getMendixObject().setValue(context, MemberNames.Country_Language.toString(), country_language.getMendixObject().getId()); - } - - /** - * @return the IMendixObject instance of this proxy for use in the Core interface. - */ - public final com.mendix.systemwideinterfaces.core.IMendixObject getMendixObject() - { - return countryMendixObject; - } - - /** - * @return the IContext instance of this proxy, or null if no IContext instance was specified at initialization. - */ - public final com.mendix.systemwideinterfaces.core.IContext getContext() - { - return context; - } - - @Override - public boolean equals(Object obj) - { - if (obj == this) - return true; - - if (obj != null && getClass().equals(obj.getClass())) - { - final datatablestestmodule.proxies.Country that = (datatablestestmodule.proxies.Country) obj; - return getMendixObject().equals(that.getMendixObject()); - } - return false; - } - - @Override - public int hashCode() - { - return getMendixObject().hashCode(); - } - - /** - * @return String name of this class - */ - public static java.lang.String getType() - { - return "DataTablesTestModule.Country"; - } - - /** - * @return String GUID from this object, format: ID_0000000000 - * @deprecated Use getMendixObject().getId().toLong() to get a unique identifier for this object. - */ - @Deprecated - public java.lang.String getGUID() - { - return "ID_" + getMendixObject().getId().toLong(); - } -} diff --git a/test/javasource/datatablestestmodule/proxies/DataTableContextEntity.java b/test/javasource/datatablestestmodule/proxies/DataTableContextEntity.java deleted file mode 100644 index d51eced..0000000 --- a/test/javasource/datatablestestmodule/proxies/DataTableContextEntity.java +++ /dev/null @@ -1,868 +0,0 @@ -// This file was generated by Mendix Modeler. -// -// WARNING: Code you write here will be lost the next time you deploy the project. - -package datatablestestmodule.proxies; - -/** - * The context entity for the data table. Contains the configuration of the table. - */ -public class DataTableContextEntity -{ - private final com.mendix.systemwideinterfaces.core.IMendixObject dataTableContextEntityMendixObject; - - private final com.mendix.systemwideinterfaces.core.IContext context; - - /** - * Internal name of this entity - */ - public static final java.lang.String entityName = "DataTablesTestModule.DataTableContextEntity"; - - /** - * Enum describing members of this entity - */ - public enum MemberNames - { - RefreshTable("RefreshTable"), - RefreshKeepScrollPos("RefreshKeepScrollPos"), - XPath("XPath"), - Gender("Gender"), - FirstName("FirstName"), - LastName("LastName"), - DateTimeValue("DateTimeValue"), - DateTimeLongValue("DateTimeLongValue"), - Number("Number"), - DateValue("DateValue"), - DecimalValue("DecimalValue"), - BooleanFilter("BooleanFilter"), - CountryCode("CountryCode"), - ExportConfig("ExportConfig"), - ExportXPath("ExportXPath"), - DataTableContextEntity_Person_Current("DataTablesTestModule.DataTableContextEntity_Person_Current"), - DataTableContextEntity_Country("DataTablesTestModule.DataTableContextEntity_Country"), - DataTableContextEntity_Language("DataTablesTestModule.DataTableContextEntity_Language"); - - private java.lang.String metaName; - - MemberNames(java.lang.String s) - { - metaName = s; - } - - @Override - public java.lang.String toString() - { - return metaName; - } - } - - public DataTableContextEntity(com.mendix.systemwideinterfaces.core.IContext context) - { - this(context, com.mendix.core.Core.instantiate(context, "DataTablesTestModule.DataTableContextEntity")); - } - - protected DataTableContextEntity(com.mendix.systemwideinterfaces.core.IContext context, com.mendix.systemwideinterfaces.core.IMendixObject dataTableContextEntityMendixObject) - { - if (dataTableContextEntityMendixObject == null) - throw new java.lang.IllegalArgumentException("The given object cannot be null."); - if (!com.mendix.core.Core.isSubClassOf("DataTablesTestModule.DataTableContextEntity", dataTableContextEntityMendixObject.getType())) - throw new java.lang.IllegalArgumentException("The given object is not a DataTablesTestModule.DataTableContextEntity"); - - this.dataTableContextEntityMendixObject = dataTableContextEntityMendixObject; - this.context = context; - } - - /** - * @deprecated Use 'DataTableContextEntity.load(IContext, IMendixIdentifier)' instead. - */ - @Deprecated - public static datatablestestmodule.proxies.DataTableContextEntity initialize(com.mendix.systemwideinterfaces.core.IContext context, com.mendix.systemwideinterfaces.core.IMendixIdentifier mendixIdentifier) throws com.mendix.core.CoreException - { - return datatablestestmodule.proxies.DataTableContextEntity.load(context, mendixIdentifier); - } - - /** - * Initialize a proxy using context (recommended). This context will be used for security checking when the get- and set-methods without context parameters are called. - * The get- and set-methods with context parameter should be used when for instance sudo access is necessary (IContext.getSudoContext() can be used to obtain sudo access). - */ - public static datatablestestmodule.proxies.DataTableContextEntity initialize(com.mendix.systemwideinterfaces.core.IContext context, com.mendix.systemwideinterfaces.core.IMendixObject mendixObject) - { - return new datatablestestmodule.proxies.DataTableContextEntity(context, mendixObject); - } - - public static datatablestestmodule.proxies.DataTableContextEntity load(com.mendix.systemwideinterfaces.core.IContext context, com.mendix.systemwideinterfaces.core.IMendixIdentifier mendixIdentifier) throws com.mendix.core.CoreException - { - com.mendix.systemwideinterfaces.core.IMendixObject mendixObject = com.mendix.core.Core.retrieveId(context, mendixIdentifier); - return datatablestestmodule.proxies.DataTableContextEntity.initialize(context, mendixObject); - } - - /** - * Commit the changes made on this proxy object. - */ - public final void commit() throws com.mendix.core.CoreException - { - com.mendix.core.Core.commit(context, getMendixObject()); - } - - /** - * Commit the changes made on this proxy object using the specified context. - */ - public final void commit(com.mendix.systemwideinterfaces.core.IContext context) throws com.mendix.core.CoreException - { - com.mendix.core.Core.commit(context, getMendixObject()); - } - - /** - * Delete the object. - */ - public final void delete() - { - com.mendix.core.Core.delete(context, getMendixObject()); - } - - /** - * Delete the object using the specified context. - */ - public final void delete(com.mendix.systemwideinterfaces.core.IContext context) - { - com.mendix.core.Core.delete(context, getMendixObject()); - } - /** - * @return value of RefreshTable - */ - public final java.lang.Boolean getRefreshTable() - { - return getRefreshTable(getContext()); - } - - /** - * @param context - * @return value of RefreshTable - */ - public final java.lang.Boolean getRefreshTable(com.mendix.systemwideinterfaces.core.IContext context) - { - return (java.lang.Boolean) getMendixObject().getValue(context, MemberNames.RefreshTable.toString()); - } - - /** - * Set value of RefreshTable - * @param refreshtable - */ - public final void setRefreshTable(java.lang.Boolean refreshtable) - { - setRefreshTable(getContext(), refreshtable); - } - - /** - * Set value of RefreshTable - * @param context - * @param refreshtable - */ - public final void setRefreshTable(com.mendix.systemwideinterfaces.core.IContext context, java.lang.Boolean refreshtable) - { - getMendixObject().setValue(context, MemberNames.RefreshTable.toString(), refreshtable); - } - - /** - * @return value of RefreshKeepScrollPos - */ - public final java.lang.Boolean getRefreshKeepScrollPos() - { - return getRefreshKeepScrollPos(getContext()); - } - - /** - * @param context - * @return value of RefreshKeepScrollPos - */ - public final java.lang.Boolean getRefreshKeepScrollPos(com.mendix.systemwideinterfaces.core.IContext context) - { - return (java.lang.Boolean) getMendixObject().getValue(context, MemberNames.RefreshKeepScrollPos.toString()); - } - - /** - * Set value of RefreshKeepScrollPos - * @param refreshkeepscrollpos - */ - public final void setRefreshKeepScrollPos(java.lang.Boolean refreshkeepscrollpos) - { - setRefreshKeepScrollPos(getContext(), refreshkeepscrollpos); - } - - /** - * Set value of RefreshKeepScrollPos - * @param context - * @param refreshkeepscrollpos - */ - public final void setRefreshKeepScrollPos(com.mendix.systemwideinterfaces.core.IContext context, java.lang.Boolean refreshkeepscrollpos) - { - getMendixObject().setValue(context, MemberNames.RefreshKeepScrollPos.toString(), refreshkeepscrollpos); - } - - /** - * @return value of XPath - */ - public final java.lang.String getXPath() - { - return getXPath(getContext()); - } - - /** - * @param context - * @return value of XPath - */ - public final java.lang.String getXPath(com.mendix.systemwideinterfaces.core.IContext context) - { - return (java.lang.String) getMendixObject().getValue(context, MemberNames.XPath.toString()); - } - - /** - * Set value of XPath - * @param xpath - */ - public final void setXPath(java.lang.String xpath) - { - setXPath(getContext(), xpath); - } - - /** - * Set value of XPath - * @param context - * @param xpath - */ - public final void setXPath(com.mendix.systemwideinterfaces.core.IContext context, java.lang.String xpath) - { - getMendixObject().setValue(context, MemberNames.XPath.toString(), xpath); - } - - /** - * Set value of Gender - * @param gender - */ - public final datatablestestmodule.proxies.Gender getGender() - { - return getGender(getContext()); - } - - /** - * @param context - * @return value of Gender - */ - public final datatablestestmodule.proxies.Gender getGender(com.mendix.systemwideinterfaces.core.IContext context) - { - Object obj = getMendixObject().getValue(context, MemberNames.Gender.toString()); - if (obj == null) - return null; - - return datatablestestmodule.proxies.Gender.valueOf((java.lang.String) obj); - } - - /** - * Set value of Gender - * @param gender - */ - public final void setGender(datatablestestmodule.proxies.Gender gender) - { - setGender(getContext(), gender); - } - - /** - * Set value of Gender - * @param context - * @param gender - */ - public final void setGender(com.mendix.systemwideinterfaces.core.IContext context, datatablestestmodule.proxies.Gender gender) - { - if (gender != null) - getMendixObject().setValue(context, MemberNames.Gender.toString(), gender.toString()); - else - getMendixObject().setValue(context, MemberNames.Gender.toString(), null); - } - - /** - * @return value of FirstName - */ - public final java.lang.String getFirstName() - { - return getFirstName(getContext()); - } - - /** - * @param context - * @return value of FirstName - */ - public final java.lang.String getFirstName(com.mendix.systemwideinterfaces.core.IContext context) - { - return (java.lang.String) getMendixObject().getValue(context, MemberNames.FirstName.toString()); - } - - /** - * Set value of FirstName - * @param firstname - */ - public final void setFirstName(java.lang.String firstname) - { - setFirstName(getContext(), firstname); - } - - /** - * Set value of FirstName - * @param context - * @param firstname - */ - public final void setFirstName(com.mendix.systemwideinterfaces.core.IContext context, java.lang.String firstname) - { - getMendixObject().setValue(context, MemberNames.FirstName.toString(), firstname); - } - - /** - * @return value of LastName - */ - public final java.lang.String getLastName() - { - return getLastName(getContext()); - } - - /** - * @param context - * @return value of LastName - */ - public final java.lang.String getLastName(com.mendix.systemwideinterfaces.core.IContext context) - { - return (java.lang.String) getMendixObject().getValue(context, MemberNames.LastName.toString()); - } - - /** - * Set value of LastName - * @param lastname - */ - public final void setLastName(java.lang.String lastname) - { - setLastName(getContext(), lastname); - } - - /** - * Set value of LastName - * @param context - * @param lastname - */ - public final void setLastName(com.mendix.systemwideinterfaces.core.IContext context, java.lang.String lastname) - { - getMendixObject().setValue(context, MemberNames.LastName.toString(), lastname); - } - - /** - * @return value of DateTimeValue - */ - public final java.util.Date getDateTimeValue() - { - return getDateTimeValue(getContext()); - } - - /** - * @param context - * @return value of DateTimeValue - */ - public final java.util.Date getDateTimeValue(com.mendix.systemwideinterfaces.core.IContext context) - { - return (java.util.Date) getMendixObject().getValue(context, MemberNames.DateTimeValue.toString()); - } - - /** - * Set value of DateTimeValue - * @param datetimevalue - */ - public final void setDateTimeValue(java.util.Date datetimevalue) - { - setDateTimeValue(getContext(), datetimevalue); - } - - /** - * Set value of DateTimeValue - * @param context - * @param datetimevalue - */ - public final void setDateTimeValue(com.mendix.systemwideinterfaces.core.IContext context, java.util.Date datetimevalue) - { - getMendixObject().setValue(context, MemberNames.DateTimeValue.toString(), datetimevalue); - } - - /** - * @return value of DateTimeLongValue - */ - public final java.lang.Long getDateTimeLongValue() - { - return getDateTimeLongValue(getContext()); - } - - /** - * @param context - * @return value of DateTimeLongValue - */ - public final java.lang.Long getDateTimeLongValue(com.mendix.systemwideinterfaces.core.IContext context) - { - return (java.lang.Long) getMendixObject().getValue(context, MemberNames.DateTimeLongValue.toString()); - } - - /** - * Set value of DateTimeLongValue - * @param datetimelongvalue - */ - public final void setDateTimeLongValue(java.lang.Long datetimelongvalue) - { - setDateTimeLongValue(getContext(), datetimelongvalue); - } - - /** - * Set value of DateTimeLongValue - * @param context - * @param datetimelongvalue - */ - public final void setDateTimeLongValue(com.mendix.systemwideinterfaces.core.IContext context, java.lang.Long datetimelongvalue) - { - getMendixObject().setValue(context, MemberNames.DateTimeLongValue.toString(), datetimelongvalue); - } - - /** - * @return value of Number - */ - public final java.lang.Long getNumber() - { - return getNumber(getContext()); - } - - /** - * @param context - * @return value of Number - */ - public final java.lang.Long getNumber(com.mendix.systemwideinterfaces.core.IContext context) - { - return (java.lang.Long) getMendixObject().getValue(context, MemberNames.Number.toString()); - } - - /** - * Set value of Number - * @param number - */ - public final void setNumber(java.lang.Long number) - { - setNumber(getContext(), number); - } - - /** - * Set value of Number - * @param context - * @param number - */ - public final void setNumber(com.mendix.systemwideinterfaces.core.IContext context, java.lang.Long number) - { - getMendixObject().setValue(context, MemberNames.Number.toString(), number); - } - - /** - * @return value of DateValue - */ - public final java.util.Date getDateValue() - { - return getDateValue(getContext()); - } - - /** - * @param context - * @return value of DateValue - */ - public final java.util.Date getDateValue(com.mendix.systemwideinterfaces.core.IContext context) - { - return (java.util.Date) getMendixObject().getValue(context, MemberNames.DateValue.toString()); - } - - /** - * Set value of DateValue - * @param datevalue - */ - public final void setDateValue(java.util.Date datevalue) - { - setDateValue(getContext(), datevalue); - } - - /** - * Set value of DateValue - * @param context - * @param datevalue - */ - public final void setDateValue(com.mendix.systemwideinterfaces.core.IContext context, java.util.Date datevalue) - { - getMendixObject().setValue(context, MemberNames.DateValue.toString(), datevalue); - } - - /** - * @return value of DecimalValue - */ - public final java.math.BigDecimal getDecimalValue() - { - return getDecimalValue(getContext()); - } - - /** - * @param context - * @return value of DecimalValue - */ - public final java.math.BigDecimal getDecimalValue(com.mendix.systemwideinterfaces.core.IContext context) - { - return (java.math.BigDecimal) getMendixObject().getValue(context, MemberNames.DecimalValue.toString()); - } - - /** - * Set value of DecimalValue - * @param decimalvalue - */ - public final void setDecimalValue(java.math.BigDecimal decimalvalue) - { - setDecimalValue(getContext(), decimalvalue); - } - - /** - * Set value of DecimalValue - * @param context - * @param decimalvalue - */ - public final void setDecimalValue(com.mendix.systemwideinterfaces.core.IContext context, java.math.BigDecimal decimalvalue) - { - getMendixObject().setValue(context, MemberNames.DecimalValue.toString(), decimalvalue); - } - - /** - * Set value of BooleanFilter - * @param booleanfilter - */ - public final datatablestestmodule.proxies.BooleanFilter getBooleanFilter() - { - return getBooleanFilter(getContext()); - } - - /** - * @param context - * @return value of BooleanFilter - */ - public final datatablestestmodule.proxies.BooleanFilter getBooleanFilter(com.mendix.systemwideinterfaces.core.IContext context) - { - Object obj = getMendixObject().getValue(context, MemberNames.BooleanFilter.toString()); - if (obj == null) - return null; - - return datatablestestmodule.proxies.BooleanFilter.valueOf((java.lang.String) obj); - } - - /** - * Set value of BooleanFilter - * @param booleanfilter - */ - public final void setBooleanFilter(datatablestestmodule.proxies.BooleanFilter booleanfilter) - { - setBooleanFilter(getContext(), booleanfilter); - } - - /** - * Set value of BooleanFilter - * @param context - * @param booleanfilter - */ - public final void setBooleanFilter(com.mendix.systemwideinterfaces.core.IContext context, datatablestestmodule.proxies.BooleanFilter booleanfilter) - { - if (booleanfilter != null) - getMendixObject().setValue(context, MemberNames.BooleanFilter.toString(), booleanfilter.toString()); - else - getMendixObject().setValue(context, MemberNames.BooleanFilter.toString(), null); - } - - /** - * @return value of CountryCode - */ - public final java.lang.String getCountryCode() - { - return getCountryCode(getContext()); - } - - /** - * @param context - * @return value of CountryCode - */ - public final java.lang.String getCountryCode(com.mendix.systemwideinterfaces.core.IContext context) - { - return (java.lang.String) getMendixObject().getValue(context, MemberNames.CountryCode.toString()); - } - - /** - * Set value of CountryCode - * @param countrycode - */ - public final void setCountryCode(java.lang.String countrycode) - { - setCountryCode(getContext(), countrycode); - } - - /** - * Set value of CountryCode - * @param context - * @param countrycode - */ - public final void setCountryCode(com.mendix.systemwideinterfaces.core.IContext context, java.lang.String countrycode) - { - getMendixObject().setValue(context, MemberNames.CountryCode.toString(), countrycode); - } - - /** - * @return value of ExportConfig - */ - public final java.lang.String getExportConfig() - { - return getExportConfig(getContext()); - } - - /** - * @param context - * @return value of ExportConfig - */ - public final java.lang.String getExportConfig(com.mendix.systemwideinterfaces.core.IContext context) - { - return (java.lang.String) getMendixObject().getValue(context, MemberNames.ExportConfig.toString()); - } - - /** - * Set value of ExportConfig - * @param exportconfig - */ - public final void setExportConfig(java.lang.String exportconfig) - { - setExportConfig(getContext(), exportconfig); - } - - /** - * Set value of ExportConfig - * @param context - * @param exportconfig - */ - public final void setExportConfig(com.mendix.systemwideinterfaces.core.IContext context, java.lang.String exportconfig) - { - getMendixObject().setValue(context, MemberNames.ExportConfig.toString(), exportconfig); - } - - /** - * @return value of ExportXPath - */ - public final java.lang.String getExportXPath() - { - return getExportXPath(getContext()); - } - - /** - * @param context - * @return value of ExportXPath - */ - public final java.lang.String getExportXPath(com.mendix.systemwideinterfaces.core.IContext context) - { - return (java.lang.String) getMendixObject().getValue(context, MemberNames.ExportXPath.toString()); - } - - /** - * Set value of ExportXPath - * @param exportxpath - */ - public final void setExportXPath(java.lang.String exportxpath) - { - setExportXPath(getContext(), exportxpath); - } - - /** - * Set value of ExportXPath - * @param context - * @param exportxpath - */ - public final void setExportXPath(com.mendix.systemwideinterfaces.core.IContext context, java.lang.String exportxpath) - { - getMendixObject().setValue(context, MemberNames.ExportXPath.toString(), exportxpath); - } - - /** - * @return value of DataTableContextEntity_Person_Current - */ - public final datatablestestmodule.proxies.Person getDataTableContextEntity_Person_Current() throws com.mendix.core.CoreException - { - return getDataTableContextEntity_Person_Current(getContext()); - } - - /** - * @param context - * @return value of DataTableContextEntity_Person_Current - */ - public final datatablestestmodule.proxies.Person getDataTableContextEntity_Person_Current(com.mendix.systemwideinterfaces.core.IContext context) throws com.mendix.core.CoreException - { - datatablestestmodule.proxies.Person result = null; - com.mendix.systemwideinterfaces.core.IMendixIdentifier identifier = getMendixObject().getValue(context, MemberNames.DataTableContextEntity_Person_Current.toString()); - if (identifier != null) - result = datatablestestmodule.proxies.Person.load(context, identifier); - return result; - } - - /** - * Set value of DataTableContextEntity_Person_Current - * @param datatablecontextentity_person_current - */ - public final void setDataTableContextEntity_Person_Current(datatablestestmodule.proxies.Person datatablecontextentity_person_current) - { - setDataTableContextEntity_Person_Current(getContext(), datatablecontextentity_person_current); - } - - /** - * Set value of DataTableContextEntity_Person_Current - * @param context - * @param datatablecontextentity_person_current - */ - public final void setDataTableContextEntity_Person_Current(com.mendix.systemwideinterfaces.core.IContext context, datatablestestmodule.proxies.Person datatablecontextentity_person_current) - { - if (datatablecontextentity_person_current == null) - getMendixObject().setValue(context, MemberNames.DataTableContextEntity_Person_Current.toString(), null); - else - getMendixObject().setValue(context, MemberNames.DataTableContextEntity_Person_Current.toString(), datatablecontextentity_person_current.getMendixObject().getId()); - } - - /** - * @return value of DataTableContextEntity_Country - */ - public final datatablestestmodule.proxies.Country getDataTableContextEntity_Country() throws com.mendix.core.CoreException - { - return getDataTableContextEntity_Country(getContext()); - } - - /** - * @param context - * @return value of DataTableContextEntity_Country - */ - public final datatablestestmodule.proxies.Country getDataTableContextEntity_Country(com.mendix.systemwideinterfaces.core.IContext context) throws com.mendix.core.CoreException - { - datatablestestmodule.proxies.Country result = null; - com.mendix.systemwideinterfaces.core.IMendixIdentifier identifier = getMendixObject().getValue(context, MemberNames.DataTableContextEntity_Country.toString()); - if (identifier != null) - result = datatablestestmodule.proxies.Country.load(context, identifier); - return result; - } - - /** - * Set value of DataTableContextEntity_Country - * @param datatablecontextentity_country - */ - public final void setDataTableContextEntity_Country(datatablestestmodule.proxies.Country datatablecontextentity_country) - { - setDataTableContextEntity_Country(getContext(), datatablecontextentity_country); - } - - /** - * Set value of DataTableContextEntity_Country - * @param context - * @param datatablecontextentity_country - */ - public final void setDataTableContextEntity_Country(com.mendix.systemwideinterfaces.core.IContext context, datatablestestmodule.proxies.Country datatablecontextentity_country) - { - if (datatablecontextentity_country == null) - getMendixObject().setValue(context, MemberNames.DataTableContextEntity_Country.toString(), null); - else - getMendixObject().setValue(context, MemberNames.DataTableContextEntity_Country.toString(), datatablecontextentity_country.getMendixObject().getId()); - } - - /** - * @return value of DataTableContextEntity_Language - */ - public final system.proxies.Language getDataTableContextEntity_Language() throws com.mendix.core.CoreException - { - return getDataTableContextEntity_Language(getContext()); - } - - /** - * @param context - * @return value of DataTableContextEntity_Language - */ - public final system.proxies.Language getDataTableContextEntity_Language(com.mendix.systemwideinterfaces.core.IContext context) throws com.mendix.core.CoreException - { - system.proxies.Language result = null; - com.mendix.systemwideinterfaces.core.IMendixIdentifier identifier = getMendixObject().getValue(context, MemberNames.DataTableContextEntity_Language.toString()); - if (identifier != null) - result = system.proxies.Language.load(context, identifier); - return result; - } - - /** - * Set value of DataTableContextEntity_Language - * @param datatablecontextentity_language - */ - public final void setDataTableContextEntity_Language(system.proxies.Language datatablecontextentity_language) - { - setDataTableContextEntity_Language(getContext(), datatablecontextentity_language); - } - - /** - * Set value of DataTableContextEntity_Language - * @param context - * @param datatablecontextentity_language - */ - public final void setDataTableContextEntity_Language(com.mendix.systemwideinterfaces.core.IContext context, system.proxies.Language datatablecontextentity_language) - { - if (datatablecontextentity_language == null) - getMendixObject().setValue(context, MemberNames.DataTableContextEntity_Language.toString(), null); - else - getMendixObject().setValue(context, MemberNames.DataTableContextEntity_Language.toString(), datatablecontextentity_language.getMendixObject().getId()); - } - - /** - * @return the IMendixObject instance of this proxy for use in the Core interface. - */ - public final com.mendix.systemwideinterfaces.core.IMendixObject getMendixObject() - { - return dataTableContextEntityMendixObject; - } - - /** - * @return the IContext instance of this proxy, or null if no IContext instance was specified at initialization. - */ - public final com.mendix.systemwideinterfaces.core.IContext getContext() - { - return context; - } - - @Override - public boolean equals(Object obj) - { - if (obj == this) - return true; - - if (obj != null && getClass().equals(obj.getClass())) - { - final datatablestestmodule.proxies.DataTableContextEntity that = (datatablestestmodule.proxies.DataTableContextEntity) obj; - return getMendixObject().equals(that.getMendixObject()); - } - return false; - } - - @Override - public int hashCode() - { - return getMendixObject().hashCode(); - } - - /** - * @return String name of this class - */ - public static java.lang.String getType() - { - return "DataTablesTestModule.DataTableContextEntity"; - } - - /** - * @return String GUID from this object, format: ID_0000000000 - * @deprecated Use getMendixObject().getId().toLong() to get a unique identifier for this object. - */ - @Deprecated - public java.lang.String getGUID() - { - return "ID_" + getMendixObject().getId().toLong(); - } -} diff --git a/test/javasource/datatablestestmodule/proxies/Gender.java b/test/javasource/datatablestestmodule/proxies/Gender.java deleted file mode 100644 index 5299c5c..0000000 --- a/test/javasource/datatablestestmodule/proxies/Gender.java +++ /dev/null @@ -1,32 +0,0 @@ -// This file was generated by Mendix Modeler. -// -// WARNING: Code you write here will be lost the next time you deploy the project. - -package datatablestestmodule.proxies; - -public enum Gender -{ - Male(new java.lang.String[][] { new java.lang.String[] { "en_US", "Male" }, new java.lang.String[] { "nl_NL", "Man" } }), - Female(new java.lang.String[][] { new java.lang.String[] { "en_US", "Female" }, new java.lang.String[] { "nl_NL", "Vrouw" } }); - - private java.util.Map captions; - - private Gender(java.lang.String[][] captionStrings) - { - this.captions = new java.util.HashMap(); - for (java.lang.String[] captionString : captionStrings) - captions.put(captionString[0], captionString[1]); - } - - public java.lang.String getCaption(java.lang.String languageCode) - { - if (captions.containsKey(languageCode)) - return captions.get(languageCode); - return captions.get("en_US"); - } - - public java.lang.String getCaption() - { - return captions.get("en_US"); - } -} diff --git a/test/javasource/datatablestestmodule/proxies/ImportData.java b/test/javasource/datatablestestmodule/proxies/ImportData.java deleted file mode 100644 index 5778a8a..0000000 --- a/test/javasource/datatablestestmodule/proxies/ImportData.java +++ /dev/null @@ -1,246 +0,0 @@ -// This file was generated by Mendix Modeler. -// -// WARNING: Code you write here will be lost the next time you deploy the project. - -package datatablestestmodule.proxies; - -public class ImportData -{ - private final com.mendix.systemwideinterfaces.core.IMendixObject importDataMendixObject; - - private final com.mendix.systemwideinterfaces.core.IContext context; - - /** - * Internal name of this entity - */ - public static final java.lang.String entityName = "DataTablesTestModule.ImportData"; - - /** - * Enum describing members of this entity - */ - public enum MemberNames - { - JSON("JSON"), - datalist("DataTablesTestModule.datalist"); - - private java.lang.String metaName; - - MemberNames(java.lang.String s) - { - metaName = s; - } - - @Override - public java.lang.String toString() - { - return metaName; - } - } - - public ImportData(com.mendix.systemwideinterfaces.core.IContext context) - { - this(context, com.mendix.core.Core.instantiate(context, "DataTablesTestModule.ImportData")); - } - - protected ImportData(com.mendix.systemwideinterfaces.core.IContext context, com.mendix.systemwideinterfaces.core.IMendixObject importDataMendixObject) - { - if (importDataMendixObject == null) - throw new java.lang.IllegalArgumentException("The given object cannot be null."); - if (!com.mendix.core.Core.isSubClassOf("DataTablesTestModule.ImportData", importDataMendixObject.getType())) - throw new java.lang.IllegalArgumentException("The given object is not a DataTablesTestModule.ImportData"); - - this.importDataMendixObject = importDataMendixObject; - this.context = context; - } - - /** - * @deprecated Use 'ImportData.load(IContext, IMendixIdentifier)' instead. - */ - @Deprecated - public static datatablestestmodule.proxies.ImportData initialize(com.mendix.systemwideinterfaces.core.IContext context, com.mendix.systemwideinterfaces.core.IMendixIdentifier mendixIdentifier) throws com.mendix.core.CoreException - { - return datatablestestmodule.proxies.ImportData.load(context, mendixIdentifier); - } - - /** - * Initialize a proxy using context (recommended). This context will be used for security checking when the get- and set-methods without context parameters are called. - * The get- and set-methods with context parameter should be used when for instance sudo access is necessary (IContext.getSudoContext() can be used to obtain sudo access). - */ - public static datatablestestmodule.proxies.ImportData initialize(com.mendix.systemwideinterfaces.core.IContext context, com.mendix.systemwideinterfaces.core.IMendixObject mendixObject) - { - return new datatablestestmodule.proxies.ImportData(context, mendixObject); - } - - public static datatablestestmodule.proxies.ImportData load(com.mendix.systemwideinterfaces.core.IContext context, com.mendix.systemwideinterfaces.core.IMendixIdentifier mendixIdentifier) throws com.mendix.core.CoreException - { - com.mendix.systemwideinterfaces.core.IMendixObject mendixObject = com.mendix.core.Core.retrieveId(context, mendixIdentifier); - return datatablestestmodule.proxies.ImportData.initialize(context, mendixObject); - } - - /** - * Commit the changes made on this proxy object. - */ - public final void commit() throws com.mendix.core.CoreException - { - com.mendix.core.Core.commit(context, getMendixObject()); - } - - /** - * Commit the changes made on this proxy object using the specified context. - */ - public final void commit(com.mendix.systemwideinterfaces.core.IContext context) throws com.mendix.core.CoreException - { - com.mendix.core.Core.commit(context, getMendixObject()); - } - - /** - * Delete the object. - */ - public final void delete() - { - com.mendix.core.Core.delete(context, getMendixObject()); - } - - /** - * Delete the object using the specified context. - */ - public final void delete(com.mendix.systemwideinterfaces.core.IContext context) - { - com.mendix.core.Core.delete(context, getMendixObject()); - } - /** - * @return value of JSON - */ - public final java.lang.String getJSON() - { - return getJSON(getContext()); - } - - /** - * @param context - * @return value of JSON - */ - public final java.lang.String getJSON(com.mendix.systemwideinterfaces.core.IContext context) - { - return (java.lang.String) getMendixObject().getValue(context, MemberNames.JSON.toString()); - } - - /** - * Set value of JSON - * @param json - */ - public final void setJSON(java.lang.String json) - { - setJSON(getContext(), json); - } - - /** - * Set value of JSON - * @param context - * @param json - */ - public final void setJSON(com.mendix.systemwideinterfaces.core.IContext context, java.lang.String json) - { - getMendixObject().setValue(context, MemberNames.JSON.toString(), json); - } - - /** - * @return value of datalist - */ - public final java.util.List getdatalist() throws com.mendix.core.CoreException - { - return getdatalist(getContext()); - } - - /** - * @param context - * @return value of datalist - */ - @SuppressWarnings("unchecked") - public final java.util.List getdatalist(com.mendix.systemwideinterfaces.core.IContext context) throws com.mendix.core.CoreException - { - java.util.List result = new java.util.ArrayList(); - Object valueObject = getMendixObject().getValue(context, MemberNames.datalist.toString()); - if (valueObject == null) - return result; - for (com.mendix.systemwideinterfaces.core.IMendixObject mendixObject : com.mendix.core.Core.retrieveIdList(context, (java.util.List) valueObject)) - result.add(datatablestestmodule.proxies.Person.initialize(context, mendixObject)); - return result; - } - - /** - * Set value of datalist - * @param datalist - */ - public final void setdatalist(java.util.List datalist) - { - setdatalist(getContext(), datalist); - } - - /** - * Set value of datalist - * @param context - * @param datalist - */ - public final void setdatalist(com.mendix.systemwideinterfaces.core.IContext context, java.util.List datalist) - { - java.util.List identifiers = new java.util.ArrayList(); - for (datatablestestmodule.proxies.Person proxyObject : datalist) - identifiers.add(proxyObject.getMendixObject().getId()); - getMendixObject().setValue(context, MemberNames.datalist.toString(), identifiers); - } - - /** - * @return the IMendixObject instance of this proxy for use in the Core interface. - */ - public final com.mendix.systemwideinterfaces.core.IMendixObject getMendixObject() - { - return importDataMendixObject; - } - - /** - * @return the IContext instance of this proxy, or null if no IContext instance was specified at initialization. - */ - public final com.mendix.systemwideinterfaces.core.IContext getContext() - { - return context; - } - - @Override - public boolean equals(Object obj) - { - if (obj == this) - return true; - - if (obj != null && getClass().equals(obj.getClass())) - { - final datatablestestmodule.proxies.ImportData that = (datatablestestmodule.proxies.ImportData) obj; - return getMendixObject().equals(that.getMendixObject()); - } - return false; - } - - @Override - public int hashCode() - { - return getMendixObject().hashCode(); - } - - /** - * @return String name of this class - */ - public static java.lang.String getType() - { - return "DataTablesTestModule.ImportData"; - } - - /** - * @return String GUID from this object, format: ID_0000000000 - * @deprecated Use getMendixObject().getId().toLong() to get a unique identifier for this object. - */ - @Deprecated - public java.lang.String getGUID() - { - return "ID_" + getMendixObject().getId().toLong(); - } -} diff --git a/test/javasource/datatablestestmodule/proxies/Person.java b/test/javasource/datatablestestmodule/proxies/Person.java deleted file mode 100644 index 619956f..0000000 --- a/test/javasource/datatablestestmodule/proxies/Person.java +++ /dev/null @@ -1,592 +0,0 @@ -// This file was generated by Mendix Modeler. -// -// WARNING: Code you write here will be lost the next time you deploy the project. - -package datatablestestmodule.proxies; - -public class Person -{ - private final com.mendix.systemwideinterfaces.core.IMendixObject personMendixObject; - - private final com.mendix.systemwideinterfaces.core.IContext context; - - /** - * Internal name of this entity - */ - public static final java.lang.String entityName = "DataTablesTestModule.Person"; - - /** - * Enum describing members of this entity - */ - public enum MemberNames - { - Number("Number"), - gender("gender"), - firstName("firstName"), - lastName("lastName"), - email("email"), - address("address"), - city("city"), - countryCode("countryCode"), - phone("phone"), - salary("salary"), - Person_Country("DataTablesTestModule.Person_Country"); - - private java.lang.String metaName; - - MemberNames(java.lang.String s) - { - metaName = s; - } - - @Override - public java.lang.String toString() - { - return metaName; - } - } - - public Person(com.mendix.systemwideinterfaces.core.IContext context) - { - this(context, com.mendix.core.Core.instantiate(context, "DataTablesTestModule.Person")); - } - - protected Person(com.mendix.systemwideinterfaces.core.IContext context, com.mendix.systemwideinterfaces.core.IMendixObject personMendixObject) - { - if (personMendixObject == null) - throw new java.lang.IllegalArgumentException("The given object cannot be null."); - if (!com.mendix.core.Core.isSubClassOf("DataTablesTestModule.Person", personMendixObject.getType())) - throw new java.lang.IllegalArgumentException("The given object is not a DataTablesTestModule.Person"); - - this.personMendixObject = personMendixObject; - this.context = context; - } - - /** - * @deprecated Use 'Person.load(IContext, IMendixIdentifier)' instead. - */ - @Deprecated - public static datatablestestmodule.proxies.Person initialize(com.mendix.systemwideinterfaces.core.IContext context, com.mendix.systemwideinterfaces.core.IMendixIdentifier mendixIdentifier) throws com.mendix.core.CoreException - { - return datatablestestmodule.proxies.Person.load(context, mendixIdentifier); - } - - /** - * Initialize a proxy using context (recommended). This context will be used for security checking when the get- and set-methods without context parameters are called. - * The get- and set-methods with context parameter should be used when for instance sudo access is necessary (IContext.getSudoContext() can be used to obtain sudo access). - */ - public static datatablestestmodule.proxies.Person initialize(com.mendix.systemwideinterfaces.core.IContext context, com.mendix.systemwideinterfaces.core.IMendixObject mendixObject) - { - return new datatablestestmodule.proxies.Person(context, mendixObject); - } - - public static datatablestestmodule.proxies.Person load(com.mendix.systemwideinterfaces.core.IContext context, com.mendix.systemwideinterfaces.core.IMendixIdentifier mendixIdentifier) throws com.mendix.core.CoreException - { - com.mendix.systemwideinterfaces.core.IMendixObject mendixObject = com.mendix.core.Core.retrieveId(context, mendixIdentifier); - return datatablestestmodule.proxies.Person.initialize(context, mendixObject); - } - - public static java.util.List load(com.mendix.systemwideinterfaces.core.IContext context, java.lang.String xpathConstraint) throws com.mendix.core.CoreException - { - java.util.List result = new java.util.ArrayList(); - for (com.mendix.systemwideinterfaces.core.IMendixObject obj : com.mendix.core.Core.retrieveXPathQuery(context, "//DataTablesTestModule.Person" + xpathConstraint)) - result.add(datatablestestmodule.proxies.Person.initialize(context, obj)); - return result; - } - - /** - * Commit the changes made on this proxy object. - */ - public final void commit() throws com.mendix.core.CoreException - { - com.mendix.core.Core.commit(context, getMendixObject()); - } - - /** - * Commit the changes made on this proxy object using the specified context. - */ - public final void commit(com.mendix.systemwideinterfaces.core.IContext context) throws com.mendix.core.CoreException - { - com.mendix.core.Core.commit(context, getMendixObject()); - } - - /** - * Delete the object. - */ - public final void delete() - { - com.mendix.core.Core.delete(context, getMendixObject()); - } - - /** - * Delete the object using the specified context. - */ - public final void delete(com.mendix.systemwideinterfaces.core.IContext context) - { - com.mendix.core.Core.delete(context, getMendixObject()); - } - /** - * @return value of Number - */ - public final java.lang.Long getNumber() - { - return getNumber(getContext()); - } - - /** - * @param context - * @return value of Number - */ - public final java.lang.Long getNumber(com.mendix.systemwideinterfaces.core.IContext context) - { - return (java.lang.Long) getMendixObject().getValue(context, MemberNames.Number.toString()); - } - - /** - * Set value of Number - * @param number - */ - public final void setNumber(java.lang.Long number) - { - setNumber(getContext(), number); - } - - /** - * Set value of Number - * @param context - * @param number - */ - public final void setNumber(com.mendix.systemwideinterfaces.core.IContext context, java.lang.Long number) - { - getMendixObject().setValue(context, MemberNames.Number.toString(), number); - } - - /** - * Set value of gender - * @param gender - */ - public final datatablestestmodule.proxies.Gender getgender() - { - return getgender(getContext()); - } - - /** - * @param context - * @return value of gender - */ - public final datatablestestmodule.proxies.Gender getgender(com.mendix.systemwideinterfaces.core.IContext context) - { - Object obj = getMendixObject().getValue(context, MemberNames.gender.toString()); - if (obj == null) - return null; - - return datatablestestmodule.proxies.Gender.valueOf((java.lang.String) obj); - } - - /** - * Set value of gender - * @param gender - */ - public final void setgender(datatablestestmodule.proxies.Gender gender) - { - setgender(getContext(), gender); - } - - /** - * Set value of gender - * @param context - * @param gender - */ - public final void setgender(com.mendix.systemwideinterfaces.core.IContext context, datatablestestmodule.proxies.Gender gender) - { - if (gender != null) - getMendixObject().setValue(context, MemberNames.gender.toString(), gender.toString()); - else - getMendixObject().setValue(context, MemberNames.gender.toString(), null); - } - - /** - * @return value of firstName - */ - public final java.lang.String getfirstName() - { - return getfirstName(getContext()); - } - - /** - * @param context - * @return value of firstName - */ - public final java.lang.String getfirstName(com.mendix.systemwideinterfaces.core.IContext context) - { - return (java.lang.String) getMendixObject().getValue(context, MemberNames.firstName.toString()); - } - - /** - * Set value of firstName - * @param firstname - */ - public final void setfirstName(java.lang.String firstname) - { - setfirstName(getContext(), firstname); - } - - /** - * Set value of firstName - * @param context - * @param firstname - */ - public final void setfirstName(com.mendix.systemwideinterfaces.core.IContext context, java.lang.String firstname) - { - getMendixObject().setValue(context, MemberNames.firstName.toString(), firstname); - } - - /** - * @return value of lastName - */ - public final java.lang.String getlastName() - { - return getlastName(getContext()); - } - - /** - * @param context - * @return value of lastName - */ - public final java.lang.String getlastName(com.mendix.systemwideinterfaces.core.IContext context) - { - return (java.lang.String) getMendixObject().getValue(context, MemberNames.lastName.toString()); - } - - /** - * Set value of lastName - * @param lastname - */ - public final void setlastName(java.lang.String lastname) - { - setlastName(getContext(), lastname); - } - - /** - * Set value of lastName - * @param context - * @param lastname - */ - public final void setlastName(com.mendix.systemwideinterfaces.core.IContext context, java.lang.String lastname) - { - getMendixObject().setValue(context, MemberNames.lastName.toString(), lastname); - } - - /** - * @return value of email - */ - public final java.lang.String getemail() - { - return getemail(getContext()); - } - - /** - * @param context - * @return value of email - */ - public final java.lang.String getemail(com.mendix.systemwideinterfaces.core.IContext context) - { - return (java.lang.String) getMendixObject().getValue(context, MemberNames.email.toString()); - } - - /** - * Set value of email - * @param email - */ - public final void setemail(java.lang.String email) - { - setemail(getContext(), email); - } - - /** - * Set value of email - * @param context - * @param email - */ - public final void setemail(com.mendix.systemwideinterfaces.core.IContext context, java.lang.String email) - { - getMendixObject().setValue(context, MemberNames.email.toString(), email); - } - - /** - * @return value of address - */ - public final java.lang.String getaddress() - { - return getaddress(getContext()); - } - - /** - * @param context - * @return value of address - */ - public final java.lang.String getaddress(com.mendix.systemwideinterfaces.core.IContext context) - { - return (java.lang.String) getMendixObject().getValue(context, MemberNames.address.toString()); - } - - /** - * Set value of address - * @param address - */ - public final void setaddress(java.lang.String address) - { - setaddress(getContext(), address); - } - - /** - * Set value of address - * @param context - * @param address - */ - public final void setaddress(com.mendix.systemwideinterfaces.core.IContext context, java.lang.String address) - { - getMendixObject().setValue(context, MemberNames.address.toString(), address); - } - - /** - * @return value of city - */ - public final java.lang.String getcity() - { - return getcity(getContext()); - } - - /** - * @param context - * @return value of city - */ - public final java.lang.String getcity(com.mendix.systemwideinterfaces.core.IContext context) - { - return (java.lang.String) getMendixObject().getValue(context, MemberNames.city.toString()); - } - - /** - * Set value of city - * @param city - */ - public final void setcity(java.lang.String city) - { - setcity(getContext(), city); - } - - /** - * Set value of city - * @param context - * @param city - */ - public final void setcity(com.mendix.systemwideinterfaces.core.IContext context, java.lang.String city) - { - getMendixObject().setValue(context, MemberNames.city.toString(), city); - } - - /** - * @return value of countryCode - */ - public final java.lang.String getcountryCode() - { - return getcountryCode(getContext()); - } - - /** - * @param context - * @return value of countryCode - */ - public final java.lang.String getcountryCode(com.mendix.systemwideinterfaces.core.IContext context) - { - return (java.lang.String) getMendixObject().getValue(context, MemberNames.countryCode.toString()); - } - - /** - * Set value of countryCode - * @param countrycode - */ - public final void setcountryCode(java.lang.String countrycode) - { - setcountryCode(getContext(), countrycode); - } - - /** - * Set value of countryCode - * @param context - * @param countrycode - */ - public final void setcountryCode(com.mendix.systemwideinterfaces.core.IContext context, java.lang.String countrycode) - { - getMendixObject().setValue(context, MemberNames.countryCode.toString(), countrycode); - } - - /** - * @return value of phone - */ - public final java.lang.String getphone() - { - return getphone(getContext()); - } - - /** - * @param context - * @return value of phone - */ - public final java.lang.String getphone(com.mendix.systemwideinterfaces.core.IContext context) - { - return (java.lang.String) getMendixObject().getValue(context, MemberNames.phone.toString()); - } - - /** - * Set value of phone - * @param phone - */ - public final void setphone(java.lang.String phone) - { - setphone(getContext(), phone); - } - - /** - * Set value of phone - * @param context - * @param phone - */ - public final void setphone(com.mendix.systemwideinterfaces.core.IContext context, java.lang.String phone) - { - getMendixObject().setValue(context, MemberNames.phone.toString(), phone); - } - - /** - * @return value of salary - */ - public final java.math.BigDecimal getsalary() - { - return getsalary(getContext()); - } - - /** - * @param context - * @return value of salary - */ - public final java.math.BigDecimal getsalary(com.mendix.systemwideinterfaces.core.IContext context) - { - return (java.math.BigDecimal) getMendixObject().getValue(context, MemberNames.salary.toString()); - } - - /** - * Set value of salary - * @param salary - */ - public final void setsalary(java.math.BigDecimal salary) - { - setsalary(getContext(), salary); - } - - /** - * Set value of salary - * @param context - * @param salary - */ - public final void setsalary(com.mendix.systemwideinterfaces.core.IContext context, java.math.BigDecimal salary) - { - getMendixObject().setValue(context, MemberNames.salary.toString(), salary); - } - - /** - * @return value of Person_Country - */ - public final datatablestestmodule.proxies.Country getPerson_Country() throws com.mendix.core.CoreException - { - return getPerson_Country(getContext()); - } - - /** - * @param context - * @return value of Person_Country - */ - public final datatablestestmodule.proxies.Country getPerson_Country(com.mendix.systemwideinterfaces.core.IContext context) throws com.mendix.core.CoreException - { - datatablestestmodule.proxies.Country result = null; - com.mendix.systemwideinterfaces.core.IMendixIdentifier identifier = getMendixObject().getValue(context, MemberNames.Person_Country.toString()); - if (identifier != null) - result = datatablestestmodule.proxies.Country.load(context, identifier); - return result; - } - - /** - * Set value of Person_Country - * @param person_country - */ - public final void setPerson_Country(datatablestestmodule.proxies.Country person_country) - { - setPerson_Country(getContext(), person_country); - } - - /** - * Set value of Person_Country - * @param context - * @param person_country - */ - public final void setPerson_Country(com.mendix.systemwideinterfaces.core.IContext context, datatablestestmodule.proxies.Country person_country) - { - if (person_country == null) - getMendixObject().setValue(context, MemberNames.Person_Country.toString(), null); - else - getMendixObject().setValue(context, MemberNames.Person_Country.toString(), person_country.getMendixObject().getId()); - } - - /** - * @return the IMendixObject instance of this proxy for use in the Core interface. - */ - public final com.mendix.systemwideinterfaces.core.IMendixObject getMendixObject() - { - return personMendixObject; - } - - /** - * @return the IContext instance of this proxy, or null if no IContext instance was specified at initialization. - */ - public final com.mendix.systemwideinterfaces.core.IContext getContext() - { - return context; - } - - @Override - public boolean equals(Object obj) - { - if (obj == this) - return true; - - if (obj != null && getClass().equals(obj.getClass())) - { - final datatablestestmodule.proxies.Person that = (datatablestestmodule.proxies.Person) obj; - return getMendixObject().equals(that.getMendixObject()); - } - return false; - } - - @Override - public int hashCode() - { - return getMendixObject().hashCode(); - } - - /** - * @return String name of this class - */ - public static java.lang.String getType() - { - return "DataTablesTestModule.Person"; - } - - /** - * @return String GUID from this object, format: ID_0000000000 - * @deprecated Use getMendixObject().getId().toLong() to get a unique identifier for this object. - */ - @Deprecated - public java.lang.String getGUID() - { - return "ID_" + getMendixObject().getId().toLong(); - } -} diff --git a/test/javasource/datatablestestmodule/proxies/TestCalcAttr.java b/test/javasource/datatablestestmodule/proxies/TestCalcAttr.java deleted file mode 100644 index 750d2af..0000000 --- a/test/javasource/datatablestestmodule/proxies/TestCalcAttr.java +++ /dev/null @@ -1,289 +0,0 @@ -// This file was generated by Mendix Modeler. -// -// WARNING: Code you write here will be lost the next time you deploy the project. - -package datatablestestmodule.proxies; - -public class TestCalcAttr -{ - private final com.mendix.systemwideinterfaces.core.IMendixObject testCalcAttrMendixObject; - - private final com.mendix.systemwideinterfaces.core.IContext context; - - /** - * Internal name of this entity - */ - public static final java.lang.String entityName = "DataTablesTestModule.TestCalcAttr"; - - /** - * Enum describing members of this entity - */ - public enum MemberNames - { - CalcAttr("CalcAttr"), - Count("Count"), - Item("Item"); - - private java.lang.String metaName; - - MemberNames(java.lang.String s) - { - metaName = s; - } - - @Override - public java.lang.String toString() - { - return metaName; - } - } - - public TestCalcAttr(com.mendix.systemwideinterfaces.core.IContext context) - { - this(context, com.mendix.core.Core.instantiate(context, "DataTablesTestModule.TestCalcAttr")); - } - - protected TestCalcAttr(com.mendix.systemwideinterfaces.core.IContext context, com.mendix.systemwideinterfaces.core.IMendixObject testCalcAttrMendixObject) - { - if (testCalcAttrMendixObject == null) - throw new java.lang.IllegalArgumentException("The given object cannot be null."); - if (!com.mendix.core.Core.isSubClassOf("DataTablesTestModule.TestCalcAttr", testCalcAttrMendixObject.getType())) - throw new java.lang.IllegalArgumentException("The given object is not a DataTablesTestModule.TestCalcAttr"); - - this.testCalcAttrMendixObject = testCalcAttrMendixObject; - this.context = context; - } - - /** - * @deprecated Use 'TestCalcAttr.load(IContext, IMendixIdentifier)' instead. - */ - @Deprecated - public static datatablestestmodule.proxies.TestCalcAttr initialize(com.mendix.systemwideinterfaces.core.IContext context, com.mendix.systemwideinterfaces.core.IMendixIdentifier mendixIdentifier) throws com.mendix.core.CoreException - { - return datatablestestmodule.proxies.TestCalcAttr.load(context, mendixIdentifier); - } - - /** - * Initialize a proxy using context (recommended). This context will be used for security checking when the get- and set-methods without context parameters are called. - * The get- and set-methods with context parameter should be used when for instance sudo access is necessary (IContext.getSudoContext() can be used to obtain sudo access). - */ - public static datatablestestmodule.proxies.TestCalcAttr initialize(com.mendix.systemwideinterfaces.core.IContext context, com.mendix.systemwideinterfaces.core.IMendixObject mendixObject) - { - return new datatablestestmodule.proxies.TestCalcAttr(context, mendixObject); - } - - public static datatablestestmodule.proxies.TestCalcAttr load(com.mendix.systemwideinterfaces.core.IContext context, com.mendix.systemwideinterfaces.core.IMendixIdentifier mendixIdentifier) throws com.mendix.core.CoreException - { - com.mendix.systemwideinterfaces.core.IMendixObject mendixObject = com.mendix.core.Core.retrieveId(context, mendixIdentifier); - return datatablestestmodule.proxies.TestCalcAttr.initialize(context, mendixObject); - } - - public static java.util.List load(com.mendix.systemwideinterfaces.core.IContext context, java.lang.String xpathConstraint) throws com.mendix.core.CoreException - { - java.util.List result = new java.util.ArrayList(); - for (com.mendix.systemwideinterfaces.core.IMendixObject obj : com.mendix.core.Core.retrieveXPathQuery(context, "//DataTablesTestModule.TestCalcAttr" + xpathConstraint)) - result.add(datatablestestmodule.proxies.TestCalcAttr.initialize(context, obj)); - return result; - } - - /** - * Commit the changes made on this proxy object. - */ - public final void commit() throws com.mendix.core.CoreException - { - com.mendix.core.Core.commit(context, getMendixObject()); - } - - /** - * Commit the changes made on this proxy object using the specified context. - */ - public final void commit(com.mendix.systemwideinterfaces.core.IContext context) throws com.mendix.core.CoreException - { - com.mendix.core.Core.commit(context, getMendixObject()); - } - - /** - * Delete the object. - */ - public final void delete() - { - com.mendix.core.Core.delete(context, getMendixObject()); - } - - /** - * Delete the object using the specified context. - */ - public final void delete(com.mendix.systemwideinterfaces.core.IContext context) - { - com.mendix.core.Core.delete(context, getMendixObject()); - } - /** - * Set value of CalcAttr - * @param calcattr - */ - public final datatablestestmodule.proxies.Color getCalcAttr() - { - return getCalcAttr(getContext()); - } - - /** - * @param context - * @return value of CalcAttr - */ - public final datatablestestmodule.proxies.Color getCalcAttr(com.mendix.systemwideinterfaces.core.IContext context) - { - Object obj = getMendixObject().getValue(context, MemberNames.CalcAttr.toString()); - if (obj == null) - return null; - - return datatablestestmodule.proxies.Color.valueOf((java.lang.String) obj); - } - - /** - * Set value of CalcAttr - * @param calcattr - */ - public final void setCalcAttr(datatablestestmodule.proxies.Color calcattr) - { - setCalcAttr(getContext(), calcattr); - } - - /** - * Set value of CalcAttr - * @param context - * @param calcattr - */ - public final void setCalcAttr(com.mendix.systemwideinterfaces.core.IContext context, datatablestestmodule.proxies.Color calcattr) - { - if (calcattr != null) - getMendixObject().setValue(context, MemberNames.CalcAttr.toString(), calcattr.toString()); - else - getMendixObject().setValue(context, MemberNames.CalcAttr.toString(), null); - } - - /** - * @return value of Count - */ - public final java.lang.Integer getCount() - { - return getCount(getContext()); - } - - /** - * @param context - * @return value of Count - */ - public final java.lang.Integer getCount(com.mendix.systemwideinterfaces.core.IContext context) - { - return (java.lang.Integer) getMendixObject().getValue(context, MemberNames.Count.toString()); - } - - /** - * Set value of Count - * @param count - */ - public final void setCount(java.lang.Integer count) - { - setCount(getContext(), count); - } - - /** - * Set value of Count - * @param context - * @param count - */ - public final void setCount(com.mendix.systemwideinterfaces.core.IContext context, java.lang.Integer count) - { - getMendixObject().setValue(context, MemberNames.Count.toString(), count); - } - - /** - * @return value of Item - */ - public final java.lang.String getItem() - { - return getItem(getContext()); - } - - /** - * @param context - * @return value of Item - */ - public final java.lang.String getItem(com.mendix.systemwideinterfaces.core.IContext context) - { - return (java.lang.String) getMendixObject().getValue(context, MemberNames.Item.toString()); - } - - /** - * Set value of Item - * @param item - */ - public final void setItem(java.lang.String item) - { - setItem(getContext(), item); - } - - /** - * Set value of Item - * @param context - * @param item - */ - public final void setItem(com.mendix.systemwideinterfaces.core.IContext context, java.lang.String item) - { - getMendixObject().setValue(context, MemberNames.Item.toString(), item); - } - - /** - * @return the IMendixObject instance of this proxy for use in the Core interface. - */ - public final com.mendix.systemwideinterfaces.core.IMendixObject getMendixObject() - { - return testCalcAttrMendixObject; - } - - /** - * @return the IContext instance of this proxy, or null if no IContext instance was specified at initialization. - */ - public final com.mendix.systemwideinterfaces.core.IContext getContext() - { - return context; - } - - @Override - public boolean equals(Object obj) - { - if (obj == this) - return true; - - if (obj != null && getClass().equals(obj.getClass())) - { - final datatablestestmodule.proxies.TestCalcAttr that = (datatablestestmodule.proxies.TestCalcAttr) obj; - return getMendixObject().equals(that.getMendixObject()); - } - return false; - } - - @Override - public int hashCode() - { - return getMendixObject().hashCode(); - } - - /** - * @return String name of this class - */ - public static java.lang.String getType() - { - return "DataTablesTestModule.TestCalcAttr"; - } - - /** - * @return String GUID from this object, format: ID_0000000000 - * @deprecated Use getMendixObject().getId().toLong() to get a unique identifier for this object. - */ - @Deprecated - public java.lang.String getGUID() - { - return "ID_" + getMendixObject().getId().toLong(); - } -} diff --git a/test/javasource/datatablestestmodule/proxies/TestDataTypes.java b/test/javasource/datatablestestmodule/proxies/TestDataTypes.java deleted file mode 100644 index 40e0f8f..0000000 --- a/test/javasource/datatablestestmodule/proxies/TestDataTypes.java +++ /dev/null @@ -1,659 +0,0 @@ -// This file was generated by Mendix Modeler. -// -// WARNING: Code you write here will be lost the next time you deploy the project. - -package datatablestestmodule.proxies; - -public class TestDataTypes -{ - private final com.mendix.systemwideinterfaces.core.IMendixObject testDataTypesMendixObject; - - private final com.mendix.systemwideinterfaces.core.IContext context; - - /** - * Internal name of this entity - */ - public static final java.lang.String entityName = "DataTablesTestModule.TestDataTypes"; - - /** - * Enum describing members of this entity - */ - public enum MemberNames - { - Name("Name"), - Description("Description"), - ItemNumber("ItemNumber"), - Bool("Bool"), - DateValue("DateValue"), - DateTimeValue("DateTimeValue"), - TimeValue("TimeValue"), - DecimalValue("DecimalValue"), - DeviceType("DeviceType"), - FloatValue("FloatValue"), - IntegerValue("IntegerValue"), - LongValue("LongValue"), - CurrencyValue("CurrencyValue"); - - private java.lang.String metaName; - - MemberNames(java.lang.String s) - { - metaName = s; - } - - @Override - public java.lang.String toString() - { - return metaName; - } - } - - public TestDataTypes(com.mendix.systemwideinterfaces.core.IContext context) - { - this(context, com.mendix.core.Core.instantiate(context, "DataTablesTestModule.TestDataTypes")); - } - - protected TestDataTypes(com.mendix.systemwideinterfaces.core.IContext context, com.mendix.systemwideinterfaces.core.IMendixObject testDataTypesMendixObject) - { - if (testDataTypesMendixObject == null) - throw new java.lang.IllegalArgumentException("The given object cannot be null."); - if (!com.mendix.core.Core.isSubClassOf("DataTablesTestModule.TestDataTypes", testDataTypesMendixObject.getType())) - throw new java.lang.IllegalArgumentException("The given object is not a DataTablesTestModule.TestDataTypes"); - - this.testDataTypesMendixObject = testDataTypesMendixObject; - this.context = context; - } - - /** - * @deprecated Use 'TestDataTypes.load(IContext, IMendixIdentifier)' instead. - */ - @Deprecated - public static datatablestestmodule.proxies.TestDataTypes initialize(com.mendix.systemwideinterfaces.core.IContext context, com.mendix.systemwideinterfaces.core.IMendixIdentifier mendixIdentifier) throws com.mendix.core.CoreException - { - return datatablestestmodule.proxies.TestDataTypes.load(context, mendixIdentifier); - } - - /** - * Initialize a proxy using context (recommended). This context will be used for security checking when the get- and set-methods without context parameters are called. - * The get- and set-methods with context parameter should be used when for instance sudo access is necessary (IContext.getSudoContext() can be used to obtain sudo access). - */ - public static datatablestestmodule.proxies.TestDataTypes initialize(com.mendix.systemwideinterfaces.core.IContext context, com.mendix.systemwideinterfaces.core.IMendixObject mendixObject) - { - return new datatablestestmodule.proxies.TestDataTypes(context, mendixObject); - } - - public static datatablestestmodule.proxies.TestDataTypes load(com.mendix.systemwideinterfaces.core.IContext context, com.mendix.systemwideinterfaces.core.IMendixIdentifier mendixIdentifier) throws com.mendix.core.CoreException - { - com.mendix.systemwideinterfaces.core.IMendixObject mendixObject = com.mendix.core.Core.retrieveId(context, mendixIdentifier); - return datatablestestmodule.proxies.TestDataTypes.initialize(context, mendixObject); - } - - public static java.util.List load(com.mendix.systemwideinterfaces.core.IContext context, java.lang.String xpathConstraint) throws com.mendix.core.CoreException - { - java.util.List result = new java.util.ArrayList(); - for (com.mendix.systemwideinterfaces.core.IMendixObject obj : com.mendix.core.Core.retrieveXPathQuery(context, "//DataTablesTestModule.TestDataTypes" + xpathConstraint)) - result.add(datatablestestmodule.proxies.TestDataTypes.initialize(context, obj)); - return result; - } - - /** - * Commit the changes made on this proxy object. - */ - public final void commit() throws com.mendix.core.CoreException - { - com.mendix.core.Core.commit(context, getMendixObject()); - } - - /** - * Commit the changes made on this proxy object using the specified context. - */ - public final void commit(com.mendix.systemwideinterfaces.core.IContext context) throws com.mendix.core.CoreException - { - com.mendix.core.Core.commit(context, getMendixObject()); - } - - /** - * Delete the object. - */ - public final void delete() - { - com.mendix.core.Core.delete(context, getMendixObject()); - } - - /** - * Delete the object using the specified context. - */ - public final void delete(com.mendix.systemwideinterfaces.core.IContext context) - { - com.mendix.core.Core.delete(context, getMendixObject()); - } - /** - * @return value of Name - */ - public final java.lang.String getName() - { - return getName(getContext()); - } - - /** - * @param context - * @return value of Name - */ - public final java.lang.String getName(com.mendix.systemwideinterfaces.core.IContext context) - { - return (java.lang.String) getMendixObject().getValue(context, MemberNames.Name.toString()); - } - - /** - * Set value of Name - * @param name - */ - public final void setName(java.lang.String name) - { - setName(getContext(), name); - } - - /** - * Set value of Name - * @param context - * @param name - */ - public final void setName(com.mendix.systemwideinterfaces.core.IContext context, java.lang.String name) - { - getMendixObject().setValue(context, MemberNames.Name.toString(), name); - } - - /** - * @return value of Description - */ - public final java.lang.String getDescription() - { - return getDescription(getContext()); - } - - /** - * @param context - * @return value of Description - */ - public final java.lang.String getDescription(com.mendix.systemwideinterfaces.core.IContext context) - { - return (java.lang.String) getMendixObject().getValue(context, MemberNames.Description.toString()); - } - - /** - * Set value of Description - * @param description - */ - public final void setDescription(java.lang.String description) - { - setDescription(getContext(), description); - } - - /** - * Set value of Description - * @param context - * @param description - */ - public final void setDescription(com.mendix.systemwideinterfaces.core.IContext context, java.lang.String description) - { - getMendixObject().setValue(context, MemberNames.Description.toString(), description); - } - - /** - * @return value of ItemNumber - */ - public final java.lang.Long getItemNumber() - { - return getItemNumber(getContext()); - } - - /** - * @param context - * @return value of ItemNumber - */ - public final java.lang.Long getItemNumber(com.mendix.systemwideinterfaces.core.IContext context) - { - return (java.lang.Long) getMendixObject().getValue(context, MemberNames.ItemNumber.toString()); - } - - /** - * Set value of ItemNumber - * @param itemnumber - */ - public final void setItemNumber(java.lang.Long itemnumber) - { - setItemNumber(getContext(), itemnumber); - } - - /** - * Set value of ItemNumber - * @param context - * @param itemnumber - */ - public final void setItemNumber(com.mendix.systemwideinterfaces.core.IContext context, java.lang.Long itemnumber) - { - getMendixObject().setValue(context, MemberNames.ItemNumber.toString(), itemnumber); - } - - /** - * @return value of Bool - */ - public final java.lang.Boolean getBool() - { - return getBool(getContext()); - } - - /** - * @param context - * @return value of Bool - */ - public final java.lang.Boolean getBool(com.mendix.systemwideinterfaces.core.IContext context) - { - return (java.lang.Boolean) getMendixObject().getValue(context, MemberNames.Bool.toString()); - } - - /** - * Set value of Bool - * @param bool - */ - public final void setBool(java.lang.Boolean bool) - { - setBool(getContext(), bool); - } - - /** - * Set value of Bool - * @param context - * @param bool - */ - public final void setBool(com.mendix.systemwideinterfaces.core.IContext context, java.lang.Boolean bool) - { - getMendixObject().setValue(context, MemberNames.Bool.toString(), bool); - } - - /** - * @return value of DateValue - */ - public final java.util.Date getDateValue() - { - return getDateValue(getContext()); - } - - /** - * @param context - * @return value of DateValue - */ - public final java.util.Date getDateValue(com.mendix.systemwideinterfaces.core.IContext context) - { - return (java.util.Date) getMendixObject().getValue(context, MemberNames.DateValue.toString()); - } - - /** - * Set value of DateValue - * @param datevalue - */ - public final void setDateValue(java.util.Date datevalue) - { - setDateValue(getContext(), datevalue); - } - - /** - * Set value of DateValue - * @param context - * @param datevalue - */ - public final void setDateValue(com.mendix.systemwideinterfaces.core.IContext context, java.util.Date datevalue) - { - getMendixObject().setValue(context, MemberNames.DateValue.toString(), datevalue); - } - - /** - * @return value of DateTimeValue - */ - public final java.util.Date getDateTimeValue() - { - return getDateTimeValue(getContext()); - } - - /** - * @param context - * @return value of DateTimeValue - */ - public final java.util.Date getDateTimeValue(com.mendix.systemwideinterfaces.core.IContext context) - { - return (java.util.Date) getMendixObject().getValue(context, MemberNames.DateTimeValue.toString()); - } - - /** - * Set value of DateTimeValue - * @param datetimevalue - */ - public final void setDateTimeValue(java.util.Date datetimevalue) - { - setDateTimeValue(getContext(), datetimevalue); - } - - /** - * Set value of DateTimeValue - * @param context - * @param datetimevalue - */ - public final void setDateTimeValue(com.mendix.systemwideinterfaces.core.IContext context, java.util.Date datetimevalue) - { - getMendixObject().setValue(context, MemberNames.DateTimeValue.toString(), datetimevalue); - } - - /** - * @return value of TimeValue - */ - public final java.util.Date getTimeValue() - { - return getTimeValue(getContext()); - } - - /** - * @param context - * @return value of TimeValue - */ - public final java.util.Date getTimeValue(com.mendix.systemwideinterfaces.core.IContext context) - { - return (java.util.Date) getMendixObject().getValue(context, MemberNames.TimeValue.toString()); - } - - /** - * Set value of TimeValue - * @param timevalue - */ - public final void setTimeValue(java.util.Date timevalue) - { - setTimeValue(getContext(), timevalue); - } - - /** - * Set value of TimeValue - * @param context - * @param timevalue - */ - public final void setTimeValue(com.mendix.systemwideinterfaces.core.IContext context, java.util.Date timevalue) - { - getMendixObject().setValue(context, MemberNames.TimeValue.toString(), timevalue); - } - - /** - * @return value of DecimalValue - */ - public final java.math.BigDecimal getDecimalValue() - { - return getDecimalValue(getContext()); - } - - /** - * @param context - * @return value of DecimalValue - */ - public final java.math.BigDecimal getDecimalValue(com.mendix.systemwideinterfaces.core.IContext context) - { - return (java.math.BigDecimal) getMendixObject().getValue(context, MemberNames.DecimalValue.toString()); - } - - /** - * Set value of DecimalValue - * @param decimalvalue - */ - public final void setDecimalValue(java.math.BigDecimal decimalvalue) - { - setDecimalValue(getContext(), decimalvalue); - } - - /** - * Set value of DecimalValue - * @param context - * @param decimalvalue - */ - public final void setDecimalValue(com.mendix.systemwideinterfaces.core.IContext context, java.math.BigDecimal decimalvalue) - { - getMendixObject().setValue(context, MemberNames.DecimalValue.toString(), decimalvalue); - } - - /** - * Set value of DeviceType - * @param devicetype - */ - public final system.proxies.DeviceType getDeviceType() - { - return getDeviceType(getContext()); - } - - /** - * @param context - * @return value of DeviceType - */ - public final system.proxies.DeviceType getDeviceType(com.mendix.systemwideinterfaces.core.IContext context) - { - Object obj = getMendixObject().getValue(context, MemberNames.DeviceType.toString()); - if (obj == null) - return null; - - return system.proxies.DeviceType.valueOf((java.lang.String) obj); - } - - /** - * Set value of DeviceType - * @param devicetype - */ - public final void setDeviceType(system.proxies.DeviceType devicetype) - { - setDeviceType(getContext(), devicetype); - } - - /** - * Set value of DeviceType - * @param context - * @param devicetype - */ - public final void setDeviceType(com.mendix.systemwideinterfaces.core.IContext context, system.proxies.DeviceType devicetype) - { - if (devicetype != null) - getMendixObject().setValue(context, MemberNames.DeviceType.toString(), devicetype.toString()); - else - getMendixObject().setValue(context, MemberNames.DeviceType.toString(), null); - } - - /** - * @return value of FloatValue - */ - public final java.lang.Double getFloatValue() - { - return getFloatValue(getContext()); - } - - /** - * @param context - * @return value of FloatValue - */ - public final java.lang.Double getFloatValue(com.mendix.systemwideinterfaces.core.IContext context) - { - return (java.lang.Double) getMendixObject().getValue(context, MemberNames.FloatValue.toString()); - } - - /** - * Set value of FloatValue - * @param floatvalue - */ - public final void setFloatValue(java.lang.Double floatvalue) - { - setFloatValue(getContext(), floatvalue); - } - - /** - * Set value of FloatValue - * @param context - * @param floatvalue - */ - public final void setFloatValue(com.mendix.systemwideinterfaces.core.IContext context, java.lang.Double floatvalue) - { - getMendixObject().setValue(context, MemberNames.FloatValue.toString(), floatvalue); - } - - /** - * @return value of IntegerValue - */ - public final java.lang.Integer getIntegerValue() - { - return getIntegerValue(getContext()); - } - - /** - * @param context - * @return value of IntegerValue - */ - public final java.lang.Integer getIntegerValue(com.mendix.systemwideinterfaces.core.IContext context) - { - return (java.lang.Integer) getMendixObject().getValue(context, MemberNames.IntegerValue.toString()); - } - - /** - * Set value of IntegerValue - * @param integervalue - */ - public final void setIntegerValue(java.lang.Integer integervalue) - { - setIntegerValue(getContext(), integervalue); - } - - /** - * Set value of IntegerValue - * @param context - * @param integervalue - */ - public final void setIntegerValue(com.mendix.systemwideinterfaces.core.IContext context, java.lang.Integer integervalue) - { - getMendixObject().setValue(context, MemberNames.IntegerValue.toString(), integervalue); - } - - /** - * @return value of LongValue - */ - public final java.lang.Long getLongValue() - { - return getLongValue(getContext()); - } - - /** - * @param context - * @return value of LongValue - */ - public final java.lang.Long getLongValue(com.mendix.systemwideinterfaces.core.IContext context) - { - return (java.lang.Long) getMendixObject().getValue(context, MemberNames.LongValue.toString()); - } - - /** - * Set value of LongValue - * @param longvalue - */ - public final void setLongValue(java.lang.Long longvalue) - { - setLongValue(getContext(), longvalue); - } - - /** - * Set value of LongValue - * @param context - * @param longvalue - */ - public final void setLongValue(com.mendix.systemwideinterfaces.core.IContext context, java.lang.Long longvalue) - { - getMendixObject().setValue(context, MemberNames.LongValue.toString(), longvalue); - } - - /** - * @return value of CurrencyValue - */ - public final java.lang.Double getCurrencyValue() - { - return getCurrencyValue(getContext()); - } - - /** - * @param context - * @return value of CurrencyValue - */ - public final java.lang.Double getCurrencyValue(com.mendix.systemwideinterfaces.core.IContext context) - { - return (java.lang.Double) getMendixObject().getValue(context, MemberNames.CurrencyValue.toString()); - } - - /** - * Set value of CurrencyValue - * @param currencyvalue - */ - public final void setCurrencyValue(java.lang.Double currencyvalue) - { - setCurrencyValue(getContext(), currencyvalue); - } - - /** - * Set value of CurrencyValue - * @param context - * @param currencyvalue - */ - public final void setCurrencyValue(com.mendix.systemwideinterfaces.core.IContext context, java.lang.Double currencyvalue) - { - getMendixObject().setValue(context, MemberNames.CurrencyValue.toString(), currencyvalue); - } - - /** - * @return the IMendixObject instance of this proxy for use in the Core interface. - */ - public final com.mendix.systemwideinterfaces.core.IMendixObject getMendixObject() - { - return testDataTypesMendixObject; - } - - /** - * @return the IContext instance of this proxy, or null if no IContext instance was specified at initialization. - */ - public final com.mendix.systemwideinterfaces.core.IContext getContext() - { - return context; - } - - @Override - public boolean equals(Object obj) - { - if (obj == this) - return true; - - if (obj != null && getClass().equals(obj.getClass())) - { - final datatablestestmodule.proxies.TestDataTypes that = (datatablestestmodule.proxies.TestDataTypes) obj; - return getMendixObject().equals(that.getMendixObject()); - } - return false; - } - - @Override - public int hashCode() - { - return getMendixObject().hashCode(); - } - - /** - * @return String name of this class - */ - public static java.lang.String getType() - { - return "DataTablesTestModule.TestDataTypes"; - } - - /** - * @return String GUID from this object, format: ID_0000000000 - * @deprecated Use getMendixObject().getId().toLong() to get a unique identifier for this object. - */ - @Deprecated - public java.lang.String getGUID() - { - return "ID_" + getMendixObject().getId().toLong(); - } -} diff --git a/test/javasource/datatablestestmodule/proxies/UserSessionObject.java b/test/javasource/datatablestestmodule/proxies/UserSessionObject.java deleted file mode 100644 index 590c54d..0000000 --- a/test/javasource/datatablestestmodule/proxies/UserSessionObject.java +++ /dev/null @@ -1,250 +0,0 @@ -// This file was generated by Mendix Modeler. -// -// WARNING: Code you write here will be lost the next time you deploy the project. - -package datatablestestmodule.proxies; - -public class UserSessionObject -{ - private final com.mendix.systemwideinterfaces.core.IMendixObject userSessionObjectMendixObject; - - private final com.mendix.systemwideinterfaces.core.IContext context; - - /** - * Internal name of this entity - */ - public static final java.lang.String entityName = "DataTablesTestModule.UserSessionObject"; - - /** - * Enum describing members of this entity - */ - public enum MemberNames - { - UserSessionObject_DataTableContextEntity("DataTablesTestModule.UserSessionObject_DataTableContextEntity"), - UserSessionObject_Session("DataTablesTestModule.UserSessionObject_Session"); - - private java.lang.String metaName; - - MemberNames(java.lang.String s) - { - metaName = s; - } - - @Override - public java.lang.String toString() - { - return metaName; - } - } - - public UserSessionObject(com.mendix.systemwideinterfaces.core.IContext context) - { - this(context, com.mendix.core.Core.instantiate(context, "DataTablesTestModule.UserSessionObject")); - } - - protected UserSessionObject(com.mendix.systemwideinterfaces.core.IContext context, com.mendix.systemwideinterfaces.core.IMendixObject userSessionObjectMendixObject) - { - if (userSessionObjectMendixObject == null) - throw new java.lang.IllegalArgumentException("The given object cannot be null."); - if (!com.mendix.core.Core.isSubClassOf("DataTablesTestModule.UserSessionObject", userSessionObjectMendixObject.getType())) - throw new java.lang.IllegalArgumentException("The given object is not a DataTablesTestModule.UserSessionObject"); - - this.userSessionObjectMendixObject = userSessionObjectMendixObject; - this.context = context; - } - - /** - * @deprecated Use 'UserSessionObject.load(IContext, IMendixIdentifier)' instead. - */ - @Deprecated - public static datatablestestmodule.proxies.UserSessionObject initialize(com.mendix.systemwideinterfaces.core.IContext context, com.mendix.systemwideinterfaces.core.IMendixIdentifier mendixIdentifier) throws com.mendix.core.CoreException - { - return datatablestestmodule.proxies.UserSessionObject.load(context, mendixIdentifier); - } - - /** - * Initialize a proxy using context (recommended). This context will be used for security checking when the get- and set-methods without context parameters are called. - * The get- and set-methods with context parameter should be used when for instance sudo access is necessary (IContext.getSudoContext() can be used to obtain sudo access). - */ - public static datatablestestmodule.proxies.UserSessionObject initialize(com.mendix.systemwideinterfaces.core.IContext context, com.mendix.systemwideinterfaces.core.IMendixObject mendixObject) - { - return new datatablestestmodule.proxies.UserSessionObject(context, mendixObject); - } - - public static datatablestestmodule.proxies.UserSessionObject load(com.mendix.systemwideinterfaces.core.IContext context, com.mendix.systemwideinterfaces.core.IMendixIdentifier mendixIdentifier) throws com.mendix.core.CoreException - { - com.mendix.systemwideinterfaces.core.IMendixObject mendixObject = com.mendix.core.Core.retrieveId(context, mendixIdentifier); - return datatablestestmodule.proxies.UserSessionObject.initialize(context, mendixObject); - } - - /** - * Commit the changes made on this proxy object. - */ - public final void commit() throws com.mendix.core.CoreException - { - com.mendix.core.Core.commit(context, getMendixObject()); - } - - /** - * Commit the changes made on this proxy object using the specified context. - */ - public final void commit(com.mendix.systemwideinterfaces.core.IContext context) throws com.mendix.core.CoreException - { - com.mendix.core.Core.commit(context, getMendixObject()); - } - - /** - * Delete the object. - */ - public final void delete() - { - com.mendix.core.Core.delete(context, getMendixObject()); - } - - /** - * Delete the object using the specified context. - */ - public final void delete(com.mendix.systemwideinterfaces.core.IContext context) - { - com.mendix.core.Core.delete(context, getMendixObject()); - } - /** - * @return value of UserSessionObject_DataTableContextEntity - */ - public final datatablestestmodule.proxies.DataTableContextEntity getUserSessionObject_DataTableContextEntity() throws com.mendix.core.CoreException - { - return getUserSessionObject_DataTableContextEntity(getContext()); - } - - /** - * @param context - * @return value of UserSessionObject_DataTableContextEntity - */ - public final datatablestestmodule.proxies.DataTableContextEntity getUserSessionObject_DataTableContextEntity(com.mendix.systemwideinterfaces.core.IContext context) throws com.mendix.core.CoreException - { - datatablestestmodule.proxies.DataTableContextEntity result = null; - com.mendix.systemwideinterfaces.core.IMendixIdentifier identifier = getMendixObject().getValue(context, MemberNames.UserSessionObject_DataTableContextEntity.toString()); - if (identifier != null) - result = datatablestestmodule.proxies.DataTableContextEntity.load(context, identifier); - return result; - } - - /** - * Set value of UserSessionObject_DataTableContextEntity - * @param usersessionobject_datatablecontextentity - */ - public final void setUserSessionObject_DataTableContextEntity(datatablestestmodule.proxies.DataTableContextEntity usersessionobject_datatablecontextentity) - { - setUserSessionObject_DataTableContextEntity(getContext(), usersessionobject_datatablecontextentity); - } - - /** - * Set value of UserSessionObject_DataTableContextEntity - * @param context - * @param usersessionobject_datatablecontextentity - */ - public final void setUserSessionObject_DataTableContextEntity(com.mendix.systemwideinterfaces.core.IContext context, datatablestestmodule.proxies.DataTableContextEntity usersessionobject_datatablecontextentity) - { - if (usersessionobject_datatablecontextentity == null) - getMendixObject().setValue(context, MemberNames.UserSessionObject_DataTableContextEntity.toString(), null); - else - getMendixObject().setValue(context, MemberNames.UserSessionObject_DataTableContextEntity.toString(), usersessionobject_datatablecontextentity.getMendixObject().getId()); - } - - /** - * @return value of UserSessionObject_Session - */ - public final system.proxies.Session getUserSessionObject_Session() throws com.mendix.core.CoreException - { - return getUserSessionObject_Session(getContext()); - } - - /** - * @param context - * @return value of UserSessionObject_Session - */ - public final system.proxies.Session getUserSessionObject_Session(com.mendix.systemwideinterfaces.core.IContext context) throws com.mendix.core.CoreException - { - system.proxies.Session result = null; - com.mendix.systemwideinterfaces.core.IMendixIdentifier identifier = getMendixObject().getValue(context, MemberNames.UserSessionObject_Session.toString()); - if (identifier != null) - result = system.proxies.Session.load(context, identifier); - return result; - } - - /** - * Set value of UserSessionObject_Session - * @param usersessionobject_session - */ - public final void setUserSessionObject_Session(system.proxies.Session usersessionobject_session) - { - setUserSessionObject_Session(getContext(), usersessionobject_session); - } - - /** - * Set value of UserSessionObject_Session - * @param context - * @param usersessionobject_session - */ - public final void setUserSessionObject_Session(com.mendix.systemwideinterfaces.core.IContext context, system.proxies.Session usersessionobject_session) - { - if (usersessionobject_session == null) - getMendixObject().setValue(context, MemberNames.UserSessionObject_Session.toString(), null); - else - getMendixObject().setValue(context, MemberNames.UserSessionObject_Session.toString(), usersessionobject_session.getMendixObject().getId()); - } - - /** - * @return the IMendixObject instance of this proxy for use in the Core interface. - */ - public final com.mendix.systemwideinterfaces.core.IMendixObject getMendixObject() - { - return userSessionObjectMendixObject; - } - - /** - * @return the IContext instance of this proxy, or null if no IContext instance was specified at initialization. - */ - public final com.mendix.systemwideinterfaces.core.IContext getContext() - { - return context; - } - - @Override - public boolean equals(Object obj) - { - if (obj == this) - return true; - - if (obj != null && getClass().equals(obj.getClass())) - { - final datatablestestmodule.proxies.UserSessionObject that = (datatablestestmodule.proxies.UserSessionObject) obj; - return getMendixObject().equals(that.getMendixObject()); - } - return false; - } - - @Override - public int hashCode() - { - return getMendixObject().hashCode(); - } - - /** - * @return String name of this class - */ - public static java.lang.String getType() - { - return "DataTablesTestModule.UserSessionObject"; - } - - /** - * @return String GUID from this object, format: ID_0000000000 - * @deprecated Use getMendixObject().getId().toLong() to get a unique identifier for this object. - */ - @Deprecated - public java.lang.String getGUID() - { - return "ID_" + getMendixObject().getId().toLong(); - } -} diff --git a/test/javasource/datatablestestmodule/proxies/constants/Constants.java b/test/javasource/datatablestestmodule/proxies/constants/Constants.java deleted file mode 100644 index c0c659a..0000000 --- a/test/javasource/datatablestestmodule/proxies/constants/Constants.java +++ /dev/null @@ -1,17 +0,0 @@ -// This file was generated by Mendix Modeler 6.10. -// -// WARNING: Code you write here will be lost the next time you deploy the project. - -package datatablestestmodule.proxies.constants; - -import com.mendix.core.Core; - -public class Constants -{ - // These are the constants for the DataTablesTestModule module - - public static java.lang.String getLOGNODE_DATATABLES_TEST() - { - return (java.lang.String)Core.getConfiguration().getConstantValue("DataTablesTestModule.LOGNODE_DATATABLES_TEST"); - } -} \ No newline at end of file diff --git a/test/javasource/datatablestestmodule/proxies/microflows/Microflows.java b/test/javasource/datatablestestmodule/proxies/microflows/Microflows.java deleted file mode 100644 index 23bdded..0000000 --- a/test/javasource/datatablestestmodule/proxies/microflows/Microflows.java +++ /dev/null @@ -1,442 +0,0 @@ -// This file was generated by Mendix Modeler 6.10. -// -// WARNING: Code you write here will be lost the next time you deploy the project. - -package datatablestestmodule.proxies.microflows; - -import java.util.HashMap; -import java.util.Map; -import com.mendix.core.Core; -import com.mendix.core.CoreException; -import com.mendix.systemwideinterfaces.MendixRuntimeException; -import com.mendix.systemwideinterfaces.core.IContext; -import com.mendix.systemwideinterfaces.core.IMendixObject; - -public class Microflows -{ - // These are the microflows for the DataTablesTestModule module - public static void aCT_Country_ConnectToPersonData(IContext context) - { - try - { - Map params = new HashMap(); - Core.execute(context, "DataTablesTestModule.ACT_Country_ConnectToPersonData", params); - } - catch (CoreException e) - { - throw new MendixRuntimeException(e); - } - } - public static void aCT_Country_SetLanguage(IContext context) - { - try - { - Map params = new HashMap(); - Core.execute(context, "DataTablesTestModule.ACT_Country_SetLanguage", params); - } - catch (CoreException e) - { - throw new MendixRuntimeException(e); - } - } - public static void aCT_DataTableContextEntity_ForceRefresh(IContext context, datatablestestmodule.proxies.DataTableContextEntity _dataTableContextEntity) - { - try - { - Map params = new HashMap(); - params.put("DataTableContextEntity", _dataTableContextEntity == null ? null : _dataTableContextEntity.getMendixObject()); - Core.execute(context, "DataTablesTestModule.ACT_DataTableContextEntity_ForceRefresh", params); - } - catch (CoreException e) - { - throw new MendixRuntimeException(e); - } - } - public static void aCT_DataTableContextEntity_ForceRefreshKeepPosition(IContext context, datatablestestmodule.proxies.DataTableContextEntity _dataTableContextEntity) - { - try - { - Map params = new HashMap(); - params.put("DataTableContextEntity", _dataTableContextEntity == null ? null : _dataTableContextEntity.getMendixObject()); - Core.execute(context, "DataTablesTestModule.ACT_DataTableContextEntity_ForceRefreshKeepPosition", params); - } - catch (CoreException e) - { - throw new MendixRuntimeException(e); - } - } - public static void aCT_ImportData(IContext context, datatablestestmodule.proxies.ImportData _importData) - { - try - { - Map params = new HashMap(); - params.put("ImportData", _importData == null ? null : _importData.getMendixObject()); - Core.execute(context, "DataTablesTestModule.ACT_ImportData", params); - } - catch (CoreException e) - { - throw new MendixRuntimeException(e); - } - } - public static void aCT_Person_LogSelection(IContext context, java.util.List _personList, datatablestestmodule.proxies.Person _person) - { - try - { - Map params = new HashMap(); - java.util.ArrayList listparam_personList = null; - if (_personList != null) - { - listparam_personList = new java.util.ArrayList(); - for (datatablestestmodule.proxies.Person obj : _personList) - listparam_personList.add(obj.getMendixObject()); - } - params.put("PersonList", listparam_personList); - params.put("Person", _person == null ? null : _person.getMendixObject()); - Core.execute(context, "DataTablesTestModule.ACT_Person_LogSelection", params); - } - catch (CoreException e) - { - throw new MendixRuntimeException(e); - } - } - public static void aCT_Person_LogSelectionWithObjectRefresh(IContext context, java.util.List _personList, datatablestestmodule.proxies.Person _person) - { - try - { - Map params = new HashMap(); - java.util.ArrayList listparam_personList = null; - if (_personList != null) - { - listparam_personList = new java.util.ArrayList(); - for (datatablestestmodule.proxies.Person obj : _personList) - listparam_personList.add(obj.getMendixObject()); - } - params.put("PersonList", listparam_personList); - params.put("Person", _person == null ? null : _person.getMendixObject()); - Core.execute(context, "DataTablesTestModule.ACT_Person_LogSelectionWithObjectRefresh", params); - } - catch (CoreException e) - { - throw new MendixRuntimeException(e); - } - } - public static void aCT_TestCalcAttr_Create(IContext context) - { - try - { - Map params = new HashMap(); - Core.execute(context, "DataTablesTestModule.ACT_TestCalcAttr_Create", params); - } - catch (CoreException e) - { - throw new MendixRuntimeException(e); - } - } - public static void aCT_TestCalcAttr_Delete(IContext context, datatablestestmodule.proxies.TestCalcAttr _testCalcAttr) - { - try - { - Map params = new HashMap(); - params.put("TestCalcAttr", _testCalcAttr == null ? null : _testCalcAttr.getMendixObject()); - Core.execute(context, "DataTablesTestModule.ACT_TestCalcAttr_Delete", params); - } - catch (CoreException e) - { - throw new MendixRuntimeException(e); - } - } - public static void aCT_TestCalcAttr_Edit(IContext context, datatablestestmodule.proxies.TestCalcAttr _testCalcAttr) - { - try - { - Map params = new HashMap(); - params.put("TestCalcAttr", _testCalcAttr == null ? null : _testCalcAttr.getMendixObject()); - Core.execute(context, "DataTablesTestModule.ACT_TestCalcAttr_Edit", params); - } - catch (CoreException e) - { - throw new MendixRuntimeException(e); - } - } - public static void aCT_TestCalcAttr_Save(IContext context, datatablestestmodule.proxies.TestCalcAttr _testCalcAttr) - { - try - { - Map params = new HashMap(); - params.put("TestCalcAttr", _testCalcAttr == null ? null : _testCalcAttr.getMendixObject()); - Core.execute(context, "DataTablesTestModule.ACT_TestCalcAttr_Save", params); - } - catch (CoreException e) - { - throw new MendixRuntimeException(e); - } - } - public static void aCT_TestDataTypes_Create(IContext context, datatablestestmodule.proxies.DataTableContextEntity _dataTableContextEntity) - { - try - { - Map params = new HashMap(); - params.put("DataTableContextEntity", _dataTableContextEntity == null ? null : _dataTableContextEntity.getMendixObject()); - Core.execute(context, "DataTablesTestModule.ACT_TestDataTypes_Create", params); - } - catch (CoreException e) - { - throw new MendixRuntimeException(e); - } - } - public static void aCT_TestDataTypes_Delete(IContext context, datatablestestmodule.proxies.TestDataTypes _testDataTypes) - { - try - { - Map params = new HashMap(); - params.put("TestDataTypes", _testDataTypes == null ? null : _testDataTypes.getMendixObject()); - Core.execute(context, "DataTablesTestModule.ACT_TestDataTypes_Delete", params); - } - catch (CoreException e) - { - throw new MendixRuntimeException(e); - } - } - public static void aCT_TestDataTypes_Edit_InContent(IContext context, datatablestestmodule.proxies.TestDataTypes _testDataTypes) - { - try - { - Map params = new HashMap(); - params.put("TestDataTypes", _testDataTypes == null ? null : _testDataTypes.getMendixObject()); - Core.execute(context, "DataTablesTestModule.ACT_TestDataTypes_Edit_InContent", params); - } - catch (CoreException e) - { - throw new MendixRuntimeException(e); - } - } - public static void aCT_TestDataTypes_Edit_Popup(IContext context, datatablestestmodule.proxies.TestDataTypes _testDataTypes) - { - try - { - Map params = new HashMap(); - params.put("TestDataTypes", _testDataTypes == null ? null : _testDataTypes.getMendixObject()); - Core.execute(context, "DataTablesTestModule.ACT_TestDataTypes_Edit_Popup", params); - } - catch (CoreException e) - { - throw new MendixRuntimeException(e); - } - } - public static void aCT_TestDataTypes_Edit_Popup_LongRunning(IContext context, datatablestestmodule.proxies.TestDataTypes _testDataTypes) - { - try - { - Map params = new HashMap(); - params.put("TestDataTypes", _testDataTypes == null ? null : _testDataTypes.getMendixObject()); - Core.execute(context, "DataTablesTestModule.ACT_TestDataTypes_Edit_Popup_LongRunning", params); - } - catch (CoreException e) - { - throw new MendixRuntimeException(e); - } - } - public static void aCT_TestDataTypes_Save(IContext context, datatablestestmodule.proxies.TestDataTypes _testDataTypes) - { - try - { - Map params = new HashMap(); - params.put("TestDataTypes", _testDataTypes == null ? null : _testDataTypes.getMendixObject()); - Core.execute(context, "DataTablesTestModule.ACT_TestDataTypes_Save", params); - } - catch (CoreException e) - { - throw new MendixRuntimeException(e); - } - } - public static boolean aSU_AfterStartup(IContext context) - { - try - { - Map params = new HashMap(); - return (java.lang.Boolean)Core.execute(context, "DataTablesTestModule.ASU_AfterStartup", params); - } - catch (CoreException e) - { - throw new MendixRuntimeException(e); - } - } - public static datatablestestmodule.proxies.Color cAL_TestCalcAttr_CalcAttr(IContext context, datatablestestmodule.proxies.TestCalcAttr _testCalcAttr) - { - try - { - Map params = new HashMap(); - params.put("TestCalcAttr", _testCalcAttr == null ? null : _testCalcAttr.getMendixObject()); - java.lang.String result = (java.lang.String)Core.execute(context, "DataTablesTestModule.CAL_TestCalcAttr_CalcAttr", params); - if (result == null) - return null; - return datatablestestmodule.proxies.Color.valueOf(result); - } - catch (CoreException e) - { - throw new MendixRuntimeException(e); - } - } - public static datatablestestmodule.proxies.DataTableContextEntity dS_DataGridContextEntity(IContext context) - { - try - { - Map params = new HashMap(); - IMendixObject result = (IMendixObject)Core.execute(context, "DataTablesTestModule.DS_DataGridContextEntity", params); - return result == null ? null : datatablestestmodule.proxies.DataTableContextEntity.initialize(context, result); - } - catch (CoreException e) - { - throw new MendixRuntimeException(e); - } - } - public static datatablestestmodule.proxies.ImportData dS_ImportData(IContext context) - { - try - { - Map params = new HashMap(); - IMendixObject result = (IMendixObject)Core.execute(context, "DataTablesTestModule.DS_ImportData", params); - return result == null ? null : datatablestestmodule.proxies.ImportData.initialize(context, result); - } - catch (CoreException e) - { - throw new MendixRuntimeException(e); - } - } - public static void nT_ShowDemoMasterDetail1(IContext context) - { - try - { - Map params = new HashMap(); - Core.execute(context, "DataTablesTestModule.NT_ShowDemoMasterDetail1", params); - } - catch (CoreException e) - { - throw new MendixRuntimeException(e); - } - } - public static void nT_ShowDemoMasterDetail2(IContext context) - { - try - { - Map params = new HashMap(); - Core.execute(context, "DataTablesTestModule.NT_ShowDemoMasterDetail2", params); - } - catch (CoreException e) - { - throw new MendixRuntimeException(e); - } - } - public static void nT_ShowDemoSearchFilters1(IContext context) - { - try - { - Map params = new HashMap(); - Core.execute(context, "DataTablesTestModule.NT_ShowDemoSearchFilters1", params); - } - catch (CoreException e) - { - throw new MendixRuntimeException(e); - } - } - public static void nT_ShowDemoSearchFilters2(IContext context) - { - try - { - Map params = new HashMap(); - Core.execute(context, "DataTablesTestModule.NT_ShowDemoSearchFilters2", params); - } - catch (CoreException e) - { - throw new MendixRuntimeException(e); - } - } - public static void nT_ShowDemoXPathInput(IContext context) - { - try - { - Map params = new HashMap(); - Core.execute(context, "DataTablesTestModule.NT_ShowDemoXPathInput", params); - } - catch (CoreException e) - { - throw new MendixRuntimeException(e); - } - } - public static void nT_ShowHomePage(IContext context) - { - try - { - Map params = new HashMap(); - Core.execute(context, "DataTablesTestModule.NT_ShowHomePage", params); - } - catch (CoreException e) - { - throw new MendixRuntimeException(e); - } - } - public static void oCh_DataTableContextEntity_DateTimeValue(IContext context, datatablestestmodule.proxies.DataTableContextEntity _dataTableContextEntity) - { - try - { - Map params = new HashMap(); - params.put("DataTableContextEntity", _dataTableContextEntity == null ? null : _dataTableContextEntity.getMendixObject()); - Core.execute(context, "DataTablesTestModule.OCh_DataTableContextEntity_DateTimeValue", params); - } - catch (CoreException e) - { - throw new MendixRuntimeException(e); - } - } - public static void oCh_Person_ShowSelectedPerson(IContext context, datatablestestmodule.proxies.Person _person) - { - try - { - Map params = new HashMap(); - params.put("Person", _person == null ? null : _person.getMendixObject()); - Core.execute(context, "DataTablesTestModule.OCh_Person_ShowSelectedPerson", params); - } - catch (CoreException e) - { - throw new MendixRuntimeException(e); - } - } - public static void oCh_Person_ShowSelectedPerson_NoEmptySelection(IContext context, datatablestestmodule.proxies.Person _person) - { - try - { - Map params = new HashMap(); - params.put("Person", _person == null ? null : _person.getMendixObject()); - Core.execute(context, "DataTablesTestModule.OCh_Person_ShowSelectedPerson_NoEmptySelection", params); - } - catch (CoreException e) - { - throw new MendixRuntimeException(e); - } - } - public static datatablestestmodule.proxies.DataTableContextEntity sUB_DataTableContextEntity_GetFromSession(IContext context) - { - try - { - Map params = new HashMap(); - IMendixObject result = (IMendixObject)Core.execute(context, "DataTablesTestModule.SUB_DataTableContextEntity_GetFromSession", params); - return result == null ? null : datatablestestmodule.proxies.DataTableContextEntity.initialize(context, result); - } - catch (CoreException e) - { - throw new MendixRuntimeException(e); - } - } - public static void sUB_UserSessionObject_Create(IContext context) - { - try - { - Map params = new HashMap(); - Core.execute(context, "DataTablesTestModule.SUB_UserSessionObject_Create", params); - } - catch (CoreException e) - { - throw new MendixRuntimeException(e); - } - } -} \ No newline at end of file diff --git a/test/widgets/DataTables.mpk b/test/widgets/DataTables.mpk index de1657b..d2e8dfc 100644 Binary files a/test/widgets/DataTables.mpk and b/test/widgets/DataTables.mpk differ