Example #1
0
  protected PasswordData(IContext context, IMendixObject passwordDataMendixObject) {
    if (passwordDataMendixObject == null)
      throw new IllegalArgumentException("The given object cannot be null.");
    if (!Core.isSubClassOf("Encryption.PasswordData", passwordDataMendixObject.getType()))
      throw new IllegalArgumentException("The given object is not a Encryption.PasswordData");

    this.passwordDataMendixObject = passwordDataMendixObject;
    this.context = context;
  }
Example #2
0
  protected TestEntity(IContext context, IMendixObject testEntityMendixObject) {
    if (testEntityMendixObject == null)
      throw new IllegalArgumentException("The given object cannot be null.");
    if (!Core.isSubClassOf("MyFirstModule.TestEntity", testEntityMendixObject.getType()))
      throw new IllegalArgumentException("The given object is not a MyFirstModule.TestEntity");

    this.testEntityMendixObject = testEntityMendixObject;
    this.context = context;
  }
Example #3
0
  protected SiteKey(IContext context, IMendixObject siteKeyMendixObject) {
    if (siteKeyMendixObject == null)
      throw new IllegalArgumentException("The given object cannot be null.");
    if (!Core.isSubClassOf("reCAPTCHA.SiteKey", siteKeyMendixObject.getType()))
      throw new IllegalArgumentException("The given object is not a reCAPTCHA.SiteKey");

    this.siteKeyMendixObject = siteKeyMendixObject;
    this.context = context;
  }
Example #4
0
  protected Cell(
      com.mendix.systemwideinterfaces.core.IContext context,
      com.mendix.systemwideinterfaces.core.IMendixObject cellMendixObject) {
    if (cellMendixObject == null)
      throw new java.lang.IllegalArgumentException("The given object cannot be null.");
    if (!com.mendix.core.Core.isSubClassOf("GoogleCharts.Cell", cellMendixObject.getType()))
      throw new java.lang.IllegalArgumentException("The given object is not a GoogleCharts.Cell");

    this.cellMendixObject = cellMendixObject;
    this.context = context;
  }
Example #5
0
  protected Email(
      com.mendix.systemwideinterfaces.core.IContext context,
      com.mendix.systemwideinterfaces.core.IMendixObject emailMendixObject) {
    if (emailMendixObject == null)
      throw new java.lang.IllegalArgumentException("The given object cannot be null.");
    if (!com.mendix.core.Core.isSubClassOf("EmailTemplate.Email", emailMendixObject.getType()))
      throw new java.lang.IllegalArgumentException("The given object is not a EmailTemplate.Email");

    this.emailMendixObject = emailMendixObject;
    this.context = context;
  }