/* * 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; /** * RelationshipTypeRecordImpl * * @since 8.0 */ public class RelationshipTypeRecordImpl extends AbstractRelationshipRecord implements RelationshipTypeRecord { // names private String sourceRoleName; private String targetRoleName; private String superTypeUUID; /* (non-Javadoc) * @See org.teiid.designer.core.relationship.search.index.RelationshipTypeRecord#getSourceRoleName() */ @Override public String getSourceRoleName() { return this.sourceRoleName; } /* (non-Javadoc) * @See org.teiid.designer.core.relationship.search.index.RelationshipTypeRecord#getSuperTypeName() */ @Override public String getSuperTypeUUID() { return this.superTypeUUID; } /* (non-Javadoc) * @See org.teiid.designer.core.relationship.search.index.RelationshipTypeRecord#getTargetRoleName() */ @Override public String getTargetRoleName() { return this.targetRoleName; } /* (non-Javadoc) * @See org.teiid.designer.core.relationship.search.index.SearchRecord#getRecordType() */ @Override public char getRecordType() { return IndexConstants.SEARCH_RECORD_TYPE.RELATIONSHIP_TYPE; } /** * @param string */ public void setSourceRoleName(String string) { sourceRoleName = string; } /** * @param string */ public void setSuperTypeUUID(String string) { superTypeUUID = string; } /** * @param string */ public void setTargetRoleName(String string) { targetRoleName = string; } }