/*******************************************************************************
* Copyright (c) 2006-2012
* Software Technology Group, Dresden University of Technology
* DevBoost GmbH, Berlin, Amtsgericht Charlottenburg, HRB 140026
*
* 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:
* Software Technology Group - TU Dresden, Germany;
* DevBoost GmbH - Berlin, Germany
* - initial API and implementation
******************************************************************************/
/**
* <copyright>
* </copyright>
*
* $Id$
*/
package org.oasisopen.names.tc.opendocument.xmlns.drawing.impl;
import java.math.BigInteger;
import java.util.Collection;
import java.util.List;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.common.notify.NotificationChain;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.InternalEObject;
import org.eclipse.emf.ecore.impl.ENotificationImpl;
import org.eclipse.emf.ecore.impl.EObjectImpl;
import org.eclipse.emf.ecore.util.BasicFeatureMap;
import org.eclipse.emf.ecore.util.EObjectContainmentEList;
import org.eclipse.emf.ecore.util.FeatureMap;
import org.eclipse.emf.ecore.util.InternalEList;
import org.oasisopen.names.tc.opendocument.xmlns.drawing.AppletType;
import org.oasisopen.names.tc.opendocument.xmlns.drawing.ContourPathType;
import org.oasisopen.names.tc.opendocument.xmlns.drawing.ContourPolygonType;
import org.oasisopen.names.tc.opendocument.xmlns.drawing.DrawingPackage;
import org.oasisopen.names.tc.opendocument.xmlns.drawing.FloatingFrameType;
import org.oasisopen.names.tc.opendocument.xmlns.drawing.FrameType;
import org.oasisopen.names.tc.opendocument.xmlns.drawing.GluePointType;
import org.oasisopen.names.tc.opendocument.xmlns.drawing.ImageMapType;
import org.oasisopen.names.tc.opendocument.xmlns.drawing.ImageType;
import org.oasisopen.names.tc.opendocument.xmlns.drawing.ObjectOleType;
import org.oasisopen.names.tc.opendocument.xmlns.drawing.ObjectType;
import org.oasisopen.names.tc.opendocument.xmlns.drawing.PluginType;
import org.oasisopen.names.tc.opendocument.xmlns.drawing.TextBoxType;
import org.oasisopen.names.tc.opendocument.xmlns.office.EventListenersType;
import org.oasisopen.names.tc.opendocument.xmlns.text.AnchorTypeType;
import org.oasisopen.names.tc.opendocument.xmlns.text.PresentationClasses;
/**
* <!-- begin-user-doc -->
* An implementation of the model object '<em><b>Frame Type</b></em>'.
* <!-- end-user-doc -->
* <p>
* The following features are implemented:
* <ul>
* <li>{@link org.oasisopen.names.tc.opendocument.xmlns.drawing.impl.FrameTypeImpl#getGroup <em>Group</em>}</li>
* <li>{@link org.oasisopen.names.tc.opendocument.xmlns.drawing.impl.FrameTypeImpl#getTextBox <em>Text Box</em>}</li>
* <li>{@link org.oasisopen.names.tc.opendocument.xmlns.drawing.impl.FrameTypeImpl#getImage <em>Image</em>}</li>
* <li>{@link org.oasisopen.names.tc.opendocument.xmlns.drawing.impl.FrameTypeImpl#getObject <em>Object</em>}</li>
* <li>{@link org.oasisopen.names.tc.opendocument.xmlns.drawing.impl.FrameTypeImpl#getObjectOle <em>Object Ole</em>}</li>
* <li>{@link org.oasisopen.names.tc.opendocument.xmlns.drawing.impl.FrameTypeImpl#getApplet <em>Applet</em>}</li>
* <li>{@link org.oasisopen.names.tc.opendocument.xmlns.drawing.impl.FrameTypeImpl#getFloatingFrame <em>Floating Frame</em>}</li>
* <li>{@link org.oasisopen.names.tc.opendocument.xmlns.drawing.impl.FrameTypeImpl#getPlugin <em>Plugin</em>}</li>
* <li>{@link org.oasisopen.names.tc.opendocument.xmlns.drawing.impl.FrameTypeImpl#getEventListeners <em>Event Listeners</em>}</li>
* <li>{@link org.oasisopen.names.tc.opendocument.xmlns.drawing.impl.FrameTypeImpl#getGluePoint <em>Glue Point</em>}</li>
* <li>{@link org.oasisopen.names.tc.opendocument.xmlns.drawing.impl.FrameTypeImpl#getImageMap <em>Image Map</em>}</li>
* <li>{@link org.oasisopen.names.tc.opendocument.xmlns.drawing.impl.FrameTypeImpl#getTitle <em>Title</em>}</li>
* <li>{@link org.oasisopen.names.tc.opendocument.xmlns.drawing.impl.FrameTypeImpl#getDesc <em>Desc</em>}</li>
* <li>{@link org.oasisopen.names.tc.opendocument.xmlns.drawing.impl.FrameTypeImpl#getContourPolygon <em>Contour Polygon</em>}</li>
* <li>{@link org.oasisopen.names.tc.opendocument.xmlns.drawing.impl.FrameTypeImpl#getContourPath <em>Contour Path</em>}</li>
* <li>{@link org.oasisopen.names.tc.opendocument.xmlns.drawing.impl.FrameTypeImpl#getAnchorPageNumber <em>Anchor Page Number</em>}</li>
* <li>{@link org.oasisopen.names.tc.opendocument.xmlns.drawing.impl.FrameTypeImpl#getAnchorType <em>Anchor Type</em>}</li>
* <li>{@link org.oasisopen.names.tc.opendocument.xmlns.drawing.impl.FrameTypeImpl#getCaptionId <em>Caption Id</em>}</li>
* <li>{@link org.oasisopen.names.tc.opendocument.xmlns.drawing.impl.FrameTypeImpl#getClass_ <em>Class</em>}</li>
* <li>{@link org.oasisopen.names.tc.opendocument.xmlns.drawing.impl.FrameTypeImpl#getClassNames <em>Class Names</em>}</li>
* <li>{@link org.oasisopen.names.tc.opendocument.xmlns.drawing.impl.FrameTypeImpl#getClassNames1 <em>Class Names1</em>}</li>
* <li>{@link org.oasisopen.names.tc.opendocument.xmlns.drawing.impl.FrameTypeImpl#getCopyOf <em>Copy Of</em>}</li>
* <li>{@link org.oasisopen.names.tc.opendocument.xmlns.drawing.impl.FrameTypeImpl#getEndCellAddress <em>End Cell Address</em>}</li>
* <li>{@link org.oasisopen.names.tc.opendocument.xmlns.drawing.impl.FrameTypeImpl#getEndX <em>End X</em>}</li>
* <li>{@link org.oasisopen.names.tc.opendocument.xmlns.drawing.impl.FrameTypeImpl#getEndY <em>End Y</em>}</li>
* <li>{@link org.oasisopen.names.tc.opendocument.xmlns.drawing.impl.FrameTypeImpl#getHeight <em>Height</em>}</li>
* <li>{@link org.oasisopen.names.tc.opendocument.xmlns.drawing.impl.FrameTypeImpl#getId <em>Id</em>}</li>
* <li>{@link org.oasisopen.names.tc.opendocument.xmlns.drawing.impl.FrameTypeImpl#getLayer <em>Layer</em>}</li>
* <li>{@link org.oasisopen.names.tc.opendocument.xmlns.drawing.impl.FrameTypeImpl#getName <em>Name</em>}</li>
* <li>{@link org.oasisopen.names.tc.opendocument.xmlns.drawing.impl.FrameTypeImpl#getPlaceholder <em>Placeholder</em>}</li>
* <li>{@link org.oasisopen.names.tc.opendocument.xmlns.drawing.impl.FrameTypeImpl#getRelHeight <em>Rel Height</em>}</li>
* <li>{@link org.oasisopen.names.tc.opendocument.xmlns.drawing.impl.FrameTypeImpl#getRelWidth <em>Rel Width</em>}</li>
* <li>{@link org.oasisopen.names.tc.opendocument.xmlns.drawing.impl.FrameTypeImpl#getStyleName <em>Style Name</em>}</li>
* <li>{@link org.oasisopen.names.tc.opendocument.xmlns.drawing.impl.FrameTypeImpl#getStyleName1 <em>Style Name1</em>}</li>
* <li>{@link org.oasisopen.names.tc.opendocument.xmlns.drawing.impl.FrameTypeImpl#getTableBackground <em>Table Background</em>}</li>
* <li>{@link org.oasisopen.names.tc.opendocument.xmlns.drawing.impl.FrameTypeImpl#getTextStyleName <em>Text Style Name</em>}</li>
* <li>{@link org.oasisopen.names.tc.opendocument.xmlns.drawing.impl.FrameTypeImpl#getTransform <em>Transform</em>}</li>
* <li>{@link org.oasisopen.names.tc.opendocument.xmlns.drawing.impl.FrameTypeImpl#getUserTransformed <em>User Transformed</em>}</li>
* <li>{@link org.oasisopen.names.tc.opendocument.xmlns.drawing.impl.FrameTypeImpl#getWidth <em>Width</em>}</li>
* <li>{@link org.oasisopen.names.tc.opendocument.xmlns.drawing.impl.FrameTypeImpl#getX <em>X</em>}</li>
* <li>{@link org.oasisopen.names.tc.opendocument.xmlns.drawing.impl.FrameTypeImpl#getY <em>Y</em>}</li>
* <li>{@link org.oasisopen.names.tc.opendocument.xmlns.drawing.impl.FrameTypeImpl#getZIndex <em>ZIndex</em>}</li>
* </ul>
* </p>
*
* @generated
*/
public class FrameTypeImpl extends EObjectImpl implements FrameType {
/**
* The cached value of the '{@link #getGroup() <em>Group</em>}' attribute list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getGroup()
* @generated
* @ordered
*/
protected FeatureMap group;
/**
* The cached value of the '{@link #getEventListeners() <em>Event Listeners</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getEventListeners()
* @generated
* @ordered
*/
protected EventListenersType eventListeners;
/**
* The cached value of the '{@link #getGluePoint() <em>Glue Point</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getGluePoint()
* @generated
* @ordered
*/
protected EList<GluePointType> gluePoint;
/**
* The cached value of the '{@link #getImageMap() <em>Image Map</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getImageMap()
* @generated
* @ordered
*/
protected ImageMapType imageMap;
/**
* The default value of the '{@link #getTitle() <em>Title</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getTitle()
* @generated
* @ordered
*/
protected static final String TITLE_EDEFAULT = null;
/**
* The cached value of the '{@link #getTitle() <em>Title</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getTitle()
* @generated
* @ordered
*/
protected String title = TITLE_EDEFAULT;
/**
* The default value of the '{@link #getDesc() <em>Desc</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getDesc()
* @generated
* @ordered
*/
protected static final String DESC_EDEFAULT = null;
/**
* The cached value of the '{@link #getDesc() <em>Desc</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getDesc()
* @generated
* @ordered
*/
protected String desc = DESC_EDEFAULT;
/**
* The cached value of the '{@link #getContourPolygon() <em>Contour Polygon</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getContourPolygon()
* @generated
* @ordered
*/
protected ContourPolygonType contourPolygon;
/**
* The cached value of the '{@link #getContourPath() <em>Contour Path</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getContourPath()
* @generated
* @ordered
*/
protected ContourPathType contourPath;
/**
* The default value of the '{@link #getAnchorPageNumber() <em>Anchor Page Number</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getAnchorPageNumber()
* @generated
* @ordered
*/
protected static final BigInteger ANCHOR_PAGE_NUMBER_EDEFAULT = null;
/**
* The cached value of the '{@link #getAnchorPageNumber() <em>Anchor Page Number</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getAnchorPageNumber()
* @generated
* @ordered
*/
protected BigInteger anchorPageNumber = ANCHOR_PAGE_NUMBER_EDEFAULT;
/**
* The default value of the '{@link #getAnchorType() <em>Anchor Type</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getAnchorType()
* @generated
* @ordered
*/
protected static final AnchorTypeType ANCHOR_TYPE_EDEFAULT = AnchorTypeType.PAGE;
/**
* The cached value of the '{@link #getAnchorType() <em>Anchor Type</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getAnchorType()
* @generated
* @ordered
*/
protected AnchorTypeType anchorType = ANCHOR_TYPE_EDEFAULT;
/**
* This is true if the Anchor Type attribute has been set.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
protected boolean anchorTypeESet;
/**
* The default value of the '{@link #getCaptionId() <em>Caption Id</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getCaptionId()
* @generated
* @ordered
*/
protected static final String CAPTION_ID_EDEFAULT = null;
/**
* The cached value of the '{@link #getCaptionId() <em>Caption Id</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getCaptionId()
* @generated
* @ordered
*/
protected String captionId = CAPTION_ID_EDEFAULT;
/**
* The default value of the '{@link #getClass_() <em>Class</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getClass_()
* @generated
* @ordered
*/
protected static final PresentationClasses CLASS_EDEFAULT = PresentationClasses.TITLE;
/**
* The cached value of the '{@link #getClass_() <em>Class</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getClass_()
* @generated
* @ordered
*/
protected PresentationClasses class_ = CLASS_EDEFAULT;
/**
* This is true if the Class attribute has been set.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
protected boolean classESet;
/**
* The default value of the '{@link #getClassNames() <em>Class Names</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getClassNames()
* @generated
* @ordered
*/
protected static final List<String> CLASS_NAMES_EDEFAULT = null;
/**
* The cached value of the '{@link #getClassNames() <em>Class Names</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getClassNames()
* @generated
* @ordered
*/
protected List<String> classNames = CLASS_NAMES_EDEFAULT;
/**
* The default value of the '{@link #getClassNames1() <em>Class Names1</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getClassNames1()
* @generated
* @ordered
*/
protected static final List<String> CLASS_NAMES1_EDEFAULT = null;
/**
* The cached value of the '{@link #getClassNames1() <em>Class Names1</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getClassNames1()
* @generated
* @ordered
*/
protected List<String> classNames1 = CLASS_NAMES1_EDEFAULT;
/**
* The default value of the '{@link #getCopyOf() <em>Copy Of</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getCopyOf()
* @generated
* @ordered
*/
protected static final String COPY_OF_EDEFAULT = null;
/**
* The cached value of the '{@link #getCopyOf() <em>Copy Of</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getCopyOf()
* @generated
* @ordered
*/
protected String copyOf = COPY_OF_EDEFAULT;
/**
* The default value of the '{@link #getEndCellAddress() <em>End Cell Address</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getEndCellAddress()
* @generated
* @ordered
*/
protected static final String END_CELL_ADDRESS_EDEFAULT = null;
/**
* The cached value of the '{@link #getEndCellAddress() <em>End Cell Address</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getEndCellAddress()
* @generated
* @ordered
*/
protected String endCellAddress = END_CELL_ADDRESS_EDEFAULT;
/**
* The default value of the '{@link #getEndX() <em>End X</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getEndX()
* @generated
* @ordered
*/
protected static final String END_X_EDEFAULT = null;
/**
* The cached value of the '{@link #getEndX() <em>End X</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getEndX()
* @generated
* @ordered
*/
protected String endX = END_X_EDEFAULT;
/**
* The default value of the '{@link #getEndY() <em>End Y</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getEndY()
* @generated
* @ordered
*/
protected static final String END_Y_EDEFAULT = null;
/**
* The cached value of the '{@link #getEndY() <em>End Y</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getEndY()
* @generated
* @ordered
*/
protected String endY = END_Y_EDEFAULT;
/**
* The default value of the '{@link #getHeight() <em>Height</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getHeight()
* @generated
* @ordered
*/
protected static final String HEIGHT_EDEFAULT = null;
/**
* The cached value of the '{@link #getHeight() <em>Height</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getHeight()
* @generated
* @ordered
*/
protected String height = HEIGHT_EDEFAULT;
/**
* The default value of the '{@link #getId() <em>Id</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getId()
* @generated
* @ordered
*/
protected static final String ID_EDEFAULT = null;
/**
* The cached value of the '{@link #getId() <em>Id</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getId()
* @generated
* @ordered
*/
protected String id = ID_EDEFAULT;
/**
* The default value of the '{@link #getLayer() <em>Layer</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getLayer()
* @generated
* @ordered
*/
protected static final String LAYER_EDEFAULT = null;
/**
* The cached value of the '{@link #getLayer() <em>Layer</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getLayer()
* @generated
* @ordered
*/
protected String layer = LAYER_EDEFAULT;
/**
* The default value of the '{@link #getName() <em>Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getName()
* @generated
* @ordered
*/
protected static final String NAME_EDEFAULT = null;
/**
* The cached value of the '{@link #getName() <em>Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getName()
* @generated
* @ordered
*/
protected String name = NAME_EDEFAULT;
/**
* The default value of the '{@link #getPlaceholder() <em>Placeholder</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getPlaceholder()
* @generated
* @ordered
*/
protected static final org.oasisopen.names.tc.opendocument.xmlns.text.Boolean PLACEHOLDER_EDEFAULT = org.oasisopen.names.tc.opendocument.xmlns.text.Boolean.TRUE;
/**
* The cached value of the '{@link #getPlaceholder() <em>Placeholder</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getPlaceholder()
* @generated
* @ordered
*/
protected org.oasisopen.names.tc.opendocument.xmlns.text.Boolean placeholder = PLACEHOLDER_EDEFAULT;
/**
* This is true if the Placeholder attribute has been set.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
protected boolean placeholderESet;
/**
* The default value of the '{@link #getRelHeight() <em>Rel Height</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getRelHeight()
* @generated
* @ordered
*/
protected static final Object REL_HEIGHT_EDEFAULT = null;
/**
* The cached value of the '{@link #getRelHeight() <em>Rel Height</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getRelHeight()
* @generated
* @ordered
*/
protected Object relHeight = REL_HEIGHT_EDEFAULT;
/**
* The default value of the '{@link #getRelWidth() <em>Rel Width</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getRelWidth()
* @generated
* @ordered
*/
protected static final Object REL_WIDTH_EDEFAULT = null;
/**
* The cached value of the '{@link #getRelWidth() <em>Rel Width</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getRelWidth()
* @generated
* @ordered
*/
protected Object relWidth = REL_WIDTH_EDEFAULT;
/**
* The default value of the '{@link #getStyleName() <em>Style Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getStyleName()
* @generated
* @ordered
*/
protected static final String STYLE_NAME_EDEFAULT = null;
/**
* The cached value of the '{@link #getStyleName() <em>Style Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getStyleName()
* @generated
* @ordered
*/
protected String styleName = STYLE_NAME_EDEFAULT;
/**
* The default value of the '{@link #getStyleName1() <em>Style Name1</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getStyleName1()
* @generated
* @ordered
*/
protected static final String STYLE_NAME1_EDEFAULT = null;
/**
* The cached value of the '{@link #getStyleName1() <em>Style Name1</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getStyleName1()
* @generated
* @ordered
*/
protected String styleName1 = STYLE_NAME1_EDEFAULT;
/**
* The default value of the '{@link #getTableBackground() <em>Table Background</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getTableBackground()
* @generated
* @ordered
*/
protected static final org.oasisopen.names.tc.opendocument.xmlns.text.Boolean TABLE_BACKGROUND_EDEFAULT = org.oasisopen.names.tc.opendocument.xmlns.text.Boolean.TRUE;
/**
* The cached value of the '{@link #getTableBackground() <em>Table Background</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getTableBackground()
* @generated
* @ordered
*/
protected org.oasisopen.names.tc.opendocument.xmlns.text.Boolean tableBackground = TABLE_BACKGROUND_EDEFAULT;
/**
* This is true if the Table Background attribute has been set.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
protected boolean tableBackgroundESet;
/**
* The default value of the '{@link #getTextStyleName() <em>Text Style Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getTextStyleName()
* @generated
* @ordered
*/
protected static final String TEXT_STYLE_NAME_EDEFAULT = null;
/**
* The cached value of the '{@link #getTextStyleName() <em>Text Style Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getTextStyleName()
* @generated
* @ordered
*/
protected String textStyleName = TEXT_STYLE_NAME_EDEFAULT;
/**
* The default value of the '{@link #getTransform() <em>Transform</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getTransform()
* @generated
* @ordered
*/
protected static final String TRANSFORM_EDEFAULT = null;
/**
* The cached value of the '{@link #getTransform() <em>Transform</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getTransform()
* @generated
* @ordered
*/
protected String transform = TRANSFORM_EDEFAULT;
/**
* The default value of the '{@link #getUserTransformed() <em>User Transformed</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getUserTransformed()
* @generated
* @ordered
*/
protected static final org.oasisopen.names.tc.opendocument.xmlns.text.Boolean USER_TRANSFORMED_EDEFAULT = org.oasisopen.names.tc.opendocument.xmlns.text.Boolean.TRUE;
/**
* The cached value of the '{@link #getUserTransformed() <em>User Transformed</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getUserTransformed()
* @generated
* @ordered
*/
protected org.oasisopen.names.tc.opendocument.xmlns.text.Boolean userTransformed = USER_TRANSFORMED_EDEFAULT;
/**
* This is true if the User Transformed attribute has been set.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
protected boolean userTransformedESet;
/**
* The default value of the '{@link #getWidth() <em>Width</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getWidth()
* @generated
* @ordered
*/
protected static final String WIDTH_EDEFAULT = null;
/**
* The cached value of the '{@link #getWidth() <em>Width</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getWidth()
* @generated
* @ordered
*/
protected String width = WIDTH_EDEFAULT;
/**
* The default value of the '{@link #getX() <em>X</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getX()
* @generated
* @ordered
*/
protected static final String X_EDEFAULT = null;
/**
* The cached value of the '{@link #getX() <em>X</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getX()
* @generated
* @ordered
*/
protected String x = X_EDEFAULT;
/**
* The default value of the '{@link #getY() <em>Y</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getY()
* @generated
* @ordered
*/
protected static final String Y_EDEFAULT = null;
/**
* The cached value of the '{@link #getY() <em>Y</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getY()
* @generated
* @ordered
*/
protected String y = Y_EDEFAULT;
/**
* The default value of the '{@link #getZIndex() <em>ZIndex</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getZIndex()
* @generated
* @ordered
*/
protected static final BigInteger ZINDEX_EDEFAULT = null;
/**
* The cached value of the '{@link #getZIndex() <em>ZIndex</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getZIndex()
* @generated
* @ordered
*/
protected BigInteger zIndex = ZINDEX_EDEFAULT;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected FrameTypeImpl() {
super();
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
protected EClass eStaticClass() {
return DrawingPackage.eINSTANCE.getFrameType();
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public FeatureMap getGroup() {
if (group == null) {
group = new BasicFeatureMap(this, DrawingPackage.FRAME_TYPE__GROUP);
}
return group;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EList<TextBoxType> getTextBox() {
return getGroup().list(DrawingPackage.eINSTANCE.getFrameType_TextBox());
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EList<ImageType> getImage() {
return getGroup().list(DrawingPackage.eINSTANCE.getFrameType_Image());
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EList<ObjectType> getObject() {
return getGroup().list(DrawingPackage.eINSTANCE.getFrameType_Object());
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EList<ObjectOleType> getObjectOle() {
return getGroup().list(DrawingPackage.eINSTANCE.getFrameType_ObjectOle());
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EList<AppletType> getApplet() {
return getGroup().list(DrawingPackage.eINSTANCE.getFrameType_Applet());
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EList<FloatingFrameType> getFloatingFrame() {
return getGroup().list(DrawingPackage.eINSTANCE.getFrameType_FloatingFrame());
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EList<PluginType> getPlugin() {
return getGroup().list(DrawingPackage.eINSTANCE.getFrameType_Plugin());
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EventListenersType getEventListeners() {
return eventListeners;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetEventListeners(EventListenersType newEventListeners, NotificationChain msgs) {
EventListenersType oldEventListeners = eventListeners;
eventListeners = newEventListeners;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, DrawingPackage.FRAME_TYPE__EVENT_LISTENERS, oldEventListeners, newEventListeners);
if (msgs == null) msgs = notification; else msgs.add(notification);
}
return msgs;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setEventListeners(EventListenersType newEventListeners) {
if (newEventListeners != eventListeners) {
NotificationChain msgs = null;
if (eventListeners != null)
msgs = ((InternalEObject)eventListeners).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - DrawingPackage.FRAME_TYPE__EVENT_LISTENERS, null, msgs);
if (newEventListeners != null)
msgs = ((InternalEObject)newEventListeners).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - DrawingPackage.FRAME_TYPE__EVENT_LISTENERS, null, msgs);
msgs = basicSetEventListeners(newEventListeners, msgs);
if (msgs != null) msgs.dispatch();
}
else if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, DrawingPackage.FRAME_TYPE__EVENT_LISTENERS, newEventListeners, newEventListeners));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EList<GluePointType> getGluePoint() {
if (gluePoint == null) {
gluePoint = new EObjectContainmentEList<GluePointType>(GluePointType.class, this, DrawingPackage.FRAME_TYPE__GLUE_POINT);
}
return gluePoint;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public ImageMapType getImageMap() {
return imageMap;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetImageMap(ImageMapType newImageMap, NotificationChain msgs) {
ImageMapType oldImageMap = imageMap;
imageMap = newImageMap;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, DrawingPackage.FRAME_TYPE__IMAGE_MAP, oldImageMap, newImageMap);
if (msgs == null) msgs = notification; else msgs.add(notification);
}
return msgs;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setImageMap(ImageMapType newImageMap) {
if (newImageMap != imageMap) {
NotificationChain msgs = null;
if (imageMap != null)
msgs = ((InternalEObject)imageMap).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - DrawingPackage.FRAME_TYPE__IMAGE_MAP, null, msgs);
if (newImageMap != null)
msgs = ((InternalEObject)newImageMap).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - DrawingPackage.FRAME_TYPE__IMAGE_MAP, null, msgs);
msgs = basicSetImageMap(newImageMap, msgs);
if (msgs != null) msgs.dispatch();
}
else if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, DrawingPackage.FRAME_TYPE__IMAGE_MAP, newImageMap, newImageMap));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public String getTitle() {
return title;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setTitle(String newTitle) {
String oldTitle = title;
title = newTitle;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, DrawingPackage.FRAME_TYPE__TITLE, oldTitle, title));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public String getDesc() {
return desc;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setDesc(String newDesc) {
String oldDesc = desc;
desc = newDesc;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, DrawingPackage.FRAME_TYPE__DESC, oldDesc, desc));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public ContourPolygonType getContourPolygon() {
return contourPolygon;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetContourPolygon(ContourPolygonType newContourPolygon, NotificationChain msgs) {
ContourPolygonType oldContourPolygon = contourPolygon;
contourPolygon = newContourPolygon;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, DrawingPackage.FRAME_TYPE__CONTOUR_POLYGON, oldContourPolygon, newContourPolygon);
if (msgs == null) msgs = notification; else msgs.add(notification);
}
return msgs;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setContourPolygon(ContourPolygonType newContourPolygon) {
if (newContourPolygon != contourPolygon) {
NotificationChain msgs = null;
if (contourPolygon != null)
msgs = ((InternalEObject)contourPolygon).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - DrawingPackage.FRAME_TYPE__CONTOUR_POLYGON, null, msgs);
if (newContourPolygon != null)
msgs = ((InternalEObject)newContourPolygon).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - DrawingPackage.FRAME_TYPE__CONTOUR_POLYGON, null, msgs);
msgs = basicSetContourPolygon(newContourPolygon, msgs);
if (msgs != null) msgs.dispatch();
}
else if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, DrawingPackage.FRAME_TYPE__CONTOUR_POLYGON, newContourPolygon, newContourPolygon));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public ContourPathType getContourPath() {
return contourPath;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetContourPath(ContourPathType newContourPath, NotificationChain msgs) {
ContourPathType oldContourPath = contourPath;
contourPath = newContourPath;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, DrawingPackage.FRAME_TYPE__CONTOUR_PATH, oldContourPath, newContourPath);
if (msgs == null) msgs = notification; else msgs.add(notification);
}
return msgs;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setContourPath(ContourPathType newContourPath) {
if (newContourPath != contourPath) {
NotificationChain msgs = null;
if (contourPath != null)
msgs = ((InternalEObject)contourPath).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - DrawingPackage.FRAME_TYPE__CONTOUR_PATH, null, msgs);
if (newContourPath != null)
msgs = ((InternalEObject)newContourPath).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - DrawingPackage.FRAME_TYPE__CONTOUR_PATH, null, msgs);
msgs = basicSetContourPath(newContourPath, msgs);
if (msgs != null) msgs.dispatch();
}
else if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, DrawingPackage.FRAME_TYPE__CONTOUR_PATH, newContourPath, newContourPath));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public BigInteger getAnchorPageNumber() {
return anchorPageNumber;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setAnchorPageNumber(BigInteger newAnchorPageNumber) {
BigInteger oldAnchorPageNumber = anchorPageNumber;
anchorPageNumber = newAnchorPageNumber;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, DrawingPackage.FRAME_TYPE__ANCHOR_PAGE_NUMBER, oldAnchorPageNumber, anchorPageNumber));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public AnchorTypeType getAnchorType() {
return anchorType;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setAnchorType(AnchorTypeType newAnchorType) {
AnchorTypeType oldAnchorType = anchorType;
anchorType = newAnchorType == null ? ANCHOR_TYPE_EDEFAULT : newAnchorType;
boolean oldAnchorTypeESet = anchorTypeESet;
anchorTypeESet = true;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, DrawingPackage.FRAME_TYPE__ANCHOR_TYPE, oldAnchorType, anchorType, !oldAnchorTypeESet));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void unsetAnchorType() {
AnchorTypeType oldAnchorType = anchorType;
boolean oldAnchorTypeESet = anchorTypeESet;
anchorType = ANCHOR_TYPE_EDEFAULT;
anchorTypeESet = false;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.UNSET, DrawingPackage.FRAME_TYPE__ANCHOR_TYPE, oldAnchorType, ANCHOR_TYPE_EDEFAULT, oldAnchorTypeESet));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public boolean isSetAnchorType() {
return anchorTypeESet;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public String getCaptionId() {
return captionId;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setCaptionId(String newCaptionId) {
String oldCaptionId = captionId;
captionId = newCaptionId;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, DrawingPackage.FRAME_TYPE__CAPTION_ID, oldCaptionId, captionId));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public PresentationClasses getClass_() {
return class_;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setClass(PresentationClasses newClass) {
PresentationClasses oldClass = class_;
class_ = newClass == null ? CLASS_EDEFAULT : newClass;
boolean oldClassESet = classESet;
classESet = true;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, DrawingPackage.FRAME_TYPE__CLASS, oldClass, class_, !oldClassESet));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void unsetClass() {
PresentationClasses oldClass = class_;
boolean oldClassESet = classESet;
class_ = CLASS_EDEFAULT;
classESet = false;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.UNSET, DrawingPackage.FRAME_TYPE__CLASS, oldClass, CLASS_EDEFAULT, oldClassESet));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public boolean isSetClass() {
return classESet;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public List<String> getClassNames() {
return classNames;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setClassNames(List<String> newClassNames) {
List<String> oldClassNames = classNames;
classNames = newClassNames;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, DrawingPackage.FRAME_TYPE__CLASS_NAMES, oldClassNames, classNames));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public List<String> getClassNames1() {
return classNames1;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setClassNames1(List<String> newClassNames1) {
List<String> oldClassNames1 = classNames1;
classNames1 = newClassNames1;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, DrawingPackage.FRAME_TYPE__CLASS_NAMES1, oldClassNames1, classNames1));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public String getCopyOf() {
return copyOf;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setCopyOf(String newCopyOf) {
String oldCopyOf = copyOf;
copyOf = newCopyOf;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, DrawingPackage.FRAME_TYPE__COPY_OF, oldCopyOf, copyOf));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public String getEndCellAddress() {
return endCellAddress;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setEndCellAddress(String newEndCellAddress) {
String oldEndCellAddress = endCellAddress;
endCellAddress = newEndCellAddress;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, DrawingPackage.FRAME_TYPE__END_CELL_ADDRESS, oldEndCellAddress, endCellAddress));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public String getEndX() {
return endX;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setEndX(String newEndX) {
String oldEndX = endX;
endX = newEndX;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, DrawingPackage.FRAME_TYPE__END_X, oldEndX, endX));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public String getEndY() {
return endY;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setEndY(String newEndY) {
String oldEndY = endY;
endY = newEndY;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, DrawingPackage.FRAME_TYPE__END_Y, oldEndY, endY));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public String getHeight() {
return height;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setHeight(String newHeight) {
String oldHeight = height;
height = newHeight;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, DrawingPackage.FRAME_TYPE__HEIGHT, oldHeight, height));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public String getId() {
return id;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setId(String newId) {
String oldId = id;
id = newId;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, DrawingPackage.FRAME_TYPE__ID, oldId, id));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public String getLayer() {
return layer;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setLayer(String newLayer) {
String oldLayer = layer;
layer = newLayer;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, DrawingPackage.FRAME_TYPE__LAYER, oldLayer, layer));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public String getName() {
return name;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setName(String newName) {
String oldName = name;
name = newName;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, DrawingPackage.FRAME_TYPE__NAME, oldName, name));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public org.oasisopen.names.tc.opendocument.xmlns.text.Boolean getPlaceholder() {
return placeholder;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setPlaceholder(org.oasisopen.names.tc.opendocument.xmlns.text.Boolean newPlaceholder) {
org.oasisopen.names.tc.opendocument.xmlns.text.Boolean oldPlaceholder = placeholder;
placeholder = newPlaceholder == null ? PLACEHOLDER_EDEFAULT : newPlaceholder;
boolean oldPlaceholderESet = placeholderESet;
placeholderESet = true;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, DrawingPackage.FRAME_TYPE__PLACEHOLDER, oldPlaceholder, placeholder, !oldPlaceholderESet));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void unsetPlaceholder() {
org.oasisopen.names.tc.opendocument.xmlns.text.Boolean oldPlaceholder = placeholder;
boolean oldPlaceholderESet = placeholderESet;
placeholder = PLACEHOLDER_EDEFAULT;
placeholderESet = false;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.UNSET, DrawingPackage.FRAME_TYPE__PLACEHOLDER, oldPlaceholder, PLACEHOLDER_EDEFAULT, oldPlaceholderESet));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public boolean isSetPlaceholder() {
return placeholderESet;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public Object getRelHeight() {
return relHeight;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setRelHeight(Object newRelHeight) {
Object oldRelHeight = relHeight;
relHeight = newRelHeight;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, DrawingPackage.FRAME_TYPE__REL_HEIGHT, oldRelHeight, relHeight));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public Object getRelWidth() {
return relWidth;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setRelWidth(Object newRelWidth) {
Object oldRelWidth = relWidth;
relWidth = newRelWidth;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, DrawingPackage.FRAME_TYPE__REL_WIDTH, oldRelWidth, relWidth));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public String getStyleName() {
return styleName;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setStyleName(String newStyleName) {
String oldStyleName = styleName;
styleName = newStyleName;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, DrawingPackage.FRAME_TYPE__STYLE_NAME, oldStyleName, styleName));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public String getStyleName1() {
return styleName1;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setStyleName1(String newStyleName1) {
String oldStyleName1 = styleName1;
styleName1 = newStyleName1;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, DrawingPackage.FRAME_TYPE__STYLE_NAME1, oldStyleName1, styleName1));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public org.oasisopen.names.tc.opendocument.xmlns.text.Boolean getTableBackground() {
return tableBackground;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setTableBackground(org.oasisopen.names.tc.opendocument.xmlns.text.Boolean newTableBackground) {
org.oasisopen.names.tc.opendocument.xmlns.text.Boolean oldTableBackground = tableBackground;
tableBackground = newTableBackground == null ? TABLE_BACKGROUND_EDEFAULT : newTableBackground;
boolean oldTableBackgroundESet = tableBackgroundESet;
tableBackgroundESet = true;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, DrawingPackage.FRAME_TYPE__TABLE_BACKGROUND, oldTableBackground, tableBackground, !oldTableBackgroundESet));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void unsetTableBackground() {
org.oasisopen.names.tc.opendocument.xmlns.text.Boolean oldTableBackground = tableBackground;
boolean oldTableBackgroundESet = tableBackgroundESet;
tableBackground = TABLE_BACKGROUND_EDEFAULT;
tableBackgroundESet = false;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.UNSET, DrawingPackage.FRAME_TYPE__TABLE_BACKGROUND, oldTableBackground, TABLE_BACKGROUND_EDEFAULT, oldTableBackgroundESet));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public boolean isSetTableBackground() {
return tableBackgroundESet;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public String getTextStyleName() {
return textStyleName;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setTextStyleName(String newTextStyleName) {
String oldTextStyleName = textStyleName;
textStyleName = newTextStyleName;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, DrawingPackage.FRAME_TYPE__TEXT_STYLE_NAME, oldTextStyleName, textStyleName));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public String getTransform() {
return transform;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setTransform(String newTransform) {
String oldTransform = transform;
transform = newTransform;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, DrawingPackage.FRAME_TYPE__TRANSFORM, oldTransform, transform));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public org.oasisopen.names.tc.opendocument.xmlns.text.Boolean getUserTransformed() {
return userTransformed;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setUserTransformed(org.oasisopen.names.tc.opendocument.xmlns.text.Boolean newUserTransformed) {
org.oasisopen.names.tc.opendocument.xmlns.text.Boolean oldUserTransformed = userTransformed;
userTransformed = newUserTransformed == null ? USER_TRANSFORMED_EDEFAULT : newUserTransformed;
boolean oldUserTransformedESet = userTransformedESet;
userTransformedESet = true;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, DrawingPackage.FRAME_TYPE__USER_TRANSFORMED, oldUserTransformed, userTransformed, !oldUserTransformedESet));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void unsetUserTransformed() {
org.oasisopen.names.tc.opendocument.xmlns.text.Boolean oldUserTransformed = userTransformed;
boolean oldUserTransformedESet = userTransformedESet;
userTransformed = USER_TRANSFORMED_EDEFAULT;
userTransformedESet = false;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.UNSET, DrawingPackage.FRAME_TYPE__USER_TRANSFORMED, oldUserTransformed, USER_TRANSFORMED_EDEFAULT, oldUserTransformedESet));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public boolean isSetUserTransformed() {
return userTransformedESet;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public String getWidth() {
return width;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setWidth(String newWidth) {
String oldWidth = width;
width = newWidth;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, DrawingPackage.FRAME_TYPE__WIDTH, oldWidth, width));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public String getX() {
return x;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setX(String newX) {
String oldX = x;
x = newX;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, DrawingPackage.FRAME_TYPE__X, oldX, x));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public String getY() {
return y;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setY(String newY) {
String oldY = y;
y = newY;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, DrawingPackage.FRAME_TYPE__Y, oldY, y));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public BigInteger getZIndex() {
return zIndex;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setZIndex(BigInteger newZIndex) {
BigInteger oldZIndex = zIndex;
zIndex = newZIndex;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, DrawingPackage.FRAME_TYPE__ZINDEX, oldZIndex, zIndex));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
case DrawingPackage.FRAME_TYPE__GROUP:
return ((InternalEList<?>)getGroup()).basicRemove(otherEnd, msgs);
case DrawingPackage.FRAME_TYPE__TEXT_BOX:
return ((InternalEList<?>)getTextBox()).basicRemove(otherEnd, msgs);
case DrawingPackage.FRAME_TYPE__IMAGE:
return ((InternalEList<?>)getImage()).basicRemove(otherEnd, msgs);
case DrawingPackage.FRAME_TYPE__OBJECT:
return ((InternalEList<?>)getObject()).basicRemove(otherEnd, msgs);
case DrawingPackage.FRAME_TYPE__OBJECT_OLE:
return ((InternalEList<?>)getObjectOle()).basicRemove(otherEnd, msgs);
case DrawingPackage.FRAME_TYPE__APPLET:
return ((InternalEList<?>)getApplet()).basicRemove(otherEnd, msgs);
case DrawingPackage.FRAME_TYPE__FLOATING_FRAME:
return ((InternalEList<?>)getFloatingFrame()).basicRemove(otherEnd, msgs);
case DrawingPackage.FRAME_TYPE__PLUGIN:
return ((InternalEList<?>)getPlugin()).basicRemove(otherEnd, msgs);
case DrawingPackage.FRAME_TYPE__EVENT_LISTENERS:
return basicSetEventListeners(null, msgs);
case DrawingPackage.FRAME_TYPE__GLUE_POINT:
return ((InternalEList<?>)getGluePoint()).basicRemove(otherEnd, msgs);
case DrawingPackage.FRAME_TYPE__IMAGE_MAP:
return basicSetImageMap(null, msgs);
case DrawingPackage.FRAME_TYPE__CONTOUR_POLYGON:
return basicSetContourPolygon(null, msgs);
case DrawingPackage.FRAME_TYPE__CONTOUR_PATH:
return basicSetContourPath(null, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
case DrawingPackage.FRAME_TYPE__GROUP:
if (coreType) return getGroup();
return ((FeatureMap.Internal)getGroup()).getWrapper();
case DrawingPackage.FRAME_TYPE__TEXT_BOX:
return getTextBox();
case DrawingPackage.FRAME_TYPE__IMAGE:
return getImage();
case DrawingPackage.FRAME_TYPE__OBJECT:
return getObject();
case DrawingPackage.FRAME_TYPE__OBJECT_OLE:
return getObjectOle();
case DrawingPackage.FRAME_TYPE__APPLET:
return getApplet();
case DrawingPackage.FRAME_TYPE__FLOATING_FRAME:
return getFloatingFrame();
case DrawingPackage.FRAME_TYPE__PLUGIN:
return getPlugin();
case DrawingPackage.FRAME_TYPE__EVENT_LISTENERS:
return getEventListeners();
case DrawingPackage.FRAME_TYPE__GLUE_POINT:
return getGluePoint();
case DrawingPackage.FRAME_TYPE__IMAGE_MAP:
return getImageMap();
case DrawingPackage.FRAME_TYPE__TITLE:
return getTitle();
case DrawingPackage.FRAME_TYPE__DESC:
return getDesc();
case DrawingPackage.FRAME_TYPE__CONTOUR_POLYGON:
return getContourPolygon();
case DrawingPackage.FRAME_TYPE__CONTOUR_PATH:
return getContourPath();
case DrawingPackage.FRAME_TYPE__ANCHOR_PAGE_NUMBER:
return getAnchorPageNumber();
case DrawingPackage.FRAME_TYPE__ANCHOR_TYPE:
return getAnchorType();
case DrawingPackage.FRAME_TYPE__CAPTION_ID:
return getCaptionId();
case DrawingPackage.FRAME_TYPE__CLASS:
return getClass_();
case DrawingPackage.FRAME_TYPE__CLASS_NAMES:
return getClassNames();
case DrawingPackage.FRAME_TYPE__CLASS_NAMES1:
return getClassNames1();
case DrawingPackage.FRAME_TYPE__COPY_OF:
return getCopyOf();
case DrawingPackage.FRAME_TYPE__END_CELL_ADDRESS:
return getEndCellAddress();
case DrawingPackage.FRAME_TYPE__END_X:
return getEndX();
case DrawingPackage.FRAME_TYPE__END_Y:
return getEndY();
case DrawingPackage.FRAME_TYPE__HEIGHT:
return getHeight();
case DrawingPackage.FRAME_TYPE__ID:
return getId();
case DrawingPackage.FRAME_TYPE__LAYER:
return getLayer();
case DrawingPackage.FRAME_TYPE__NAME:
return getName();
case DrawingPackage.FRAME_TYPE__PLACEHOLDER:
return getPlaceholder();
case DrawingPackage.FRAME_TYPE__REL_HEIGHT:
return getRelHeight();
case DrawingPackage.FRAME_TYPE__REL_WIDTH:
return getRelWidth();
case DrawingPackage.FRAME_TYPE__STYLE_NAME:
return getStyleName();
case DrawingPackage.FRAME_TYPE__STYLE_NAME1:
return getStyleName1();
case DrawingPackage.FRAME_TYPE__TABLE_BACKGROUND:
return getTableBackground();
case DrawingPackage.FRAME_TYPE__TEXT_STYLE_NAME:
return getTextStyleName();
case DrawingPackage.FRAME_TYPE__TRANSFORM:
return getTransform();
case DrawingPackage.FRAME_TYPE__USER_TRANSFORMED:
return getUserTransformed();
case DrawingPackage.FRAME_TYPE__WIDTH:
return getWidth();
case DrawingPackage.FRAME_TYPE__X:
return getX();
case DrawingPackage.FRAME_TYPE__Y:
return getY();
case DrawingPackage.FRAME_TYPE__ZINDEX:
return getZIndex();
}
return super.eGet(featureID, resolve, coreType);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
case DrawingPackage.FRAME_TYPE__GROUP:
((FeatureMap.Internal)getGroup()).set(newValue);
return;
case DrawingPackage.FRAME_TYPE__TEXT_BOX:
getTextBox().clear();
getTextBox().addAll((Collection<? extends TextBoxType>)newValue);
return;
case DrawingPackage.FRAME_TYPE__IMAGE:
getImage().clear();
getImage().addAll((Collection<? extends ImageType>)newValue);
return;
case DrawingPackage.FRAME_TYPE__OBJECT:
getObject().clear();
getObject().addAll((Collection<? extends ObjectType>)newValue);
return;
case DrawingPackage.FRAME_TYPE__OBJECT_OLE:
getObjectOle().clear();
getObjectOle().addAll((Collection<? extends ObjectOleType>)newValue);
return;
case DrawingPackage.FRAME_TYPE__APPLET:
getApplet().clear();
getApplet().addAll((Collection<? extends AppletType>)newValue);
return;
case DrawingPackage.FRAME_TYPE__FLOATING_FRAME:
getFloatingFrame().clear();
getFloatingFrame().addAll((Collection<? extends FloatingFrameType>)newValue);
return;
case DrawingPackage.FRAME_TYPE__PLUGIN:
getPlugin().clear();
getPlugin().addAll((Collection<? extends PluginType>)newValue);
return;
case DrawingPackage.FRAME_TYPE__EVENT_LISTENERS:
setEventListeners((EventListenersType)newValue);
return;
case DrawingPackage.FRAME_TYPE__GLUE_POINT:
getGluePoint().clear();
getGluePoint().addAll((Collection<? extends GluePointType>)newValue);
return;
case DrawingPackage.FRAME_TYPE__IMAGE_MAP:
setImageMap((ImageMapType)newValue);
return;
case DrawingPackage.FRAME_TYPE__TITLE:
setTitle((String)newValue);
return;
case DrawingPackage.FRAME_TYPE__DESC:
setDesc((String)newValue);
return;
case DrawingPackage.FRAME_TYPE__CONTOUR_POLYGON:
setContourPolygon((ContourPolygonType)newValue);
return;
case DrawingPackage.FRAME_TYPE__CONTOUR_PATH:
setContourPath((ContourPathType)newValue);
return;
case DrawingPackage.FRAME_TYPE__ANCHOR_PAGE_NUMBER:
setAnchorPageNumber((BigInteger)newValue);
return;
case DrawingPackage.FRAME_TYPE__ANCHOR_TYPE:
setAnchorType((AnchorTypeType)newValue);
return;
case DrawingPackage.FRAME_TYPE__CAPTION_ID:
setCaptionId((String)newValue);
return;
case DrawingPackage.FRAME_TYPE__CLASS:
setClass((PresentationClasses)newValue);
return;
case DrawingPackage.FRAME_TYPE__CLASS_NAMES:
setClassNames((List<String>)newValue);
return;
case DrawingPackage.FRAME_TYPE__CLASS_NAMES1:
setClassNames1((List<String>)newValue);
return;
case DrawingPackage.FRAME_TYPE__COPY_OF:
setCopyOf((String)newValue);
return;
case DrawingPackage.FRAME_TYPE__END_CELL_ADDRESS:
setEndCellAddress((String)newValue);
return;
case DrawingPackage.FRAME_TYPE__END_X:
setEndX((String)newValue);
return;
case DrawingPackage.FRAME_TYPE__END_Y:
setEndY((String)newValue);
return;
case DrawingPackage.FRAME_TYPE__HEIGHT:
setHeight((String)newValue);
return;
case DrawingPackage.FRAME_TYPE__ID:
setId((String)newValue);
return;
case DrawingPackage.FRAME_TYPE__LAYER:
setLayer((String)newValue);
return;
case DrawingPackage.FRAME_TYPE__NAME:
setName((String)newValue);
return;
case DrawingPackage.FRAME_TYPE__PLACEHOLDER:
setPlaceholder((org.oasisopen.names.tc.opendocument.xmlns.text.Boolean)newValue);
return;
case DrawingPackage.FRAME_TYPE__REL_HEIGHT:
setRelHeight(newValue);
return;
case DrawingPackage.FRAME_TYPE__REL_WIDTH:
setRelWidth(newValue);
return;
case DrawingPackage.FRAME_TYPE__STYLE_NAME:
setStyleName((String)newValue);
return;
case DrawingPackage.FRAME_TYPE__STYLE_NAME1:
setStyleName1((String)newValue);
return;
case DrawingPackage.FRAME_TYPE__TABLE_BACKGROUND:
setTableBackground((org.oasisopen.names.tc.opendocument.xmlns.text.Boolean)newValue);
return;
case DrawingPackage.FRAME_TYPE__TEXT_STYLE_NAME:
setTextStyleName((String)newValue);
return;
case DrawingPackage.FRAME_TYPE__TRANSFORM:
setTransform((String)newValue);
return;
case DrawingPackage.FRAME_TYPE__USER_TRANSFORMED:
setUserTransformed((org.oasisopen.names.tc.opendocument.xmlns.text.Boolean)newValue);
return;
case DrawingPackage.FRAME_TYPE__WIDTH:
setWidth((String)newValue);
return;
case DrawingPackage.FRAME_TYPE__X:
setX((String)newValue);
return;
case DrawingPackage.FRAME_TYPE__Y:
setY((String)newValue);
return;
case DrawingPackage.FRAME_TYPE__ZINDEX:
setZIndex((BigInteger)newValue);
return;
}
super.eSet(featureID, newValue);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
case DrawingPackage.FRAME_TYPE__GROUP:
getGroup().clear();
return;
case DrawingPackage.FRAME_TYPE__TEXT_BOX:
getTextBox().clear();
return;
case DrawingPackage.FRAME_TYPE__IMAGE:
getImage().clear();
return;
case DrawingPackage.FRAME_TYPE__OBJECT:
getObject().clear();
return;
case DrawingPackage.FRAME_TYPE__OBJECT_OLE:
getObjectOle().clear();
return;
case DrawingPackage.FRAME_TYPE__APPLET:
getApplet().clear();
return;
case DrawingPackage.FRAME_TYPE__FLOATING_FRAME:
getFloatingFrame().clear();
return;
case DrawingPackage.FRAME_TYPE__PLUGIN:
getPlugin().clear();
return;
case DrawingPackage.FRAME_TYPE__EVENT_LISTENERS:
setEventListeners((EventListenersType)null);
return;
case DrawingPackage.FRAME_TYPE__GLUE_POINT:
getGluePoint().clear();
return;
case DrawingPackage.FRAME_TYPE__IMAGE_MAP:
setImageMap((ImageMapType)null);
return;
case DrawingPackage.FRAME_TYPE__TITLE:
setTitle(TITLE_EDEFAULT);
return;
case DrawingPackage.FRAME_TYPE__DESC:
setDesc(DESC_EDEFAULT);
return;
case DrawingPackage.FRAME_TYPE__CONTOUR_POLYGON:
setContourPolygon((ContourPolygonType)null);
return;
case DrawingPackage.FRAME_TYPE__CONTOUR_PATH:
setContourPath((ContourPathType)null);
return;
case DrawingPackage.FRAME_TYPE__ANCHOR_PAGE_NUMBER:
setAnchorPageNumber(ANCHOR_PAGE_NUMBER_EDEFAULT);
return;
case DrawingPackage.FRAME_TYPE__ANCHOR_TYPE:
unsetAnchorType();
return;
case DrawingPackage.FRAME_TYPE__CAPTION_ID:
setCaptionId(CAPTION_ID_EDEFAULT);
return;
case DrawingPackage.FRAME_TYPE__CLASS:
unsetClass();
return;
case DrawingPackage.FRAME_TYPE__CLASS_NAMES:
setClassNames(CLASS_NAMES_EDEFAULT);
return;
case DrawingPackage.FRAME_TYPE__CLASS_NAMES1:
setClassNames1(CLASS_NAMES1_EDEFAULT);
return;
case DrawingPackage.FRAME_TYPE__COPY_OF:
setCopyOf(COPY_OF_EDEFAULT);
return;
case DrawingPackage.FRAME_TYPE__END_CELL_ADDRESS:
setEndCellAddress(END_CELL_ADDRESS_EDEFAULT);
return;
case DrawingPackage.FRAME_TYPE__END_X:
setEndX(END_X_EDEFAULT);
return;
case DrawingPackage.FRAME_TYPE__END_Y:
setEndY(END_Y_EDEFAULT);
return;
case DrawingPackage.FRAME_TYPE__HEIGHT:
setHeight(HEIGHT_EDEFAULT);
return;
case DrawingPackage.FRAME_TYPE__ID:
setId(ID_EDEFAULT);
return;
case DrawingPackage.FRAME_TYPE__LAYER:
setLayer(LAYER_EDEFAULT);
return;
case DrawingPackage.FRAME_TYPE__NAME:
setName(NAME_EDEFAULT);
return;
case DrawingPackage.FRAME_TYPE__PLACEHOLDER:
unsetPlaceholder();
return;
case DrawingPackage.FRAME_TYPE__REL_HEIGHT:
setRelHeight(REL_HEIGHT_EDEFAULT);
return;
case DrawingPackage.FRAME_TYPE__REL_WIDTH:
setRelWidth(REL_WIDTH_EDEFAULT);
return;
case DrawingPackage.FRAME_TYPE__STYLE_NAME:
setStyleName(STYLE_NAME_EDEFAULT);
return;
case DrawingPackage.FRAME_TYPE__STYLE_NAME1:
setStyleName1(STYLE_NAME1_EDEFAULT);
return;
case DrawingPackage.FRAME_TYPE__TABLE_BACKGROUND:
unsetTableBackground();
return;
case DrawingPackage.FRAME_TYPE__TEXT_STYLE_NAME:
setTextStyleName(TEXT_STYLE_NAME_EDEFAULT);
return;
case DrawingPackage.FRAME_TYPE__TRANSFORM:
setTransform(TRANSFORM_EDEFAULT);
return;
case DrawingPackage.FRAME_TYPE__USER_TRANSFORMED:
unsetUserTransformed();
return;
case DrawingPackage.FRAME_TYPE__WIDTH:
setWidth(WIDTH_EDEFAULT);
return;
case DrawingPackage.FRAME_TYPE__X:
setX(X_EDEFAULT);
return;
case DrawingPackage.FRAME_TYPE__Y:
setY(Y_EDEFAULT);
return;
case DrawingPackage.FRAME_TYPE__ZINDEX:
setZIndex(ZINDEX_EDEFAULT);
return;
}
super.eUnset(featureID);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
case DrawingPackage.FRAME_TYPE__GROUP:
return group != null && !group.isEmpty();
case DrawingPackage.FRAME_TYPE__TEXT_BOX:
return !getTextBox().isEmpty();
case DrawingPackage.FRAME_TYPE__IMAGE:
return !getImage().isEmpty();
case DrawingPackage.FRAME_TYPE__OBJECT:
return !getObject().isEmpty();
case DrawingPackage.FRAME_TYPE__OBJECT_OLE:
return !getObjectOle().isEmpty();
case DrawingPackage.FRAME_TYPE__APPLET:
return !getApplet().isEmpty();
case DrawingPackage.FRAME_TYPE__FLOATING_FRAME:
return !getFloatingFrame().isEmpty();
case DrawingPackage.FRAME_TYPE__PLUGIN:
return !getPlugin().isEmpty();
case DrawingPackage.FRAME_TYPE__EVENT_LISTENERS:
return eventListeners != null;
case DrawingPackage.FRAME_TYPE__GLUE_POINT:
return gluePoint != null && !gluePoint.isEmpty();
case DrawingPackage.FRAME_TYPE__IMAGE_MAP:
return imageMap != null;
case DrawingPackage.FRAME_TYPE__TITLE:
return TITLE_EDEFAULT == null ? title != null : !TITLE_EDEFAULT.equals(title);
case DrawingPackage.FRAME_TYPE__DESC:
return DESC_EDEFAULT == null ? desc != null : !DESC_EDEFAULT.equals(desc);
case DrawingPackage.FRAME_TYPE__CONTOUR_POLYGON:
return contourPolygon != null;
case DrawingPackage.FRAME_TYPE__CONTOUR_PATH:
return contourPath != null;
case DrawingPackage.FRAME_TYPE__ANCHOR_PAGE_NUMBER:
return ANCHOR_PAGE_NUMBER_EDEFAULT == null ? anchorPageNumber != null : !ANCHOR_PAGE_NUMBER_EDEFAULT.equals(anchorPageNumber);
case DrawingPackage.FRAME_TYPE__ANCHOR_TYPE:
return isSetAnchorType();
case DrawingPackage.FRAME_TYPE__CAPTION_ID:
return CAPTION_ID_EDEFAULT == null ? captionId != null : !CAPTION_ID_EDEFAULT.equals(captionId);
case DrawingPackage.FRAME_TYPE__CLASS:
return isSetClass();
case DrawingPackage.FRAME_TYPE__CLASS_NAMES:
return CLASS_NAMES_EDEFAULT == null ? classNames != null : !CLASS_NAMES_EDEFAULT.equals(classNames);
case DrawingPackage.FRAME_TYPE__CLASS_NAMES1:
return CLASS_NAMES1_EDEFAULT == null ? classNames1 != null : !CLASS_NAMES1_EDEFAULT.equals(classNames1);
case DrawingPackage.FRAME_TYPE__COPY_OF:
return COPY_OF_EDEFAULT == null ? copyOf != null : !COPY_OF_EDEFAULT.equals(copyOf);
case DrawingPackage.FRAME_TYPE__END_CELL_ADDRESS:
return END_CELL_ADDRESS_EDEFAULT == null ? endCellAddress != null : !END_CELL_ADDRESS_EDEFAULT.equals(endCellAddress);
case DrawingPackage.FRAME_TYPE__END_X:
return END_X_EDEFAULT == null ? endX != null : !END_X_EDEFAULT.equals(endX);
case DrawingPackage.FRAME_TYPE__END_Y:
return END_Y_EDEFAULT == null ? endY != null : !END_Y_EDEFAULT.equals(endY);
case DrawingPackage.FRAME_TYPE__HEIGHT:
return HEIGHT_EDEFAULT == null ? height != null : !HEIGHT_EDEFAULT.equals(height);
case DrawingPackage.FRAME_TYPE__ID:
return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id);
case DrawingPackage.FRAME_TYPE__LAYER:
return LAYER_EDEFAULT == null ? layer != null : !LAYER_EDEFAULT.equals(layer);
case DrawingPackage.FRAME_TYPE__NAME:
return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
case DrawingPackage.FRAME_TYPE__PLACEHOLDER:
return isSetPlaceholder();
case DrawingPackage.FRAME_TYPE__REL_HEIGHT:
return REL_HEIGHT_EDEFAULT == null ? relHeight != null : !REL_HEIGHT_EDEFAULT.equals(relHeight);
case DrawingPackage.FRAME_TYPE__REL_WIDTH:
return REL_WIDTH_EDEFAULT == null ? relWidth != null : !REL_WIDTH_EDEFAULT.equals(relWidth);
case DrawingPackage.FRAME_TYPE__STYLE_NAME:
return STYLE_NAME_EDEFAULT == null ? styleName != null : !STYLE_NAME_EDEFAULT.equals(styleName);
case DrawingPackage.FRAME_TYPE__STYLE_NAME1:
return STYLE_NAME1_EDEFAULT == null ? styleName1 != null : !STYLE_NAME1_EDEFAULT.equals(styleName1);
case DrawingPackage.FRAME_TYPE__TABLE_BACKGROUND:
return isSetTableBackground();
case DrawingPackage.FRAME_TYPE__TEXT_STYLE_NAME:
return TEXT_STYLE_NAME_EDEFAULT == null ? textStyleName != null : !TEXT_STYLE_NAME_EDEFAULT.equals(textStyleName);
case DrawingPackage.FRAME_TYPE__TRANSFORM:
return TRANSFORM_EDEFAULT == null ? transform != null : !TRANSFORM_EDEFAULT.equals(transform);
case DrawingPackage.FRAME_TYPE__USER_TRANSFORMED:
return isSetUserTransformed();
case DrawingPackage.FRAME_TYPE__WIDTH:
return WIDTH_EDEFAULT == null ? width != null : !WIDTH_EDEFAULT.equals(width);
case DrawingPackage.FRAME_TYPE__X:
return X_EDEFAULT == null ? x != null : !X_EDEFAULT.equals(x);
case DrawingPackage.FRAME_TYPE__Y:
return Y_EDEFAULT == null ? y != null : !Y_EDEFAULT.equals(y);
case DrawingPackage.FRAME_TYPE__ZINDEX:
return ZINDEX_EDEFAULT == null ? zIndex != null : !ZINDEX_EDEFAULT.equals(zIndex);
}
return super.eIsSet(featureID);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public String toString() {
if (eIsProxy()) return super.toString();
StringBuffer result = new StringBuffer(super.toString());
result.append(" (group: ");
result.append(group);
result.append(", title: ");
result.append(title);
result.append(", desc: ");
result.append(desc);
result.append(", anchorPageNumber: ");
result.append(anchorPageNumber);
result.append(", anchorType: ");
if (anchorTypeESet) result.append(anchorType); else result.append("<unset>");
result.append(", captionId: ");
result.append(captionId);
result.append(", class: ");
if (classESet) result.append(class_); else result.append("<unset>");
result.append(", classNames: ");
result.append(classNames);
result.append(", classNames1: ");
result.append(classNames1);
result.append(", copyOf: ");
result.append(copyOf);
result.append(", endCellAddress: ");
result.append(endCellAddress);
result.append(", endX: ");
result.append(endX);
result.append(", endY: ");
result.append(endY);
result.append(", height: ");
result.append(height);
result.append(", id: ");
result.append(id);
result.append(", layer: ");
result.append(layer);
result.append(", name: ");
result.append(name);
result.append(", placeholder: ");
if (placeholderESet) result.append(placeholder); else result.append("<unset>");
result.append(", relHeight: ");
result.append(relHeight);
result.append(", relWidth: ");
result.append(relWidth);
result.append(", styleName: ");
result.append(styleName);
result.append(", styleName1: ");
result.append(styleName1);
result.append(", tableBackground: ");
if (tableBackgroundESet) result.append(tableBackground); else result.append("<unset>");
result.append(", textStyleName: ");
result.append(textStyleName);
result.append(", transform: ");
result.append(transform);
result.append(", userTransformed: ");
if (userTransformedESet) result.append(userTransformed); else result.append("<unset>");
result.append(", width: ");
result.append(width);
result.append(", x: ");
result.append(x);
result.append(", y: ");
result.append(y);
result.append(", zIndex: ");
result.append(zIndex);
result.append(')');
return result.toString();
}
} //FrameTypeImpl