SchemaSlurper.groovy revision 3b9de50fdf0980762d6930a49e1a0f20b61a6f6b
af062818b47340eef15700d2f0211576ba3506eevboxsync * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
af062818b47340eef15700d2f0211576ba3506eevboxsync * Copyright (c) 2014 ForgeRock AS. All Rights Reserved
af062818b47340eef15700d2f0211576ba3506eevboxsync * The contents of this file are subject to the terms
af062818b47340eef15700d2f0211576ba3506eevboxsync * of the Common Development and Distribution License
af062818b47340eef15700d2f0211576ba3506eevboxsync * (the License). You may not use this file except in
af062818b47340eef15700d2f0211576ba3506eevboxsync * compliance with the License.
af062818b47340eef15700d2f0211576ba3506eevboxsync * You can obtain a copy of the License at
af062818b47340eef15700d2f0211576ba3506eevboxsync * See the License for the specific language governing
af062818b47340eef15700d2f0211576ba3506eevboxsync * permission and limitations under the License.
af062818b47340eef15700d2f0211576ba3506eevboxsync * When distributing Covered Code, include this CDDL
af062818b47340eef15700d2f0211576ba3506eevboxsync * Header Notice in each file and include the License file
af062818b47340eef15700d2f0211576ba3506eevboxsync * If applicable, add the following below the CDDL Header,
af062818b47340eef15700d2f0211576ba3506eevboxsync * with the fields enclosed by brackets [] replaced by
af062818b47340eef15700d2f0211576ba3506eevboxsync * your own identifying information:
af062818b47340eef15700d2f0211576ba3506eevboxsync * "Portions Copyrighted [year] [name of copyright owner]"
af062818b47340eef15700d2f0211576ba3506eevboxsyncimport org.forgerock.openicf.misc.crest.VisitorParameter
af062818b47340eef15700d2f0211576ba3506eevboxsyncimport org.identityconnectors.common.security.GuardedByteArray
af062818b47340eef15700d2f0211576ba3506eevboxsyncimport org.identityconnectors.common.security.GuardedString
af062818b47340eef15700d2f0211576ba3506eevboxsyncimport org.identityconnectors.framework.common.exceptions.ConfigurationException
af062818b47340eef15700d2f0211576ba3506eevboxsyncimport org.identityconnectors.framework.common.objects.Attribute
af062818b47340eef15700d2f0211576ba3506eevboxsyncimport org.identityconnectors.framework.common.objects.AttributeInfo
af062818b47340eef15700d2f0211576ba3506eevboxsyncimport org.identityconnectors.framework.common.objects.AttributeInfoBuilder
af062818b47340eef15700d2f0211576ba3506eevboxsyncimport org.identityconnectors.framework.common.objects.AttributeUtil
af062818b47340eef15700d2f0211576ba3506eevboxsyncimport org.identityconnectors.framework.common.objects.Name
af062818b47340eef15700d2f0211576ba3506eevboxsyncimport org.identityconnectors.framework.common.objects.ObjectClass
af062818b47340eef15700d2f0211576ba3506eevboxsyncimport org.identityconnectors.framework.common.objects.QualifiedUid
af062818b47340eef15700d2f0211576ba3506eevboxsyncimport org.identityconnectors.framework.common.objects.Uid
af062818b47340eef15700d2f0211576ba3506eevboxsync * A CRESTSchema parses the OpenIDM configuration and builds the schema from.
af062818b47340eef15700d2f0211576ba3506eevboxsync * @author Laszlo Hordos
af062818b47340eef15700d2f0211576ba3506eevboxsync public static final String TYPE_INTEGER = "integer";
af062818b47340eef15700d2f0211576ba3506eevboxsync public static final String TYPE_BOOLEAN = "boolean";
af062818b47340eef15700d2f0211576ba3506eevboxsync public static final String JAVA_TYPE_BIGDECIMAL = "JAVA_TYPE_BIGDECIMAL";
af062818b47340eef15700d2f0211576ba3506eevboxsync public static final String JAVA_TYPE_BIGINTEGER = "JAVA_TYPE_BIGINTEGER";
af062818b47340eef15700d2f0211576ba3506eevboxsync public static final String JAVA_TYPE_PRIMITIVE_BOOLEAN = "JAVA_TYPE_PRIMITIVE_BOOLEAN";
af062818b47340eef15700d2f0211576ba3506eevboxsync public static final String JAVA_TYPE_BYTE_ARRAY = "JAVA_TYPE_BYTE_ARRAY";
af062818b47340eef15700d2f0211576ba3506eevboxsync public static final String JAVA_TYPE_CHAR = "JAVA_TYPE_CHAR";
return null
def parameter = visitorCache[key.second] = new org.forgerock.openicf.misc.crest.VisitorParameter() {
if (null != a) {
if (null != a) {
if (null != p) {