예제 #1
0
  @Override
  public boolean equals(Object obj) {
    if (obj == this) return true;

    if (obj != null && getClass().equals(obj.getClass())) {
      final recaptcha.proxies.SiteKey that = (recaptcha.proxies.SiteKey) obj;
      return getMendixObject().equals(that.getMendixObject());
    }
    return false;
  }
예제 #2
0
 public static java.util.List<recaptcha.proxies.SiteKey> load(
     IContext context, String xpathConstraint) throws CoreException {
   java.util.List<recaptcha.proxies.SiteKey> result =
       new java.util.ArrayList<recaptcha.proxies.SiteKey>();
   for (IMendixObject obj :
       Core.retrieveXPathQuery(context, "//reCAPTCHA.SiteKey" + xpathConstraint))
     result.add(recaptcha.proxies.SiteKey.initialize(context, obj));
   return result;
 }
예제 #3
0
 public static recaptcha.proxies.SiteKey load(IContext context, IMendixIdentifier mendixIdentifier)
     throws CoreException {
   IMendixObject mendixObject = Core.retrieveId(context, mendixIdentifier);
   return recaptcha.proxies.SiteKey.initialize(context, mendixObject);
 }
예제 #4
0
 /** @deprecated Use 'SiteKey.load(IContext, IMendixIdentifier)' instead. */
 @Deprecated
 public static recaptcha.proxies.SiteKey initialize(
     IContext context, IMendixIdentifier mendixIdentifier) throws CoreException {
   return recaptcha.proxies.SiteKey.load(context, mendixIdentifier);
 }