/******************************************************************************* * Copyright (c) 2008-2011 Chair for Applied Software Engineering, * Technische Universitaet Muenchen. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: ******************************************************************************/ package org.eclipse.emf.emfstore.internal.server.model.url; import org.eclipse.emf.ecore.EObject; /** * <!-- begin-user-doc --> A representation of the model object ' <em><b>Server Url</b></em>'. <!-- end-user-doc --> * * <p> * The following features are supported: * <ul> * <li>{@link org.eclipse.emf.emfstore.internal.server.model.url.ServerUrl#getHostName <em>Host Name</em>}</li> * <li>{@link org.eclipse.emf.emfstore.internal.server.model.url.ServerUrl#getPort <em>Port</em>}</li> * </ul> * </p> * * @see org.eclipse.emf.emfstore.internal.server.model.url.UrlPackage#getServerUrl() * @model * @generated */ public interface ServerUrl extends EObject { /** * Returns the value of the '<em><b>Host Name</b></em>' attribute. <!-- * begin-user-doc --> * <p> * If the meaning of the '<em>Host Name</em>' attribute isn't clear, there really should be more of a description * here... * </p> * <!-- end-user-doc --> * * @return the value of the '<em>Host Name</em>' attribute. * @see #setHostName(String) * @see org.eclipse.emf.emfstore.internal.server.model.url.UrlPackage#getServerUrl_HostName() * @model * @generated */ String getHostName(); /** * Sets the value of the ' {@link org.eclipse.emf.emfstore.internal.server.model.url.ServerUrl#getHostName * <em>Host Name</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc * --> * * @param value * the new value of the '<em>Host Name</em>' attribute. * @see #getHostName() * @generated */ void setHostName(String value); /** * Returns the value of the '<em><b>Port</b></em>' attribute. <!-- * begin-user-doc --> * <p> * If the meaning of the '<em>Port</em>' attribute isn't clear, there really should be more of a description here... * </p> * <!-- end-user-doc --> * * @return the value of the '<em>Port</em>' attribute. * @see #setPort(int) * @see org.eclipse.emf.emfstore.internal.server.model.url.UrlPackage#getServerUrl_Port() * @model * @generated */ int getPort(); /** * Sets the value of the '{@link org.eclipse.emf.emfstore.internal.server.model.url.ServerUrl#getPort <em>Port</em>} * ' attribute. * <!-- begin-user-doc --> <!-- end-user-doc --> * * @param value the new value of the '<em>Port</em>' attribute. * @see #getPort() * @generated */ void setPort(int value); /** * Returns a string representation of the url. * * @return the string */ String getUrlString(); } // ServerUrl