2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright © 2017-2018 AT&T Intellectual Property. All rights reserved.
6 * ================================================================================
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
11 * http://www.apache.org/licenses/LICENSE-2.0
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 * ============LICENSE_END=========================================================
20 package org.onap.aai.parsers.uri;
22 import org.onap.aai.exceptions.AAIException;
23 import org.onap.aai.introspection.Introspector;
24 import org.onap.aai.serialization.db.EdgeType;
26 import javax.ws.rs.core.MultivaluedMap;
29 * The Interface Parsable.
31 public interface Parsable {
38 * @throws AAIException
40 public void processObject(Introspector obj, EdgeType type, MultivaluedMap<String, String> uriKeys) throws AAIException;
45 * @param uriKeys the uri keys
46 * @param isFinalContainer the is final container
47 * @throws AAIException the AAI exception
49 public void processContainer(Introspector obj, EdgeType type, MultivaluedMap<String, String> uriKeys, boolean isFinalContainer) throws AAIException;
56 public void processNamespace(Introspector obj);
59 * Gets the cloud region transform.
61 * @return the cloud region transform
63 public String getCloudRegionTransform();
66 * Use original loader.
68 * @return true, if successful
70 public boolean useOriginalLoader();