org.omg.dd.dc.Font Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of org.omg.bpmn.model Show documentation
Show all versions of org.omg.bpmn.model Show documentation
Ecore and generated code for org.omg.bpmn2
The newest version!
/*
* Copyright (c) 2012 - 2024 Data In Motion and others.
* All rights reserved.
*
* This program and the accompanying materials are made
* available under the terms of the Eclipse Public License 2.0
* which is available at https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* Mark Hoffmann - initial API and implementation
*/
package org.omg.dd.dc;
import java.util.Map;
import org.eclipse.emf.common.util.DiagnosticChain;
import org.eclipse.emf.ecore.EObject;
import org.osgi.annotation.versioning.ProviderType;
/**
*
* A representation of the model object 'Font'.
*
*
*
* The following features are supported:
*
*
* - {@link org.omg.dd.dc.Font#isIsBold Is Bold}
* - {@link org.omg.dd.dc.Font#isIsItalic Is Italic}
* - {@link org.omg.dd.dc.Font#isIsStrikeThrough Is Strike Through}
* - {@link org.omg.dd.dc.Font#isIsUnderline Is Underline}
* - {@link org.omg.dd.dc.Font#getName Name}
* - {@link org.omg.dd.dc.Font#getSize Size}
*
*
* @see org.omg.dd.dc.DcPackage#getFont()
* @model extendedMetaData="name='Font' kind='empty'"
* @generated
*/
@ProviderType
public interface Font extends EObject {
/**
* Returns the value of the 'Is Bold' attribute.
*
*
* @return the value of the 'Is Bold' attribute.
* @see #setIsBold(boolean)
* @see org.omg.dd.dc.DcPackage#getFont_IsBold()
* @model ordered="false"
* extendedMetaData="kind='attribute' name='isBold'"
* @generated
*/
boolean isIsBold();
/**
* Sets the value of the '{@link org.omg.dd.dc.Font#isIsBold Is Bold}' attribute.
*
*
* @param value the new value of the 'Is Bold' attribute.
* @see #isIsBold()
* @generated
*/
void setIsBold(boolean value);
/**
* Returns the value of the 'Is Italic' attribute.
*
*
* @return the value of the 'Is Italic' attribute.
* @see #setIsItalic(boolean)
* @see org.omg.dd.dc.DcPackage#getFont_IsItalic()
* @model ordered="false"
* extendedMetaData="kind='attribute' name='isItalic'"
* @generated
*/
boolean isIsItalic();
/**
* Sets the value of the '{@link org.omg.dd.dc.Font#isIsItalic Is Italic}' attribute.
*
*
* @param value the new value of the 'Is Italic' attribute.
* @see #isIsItalic()
* @generated
*/
void setIsItalic(boolean value);
/**
* Returns the value of the 'Is Strike Through' attribute.
*
*
* @return the value of the 'Is Strike Through' attribute.
* @see #setIsStrikeThrough(boolean)
* @see org.omg.dd.dc.DcPackage#getFont_IsStrikeThrough()
* @model ordered="false"
* extendedMetaData="kind='attribute' name='isStrikeThrough'"
* @generated
*/
boolean isIsStrikeThrough();
/**
* Sets the value of the '{@link org.omg.dd.dc.Font#isIsStrikeThrough Is Strike Through}' attribute.
*
*
* @param value the new value of the 'Is Strike Through' attribute.
* @see #isIsStrikeThrough()
* @generated
*/
void setIsStrikeThrough(boolean value);
/**
* Returns the value of the 'Is Underline' attribute.
*
*
* @return the value of the 'Is Underline' attribute.
* @see #setIsUnderline(boolean)
* @see org.omg.dd.dc.DcPackage#getFont_IsUnderline()
* @model ordered="false"
* extendedMetaData="kind='attribute' name='isUnderline'"
* @generated
*/
boolean isIsUnderline();
/**
* Sets the value of the '{@link org.omg.dd.dc.Font#isIsUnderline Is Underline}' attribute.
*
*
* @param value the new value of the 'Is Underline' attribute.
* @see #isIsUnderline()
* @generated
*/
void setIsUnderline(boolean value);
/**
* Returns the value of the 'Name' attribute.
*
*
* @return the value of the 'Name' attribute.
* @see #setName(String)
* @see org.omg.dd.dc.DcPackage#getFont_Name()
* @model ordered="false"
* extendedMetaData="kind='attribute' name='name'"
* @generated
*/
String getName();
/**
* Sets the value of the '{@link org.omg.dd.dc.Font#getName Name}' attribute.
*
*
* @param value the new value of the 'Name' attribute.
* @see #getName()
* @generated
*/
void setName(String value);
/**
* Returns the value of the 'Size' attribute.
*
*
* @return the value of the 'Size' attribute.
* @see #setSize(float)
* @see org.omg.dd.dc.DcPackage#getFont_Size()
* @model ordered="false"
* extendedMetaData="kind='attribute' name='size'"
* @generated
*/
float getSize();
/**
* Sets the value of the '{@link org.omg.dd.dc.Font#getSize Size}' attribute.
*
*
* @param value the new value of the 'Size' attribute.
* @see #getSize()
* @generated
*/
void setSize(float value);
/**
*
*
*
* size >= 0
* @param diagnostics The chain of diagnostics to which problems are to be appended.
* @param context The cache of context-specific information.
*
* @model
* @generated
*/
boolean non_negative_size(DiagnosticChain diagnostics, Map