blob: 1b332d2ccb3feb6fd32ff1de8c51a74e88a3958b [file] [log] [blame]
/**
* Copyright (c) 2010, 2012 Obeo.
* 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:
* Obeo - initial API and implementation
*/
package org.eclipse.mylyn.docs.intent.bridge.tags.impl;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.internal.cdo.CDOObjectImpl;
import org.eclipse.mylyn.docs.intent.bridge.tags.TaggedBlock;
import org.eclipse.mylyn.docs.intent.bridge.tags.TagsPackage;
/**
* <!-- begin-user-doc -->
* An implementation of the model object '<em><b>Tagged Block</b></em>'.
* <!-- end-user-doc -->
* <p>
* The following features are implemented:
* <ul>
* <li>{@link org.eclipse.mylyn.docs.intent.bridge.tags.impl.TaggedBlockImpl#getTag <em>Tag</em>}</li>
* <li>{@link org.eclipse.mylyn.docs.intent.bridge.tags.impl.TaggedBlockImpl#getContent <em>Content</em>}</li>
* </ul>
* </p>
*
* @generated
*/
public class TaggedBlockImpl extends CDOObjectImpl implements TaggedBlock {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected TaggedBlockImpl() {
super();
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
protected EClass eStaticClass() {
return TagsPackage.Literals.TAGGED_BLOCK;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
protected int eStaticFeatureCount() {
return 0;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public String getTag() {
return (String)eGet(TagsPackage.Literals.TAGGED_BLOCK__TAG, true);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setTag(String newTag) {
eSet(TagsPackage.Literals.TAGGED_BLOCK__TAG, newTag);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public String getContent() {
return (String)eGet(TagsPackage.Literals.TAGGED_BLOCK__CONTENT, true);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setContent(String newContent) {
eSet(TagsPackage.Literals.TAGGED_BLOCK__CONTENT, newContent);
}
} //TaggedBlockImpl