/* * JBoss, Home of Professional Open Source. * * See the LEGAL.txt file distributed with this work for information regarding copyright ownership and licensing. * * See the AUTHORS.txt file distributed with this work for a full listing of individual contributors. */ package org.teiid.designer.core.search.runtime; import org.teiid.designer.core.index.IndexConstants; /** * ResourceRecordImpl * * @since 8.0 */ public class ResourceRecordImpl extends AbstractSearchRecord implements ResourceRecord { private String path; // uuid of the imported resource private String URI; // path to the imported resource private String metamodelURI; private String modelType; /* (non-Javadoc) * @See org.teiid.designer.core.search.runtime.ResourceRecord#getPath() */ @Override public String getPath() { return this.path; } /* (non-Javadoc) * @See org.teiid.designer.core.search.runtime.ResourceRecord#getURI() */ @Override public String getURI() { return this.URI; } /* (non-Javadoc) * @See org.teiid.designer.core.search.runtime.ResourceRecord#getMetamodelURI() */ @Override public String getMetamodelURI() { return this.metamodelURI; } /* (non-Javadoc) * @See org.teiid.designer.core.search.runtime.ResourceRecord#getModelType() */ @Override public String getModelType() { return this.modelType; } /* (non-Javadoc) * @See org.teiid.designer.core.search.runtime.SearchRecord#getRecordType() */ @Override public char getRecordType() { return IndexConstants.SEARCH_RECORD_TYPE.RESOURCE; } /** * @param string */ public void setMetamodelURI(String string) { metamodelURI = string; } /** * @param string */ public void setModelType(String string) { modelType = string; } /** * @param string */ public void setPath(String string) { path = string; } /** * @param string */ public void setURI(String string) { URI = string; } }