/*******************************************************************************
* 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.List;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.impl.ENotificationImpl;
import org.eclipse.emf.ecore.impl.EObjectImpl;
import org.oasisopen.names.tc.opendocument.xmlns.drawing.DrawingPackage;
import org.oasisopen.names.tc.opendocument.xmlns.drawing.PageThumbnailType;
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>Page Thumbnail Type</b></em>'.
* <!-- end-user-doc -->
* <p>
* The following features are implemented:
* <ul>
* <li>{@link org.oasisopen.names.tc.opendocument.xmlns.drawing.impl.PageThumbnailTypeImpl#getTitle <em>Title</em>}</li>
* <li>{@link org.oasisopen.names.tc.opendocument.xmlns.drawing.impl.PageThumbnailTypeImpl#getDesc <em>Desc</em>}</li>
* <li>{@link org.oasisopen.names.tc.opendocument.xmlns.drawing.impl.PageThumbnailTypeImpl#getAnchorPageNumber <em>Anchor Page Number</em>}</li>
* <li>{@link org.oasisopen.names.tc.opendocument.xmlns.drawing.impl.PageThumbnailTypeImpl#getAnchorType <em>Anchor Type</em>}</li>
* <li>{@link org.oasisopen.names.tc.opendocument.xmlns.drawing.impl.PageThumbnailTypeImpl#getCaptionId <em>Caption Id</em>}</li>
* <li>{@link org.oasisopen.names.tc.opendocument.xmlns.drawing.impl.PageThumbnailTypeImpl#getClass_ <em>Class</em>}</li>
* <li>{@link org.oasisopen.names.tc.opendocument.xmlns.drawing.impl.PageThumbnailTypeImpl#getClassNames <em>Class Names</em>}</li>
* <li>{@link org.oasisopen.names.tc.opendocument.xmlns.drawing.impl.PageThumbnailTypeImpl#getClassNames1 <em>Class Names1</em>}</li>
* <li>{@link org.oasisopen.names.tc.opendocument.xmlns.drawing.impl.PageThumbnailTypeImpl#getEndCellAddress <em>End Cell Address</em>}</li>
* <li>{@link org.oasisopen.names.tc.opendocument.xmlns.drawing.impl.PageThumbnailTypeImpl#getEndX <em>End X</em>}</li>
* <li>{@link org.oasisopen.names.tc.opendocument.xmlns.drawing.impl.PageThumbnailTypeImpl#getEndY <em>End Y</em>}</li>
* <li>{@link org.oasisopen.names.tc.opendocument.xmlns.drawing.impl.PageThumbnailTypeImpl#getHeight <em>Height</em>}</li>
* <li>{@link org.oasisopen.names.tc.opendocument.xmlns.drawing.impl.PageThumbnailTypeImpl#getId <em>Id</em>}</li>
* <li>{@link org.oasisopen.names.tc.opendocument.xmlns.drawing.impl.PageThumbnailTypeImpl#getLayer <em>Layer</em>}</li>
* <li>{@link org.oasisopen.names.tc.opendocument.xmlns.drawing.impl.PageThumbnailTypeImpl#getName <em>Name</em>}</li>
* <li>{@link org.oasisopen.names.tc.opendocument.xmlns.drawing.impl.PageThumbnailTypeImpl#getPageNumber <em>Page Number</em>}</li>
* <li>{@link org.oasisopen.names.tc.opendocument.xmlns.drawing.impl.PageThumbnailTypeImpl#getPlaceholder <em>Placeholder</em>}</li>
* <li>{@link org.oasisopen.names.tc.opendocument.xmlns.drawing.impl.PageThumbnailTypeImpl#getStyleName <em>Style Name</em>}</li>
* <li>{@link org.oasisopen.names.tc.opendocument.xmlns.drawing.impl.PageThumbnailTypeImpl#getStyleName1 <em>Style Name1</em>}</li>
* <li>{@link org.oasisopen.names.tc.opendocument.xmlns.drawing.impl.PageThumbnailTypeImpl#getTableBackground <em>Table Background</em>}</li>
* <li>{@link org.oasisopen.names.tc.opendocument.xmlns.drawing.impl.PageThumbnailTypeImpl#getTransform <em>Transform</em>}</li>
* <li>{@link org.oasisopen.names.tc.opendocument.xmlns.drawing.impl.PageThumbnailTypeImpl#getUserTransformed <em>User Transformed</em>}</li>
* <li>{@link org.oasisopen.names.tc.opendocument.xmlns.drawing.impl.PageThumbnailTypeImpl#getWidth <em>Width</em>}</li>
* <li>{@link org.oasisopen.names.tc.opendocument.xmlns.drawing.impl.PageThumbnailTypeImpl#getX <em>X</em>}</li>
* <li>{@link org.oasisopen.names.tc.opendocument.xmlns.drawing.impl.PageThumbnailTypeImpl#getY <em>Y</em>}</li>
* <li>{@link org.oasisopen.names.tc.opendocument.xmlns.drawing.impl.PageThumbnailTypeImpl#getZIndex <em>ZIndex</em>}</li>
* </ul>
* </p>
*
* @generated
*/
public class PageThumbnailTypeImpl extends EObjectImpl implements PageThumbnailType {
/**
* 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 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 #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 #getPageNumber() <em>Page Number</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getPageNumber()
* @generated
* @ordered
*/
protected static final BigInteger PAGE_NUMBER_EDEFAULT = null;
/**
* The cached value of the '{@link #getPageNumber() <em>Page Number</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getPageNumber()
* @generated
* @ordered
*/
protected BigInteger pageNumber = PAGE_NUMBER_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 #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 #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 PageThumbnailTypeImpl() {
super();
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
protected EClass eStaticClass() {
return DrawingPackage.eINSTANCE.getPageThumbnailType();
}
/**
* <!-- 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.PAGE_THUMBNAIL_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.PAGE_THUMBNAIL_TYPE__DESC, oldDesc, desc));
}
/**
* <!-- 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.PAGE_THUMBNAIL_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.PAGE_THUMBNAIL_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.PAGE_THUMBNAIL_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.PAGE_THUMBNAIL_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.PAGE_THUMBNAIL_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.PAGE_THUMBNAIL_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.PAGE_THUMBNAIL_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.PAGE_THUMBNAIL_TYPE__CLASS_NAMES1, oldClassNames1, classNames1));
}
/**
* <!-- 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.PAGE_THUMBNAIL_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.PAGE_THUMBNAIL_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.PAGE_THUMBNAIL_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.PAGE_THUMBNAIL_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.PAGE_THUMBNAIL_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.PAGE_THUMBNAIL_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.PAGE_THUMBNAIL_TYPE__NAME, oldName, name));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public BigInteger getPageNumber() {
return pageNumber;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setPageNumber(BigInteger newPageNumber) {
BigInteger oldPageNumber = pageNumber;
pageNumber = newPageNumber;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, DrawingPackage.PAGE_THUMBNAIL_TYPE__PAGE_NUMBER, oldPageNumber, pageNumber));
}
/**
* <!-- 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.PAGE_THUMBNAIL_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.PAGE_THUMBNAIL_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 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.PAGE_THUMBNAIL_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.PAGE_THUMBNAIL_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.PAGE_THUMBNAIL_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.PAGE_THUMBNAIL_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 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.PAGE_THUMBNAIL_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.PAGE_THUMBNAIL_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.PAGE_THUMBNAIL_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.PAGE_THUMBNAIL_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.PAGE_THUMBNAIL_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.PAGE_THUMBNAIL_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.PAGE_THUMBNAIL_TYPE__ZINDEX, oldZIndex, zIndex));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
case DrawingPackage.PAGE_THUMBNAIL_TYPE__TITLE:
return getTitle();
case DrawingPackage.PAGE_THUMBNAIL_TYPE__DESC:
return getDesc();
case DrawingPackage.PAGE_THUMBNAIL_TYPE__ANCHOR_PAGE_NUMBER:
return getAnchorPageNumber();
case DrawingPackage.PAGE_THUMBNAIL_TYPE__ANCHOR_TYPE:
return getAnchorType();
case DrawingPackage.PAGE_THUMBNAIL_TYPE__CAPTION_ID:
return getCaptionId();
case DrawingPackage.PAGE_THUMBNAIL_TYPE__CLASS:
return getClass_();
case DrawingPackage.PAGE_THUMBNAIL_TYPE__CLASS_NAMES:
return getClassNames();
case DrawingPackage.PAGE_THUMBNAIL_TYPE__CLASS_NAMES1:
return getClassNames1();
case DrawingPackage.PAGE_THUMBNAIL_TYPE__END_CELL_ADDRESS:
return getEndCellAddress();
case DrawingPackage.PAGE_THUMBNAIL_TYPE__END_X:
return getEndX();
case DrawingPackage.PAGE_THUMBNAIL_TYPE__END_Y:
return getEndY();
case DrawingPackage.PAGE_THUMBNAIL_TYPE__HEIGHT:
return getHeight();
case DrawingPackage.PAGE_THUMBNAIL_TYPE__ID:
return getId();
case DrawingPackage.PAGE_THUMBNAIL_TYPE__LAYER:
return getLayer();
case DrawingPackage.PAGE_THUMBNAIL_TYPE__NAME:
return getName();
case DrawingPackage.PAGE_THUMBNAIL_TYPE__PAGE_NUMBER:
return getPageNumber();
case DrawingPackage.PAGE_THUMBNAIL_TYPE__PLACEHOLDER:
return getPlaceholder();
case DrawingPackage.PAGE_THUMBNAIL_TYPE__STYLE_NAME:
return getStyleName();
case DrawingPackage.PAGE_THUMBNAIL_TYPE__STYLE_NAME1:
return getStyleName1();
case DrawingPackage.PAGE_THUMBNAIL_TYPE__TABLE_BACKGROUND:
return getTableBackground();
case DrawingPackage.PAGE_THUMBNAIL_TYPE__TRANSFORM:
return getTransform();
case DrawingPackage.PAGE_THUMBNAIL_TYPE__USER_TRANSFORMED:
return getUserTransformed();
case DrawingPackage.PAGE_THUMBNAIL_TYPE__WIDTH:
return getWidth();
case DrawingPackage.PAGE_THUMBNAIL_TYPE__X:
return getX();
case DrawingPackage.PAGE_THUMBNAIL_TYPE__Y:
return getY();
case DrawingPackage.PAGE_THUMBNAIL_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.PAGE_THUMBNAIL_TYPE__TITLE:
setTitle((String)newValue);
return;
case DrawingPackage.PAGE_THUMBNAIL_TYPE__DESC:
setDesc((String)newValue);
return;
case DrawingPackage.PAGE_THUMBNAIL_TYPE__ANCHOR_PAGE_NUMBER:
setAnchorPageNumber((BigInteger)newValue);
return;
case DrawingPackage.PAGE_THUMBNAIL_TYPE__ANCHOR_TYPE:
setAnchorType((AnchorTypeType)newValue);
return;
case DrawingPackage.PAGE_THUMBNAIL_TYPE__CAPTION_ID:
setCaptionId((String)newValue);
return;
case DrawingPackage.PAGE_THUMBNAIL_TYPE__CLASS:
setClass((PresentationClasses)newValue);
return;
case DrawingPackage.PAGE_THUMBNAIL_TYPE__CLASS_NAMES:
setClassNames((List<String>)newValue);
return;
case DrawingPackage.PAGE_THUMBNAIL_TYPE__CLASS_NAMES1:
setClassNames1((List<String>)newValue);
return;
case DrawingPackage.PAGE_THUMBNAIL_TYPE__END_CELL_ADDRESS:
setEndCellAddress((String)newValue);
return;
case DrawingPackage.PAGE_THUMBNAIL_TYPE__END_X:
setEndX((String)newValue);
return;
case DrawingPackage.PAGE_THUMBNAIL_TYPE__END_Y:
setEndY((String)newValue);
return;
case DrawingPackage.PAGE_THUMBNAIL_TYPE__HEIGHT:
setHeight((String)newValue);
return;
case DrawingPackage.PAGE_THUMBNAIL_TYPE__ID:
setId((String)newValue);
return;
case DrawingPackage.PAGE_THUMBNAIL_TYPE__LAYER:
setLayer((String)newValue);
return;
case DrawingPackage.PAGE_THUMBNAIL_TYPE__NAME:
setName((String)newValue);
return;
case DrawingPackage.PAGE_THUMBNAIL_TYPE__PAGE_NUMBER:
setPageNumber((BigInteger)newValue);
return;
case DrawingPackage.PAGE_THUMBNAIL_TYPE__PLACEHOLDER:
setPlaceholder((org.oasisopen.names.tc.opendocument.xmlns.text.Boolean)newValue);
return;
case DrawingPackage.PAGE_THUMBNAIL_TYPE__STYLE_NAME:
setStyleName((String)newValue);
return;
case DrawingPackage.PAGE_THUMBNAIL_TYPE__STYLE_NAME1:
setStyleName1((String)newValue);
return;
case DrawingPackage.PAGE_THUMBNAIL_TYPE__TABLE_BACKGROUND:
setTableBackground((org.oasisopen.names.tc.opendocument.xmlns.text.Boolean)newValue);
return;
case DrawingPackage.PAGE_THUMBNAIL_TYPE__TRANSFORM:
setTransform((String)newValue);
return;
case DrawingPackage.PAGE_THUMBNAIL_TYPE__USER_TRANSFORMED:
setUserTransformed((org.oasisopen.names.tc.opendocument.xmlns.text.Boolean)newValue);
return;
case DrawingPackage.PAGE_THUMBNAIL_TYPE__WIDTH:
setWidth((String)newValue);
return;
case DrawingPackage.PAGE_THUMBNAIL_TYPE__X:
setX((String)newValue);
return;
case DrawingPackage.PAGE_THUMBNAIL_TYPE__Y:
setY((String)newValue);
return;
case DrawingPackage.PAGE_THUMBNAIL_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.PAGE_THUMBNAIL_TYPE__TITLE:
setTitle(TITLE_EDEFAULT);
return;
case DrawingPackage.PAGE_THUMBNAIL_TYPE__DESC:
setDesc(DESC_EDEFAULT);
return;
case DrawingPackage.PAGE_THUMBNAIL_TYPE__ANCHOR_PAGE_NUMBER:
setAnchorPageNumber(ANCHOR_PAGE_NUMBER_EDEFAULT);
return;
case DrawingPackage.PAGE_THUMBNAIL_TYPE__ANCHOR_TYPE:
unsetAnchorType();
return;
case DrawingPackage.PAGE_THUMBNAIL_TYPE__CAPTION_ID:
setCaptionId(CAPTION_ID_EDEFAULT);
return;
case DrawingPackage.PAGE_THUMBNAIL_TYPE__CLASS:
unsetClass();
return;
case DrawingPackage.PAGE_THUMBNAIL_TYPE__CLASS_NAMES:
setClassNames(CLASS_NAMES_EDEFAULT);
return;
case DrawingPackage.PAGE_THUMBNAIL_TYPE__CLASS_NAMES1:
setClassNames1(CLASS_NAMES1_EDEFAULT);
return;
case DrawingPackage.PAGE_THUMBNAIL_TYPE__END_CELL_ADDRESS:
setEndCellAddress(END_CELL_ADDRESS_EDEFAULT);
return;
case DrawingPackage.PAGE_THUMBNAIL_TYPE__END_X:
setEndX(END_X_EDEFAULT);
return;
case DrawingPackage.PAGE_THUMBNAIL_TYPE__END_Y:
setEndY(END_Y_EDEFAULT);
return;
case DrawingPackage.PAGE_THUMBNAIL_TYPE__HEIGHT:
setHeight(HEIGHT_EDEFAULT);
return;
case DrawingPackage.PAGE_THUMBNAIL_TYPE__ID:
setId(ID_EDEFAULT);
return;
case DrawingPackage.PAGE_THUMBNAIL_TYPE__LAYER:
setLayer(LAYER_EDEFAULT);
return;
case DrawingPackage.PAGE_THUMBNAIL_TYPE__NAME:
setName(NAME_EDEFAULT);
return;
case DrawingPackage.PAGE_THUMBNAIL_TYPE__PAGE_NUMBER:
setPageNumber(PAGE_NUMBER_EDEFAULT);
return;
case DrawingPackage.PAGE_THUMBNAIL_TYPE__PLACEHOLDER:
unsetPlaceholder();
return;
case DrawingPackage.PAGE_THUMBNAIL_TYPE__STYLE_NAME:
setStyleName(STYLE_NAME_EDEFAULT);
return;
case DrawingPackage.PAGE_THUMBNAIL_TYPE__STYLE_NAME1:
setStyleName1(STYLE_NAME1_EDEFAULT);
return;
case DrawingPackage.PAGE_THUMBNAIL_TYPE__TABLE_BACKGROUND:
unsetTableBackground();
return;
case DrawingPackage.PAGE_THUMBNAIL_TYPE__TRANSFORM:
setTransform(TRANSFORM_EDEFAULT);
return;
case DrawingPackage.PAGE_THUMBNAIL_TYPE__USER_TRANSFORMED:
unsetUserTransformed();
return;
case DrawingPackage.PAGE_THUMBNAIL_TYPE__WIDTH:
setWidth(WIDTH_EDEFAULT);
return;
case DrawingPackage.PAGE_THUMBNAIL_TYPE__X:
setX(X_EDEFAULT);
return;
case DrawingPackage.PAGE_THUMBNAIL_TYPE__Y:
setY(Y_EDEFAULT);
return;
case DrawingPackage.PAGE_THUMBNAIL_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.PAGE_THUMBNAIL_TYPE__TITLE:
return TITLE_EDEFAULT == null ? title != null : !TITLE_EDEFAULT.equals(title);
case DrawingPackage.PAGE_THUMBNAIL_TYPE__DESC:
return DESC_EDEFAULT == null ? desc != null : !DESC_EDEFAULT.equals(desc);
case DrawingPackage.PAGE_THUMBNAIL_TYPE__ANCHOR_PAGE_NUMBER:
return ANCHOR_PAGE_NUMBER_EDEFAULT == null ? anchorPageNumber != null : !ANCHOR_PAGE_NUMBER_EDEFAULT.equals(anchorPageNumber);
case DrawingPackage.PAGE_THUMBNAIL_TYPE__ANCHOR_TYPE:
return isSetAnchorType();
case DrawingPackage.PAGE_THUMBNAIL_TYPE__CAPTION_ID:
return CAPTION_ID_EDEFAULT == null ? captionId != null : !CAPTION_ID_EDEFAULT.equals(captionId);
case DrawingPackage.PAGE_THUMBNAIL_TYPE__CLASS:
return isSetClass();
case DrawingPackage.PAGE_THUMBNAIL_TYPE__CLASS_NAMES:
return CLASS_NAMES_EDEFAULT == null ? classNames != null : !CLASS_NAMES_EDEFAULT.equals(classNames);
case DrawingPackage.PAGE_THUMBNAIL_TYPE__CLASS_NAMES1:
return CLASS_NAMES1_EDEFAULT == null ? classNames1 != null : !CLASS_NAMES1_EDEFAULT.equals(classNames1);
case DrawingPackage.PAGE_THUMBNAIL_TYPE__END_CELL_ADDRESS:
return END_CELL_ADDRESS_EDEFAULT == null ? endCellAddress != null : !END_CELL_ADDRESS_EDEFAULT.equals(endCellAddress);
case DrawingPackage.PAGE_THUMBNAIL_TYPE__END_X:
return END_X_EDEFAULT == null ? endX != null : !END_X_EDEFAULT.equals(endX);
case DrawingPackage.PAGE_THUMBNAIL_TYPE__END_Y:
return END_Y_EDEFAULT == null ? endY != null : !END_Y_EDEFAULT.equals(endY);
case DrawingPackage.PAGE_THUMBNAIL_TYPE__HEIGHT:
return HEIGHT_EDEFAULT == null ? height != null : !HEIGHT_EDEFAULT.equals(height);
case DrawingPackage.PAGE_THUMBNAIL_TYPE__ID:
return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id);
case DrawingPackage.PAGE_THUMBNAIL_TYPE__LAYER:
return LAYER_EDEFAULT == null ? layer != null : !LAYER_EDEFAULT.equals(layer);
case DrawingPackage.PAGE_THUMBNAIL_TYPE__NAME:
return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
case DrawingPackage.PAGE_THUMBNAIL_TYPE__PAGE_NUMBER:
return PAGE_NUMBER_EDEFAULT == null ? pageNumber != null : !PAGE_NUMBER_EDEFAULT.equals(pageNumber);
case DrawingPackage.PAGE_THUMBNAIL_TYPE__PLACEHOLDER:
return isSetPlaceholder();
case DrawingPackage.PAGE_THUMBNAIL_TYPE__STYLE_NAME:
return STYLE_NAME_EDEFAULT == null ? styleName != null : !STYLE_NAME_EDEFAULT.equals(styleName);
case DrawingPackage.PAGE_THUMBNAIL_TYPE__STYLE_NAME1:
return STYLE_NAME1_EDEFAULT == null ? styleName1 != null : !STYLE_NAME1_EDEFAULT.equals(styleName1);
case DrawingPackage.PAGE_THUMBNAIL_TYPE__TABLE_BACKGROUND:
return isSetTableBackground();
case DrawingPackage.PAGE_THUMBNAIL_TYPE__TRANSFORM:
return TRANSFORM_EDEFAULT == null ? transform != null : !TRANSFORM_EDEFAULT.equals(transform);
case DrawingPackage.PAGE_THUMBNAIL_TYPE__USER_TRANSFORMED:
return isSetUserTransformed();
case DrawingPackage.PAGE_THUMBNAIL_TYPE__WIDTH:
return WIDTH_EDEFAULT == null ? width != null : !WIDTH_EDEFAULT.equals(width);
case DrawingPackage.PAGE_THUMBNAIL_TYPE__X:
return X_EDEFAULT == null ? x != null : !X_EDEFAULT.equals(x);
case DrawingPackage.PAGE_THUMBNAIL_TYPE__Y:
return Y_EDEFAULT == null ? y != null : !Y_EDEFAULT.equals(y);
case DrawingPackage.PAGE_THUMBNAIL_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(" (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(", 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(", pageNumber: ");
result.append(pageNumber);
result.append(", placeholder: ");
if (placeholderESet) result.append(placeholder); else result.append("<unset>");
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(", 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();
}
} //PageThumbnailTypeImpl