/*******************************************************************************
* 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;
import java.math.BigInteger;
import org.eclipse.emf.ecore.EObject;
import org.oasisopen.names.tc.opendocument.xmlns.text.GradientStyle;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Gradient Type</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.oasisopen.names.tc.opendocument.xmlns.drawing.GradientType#getAngle <em>Angle</em>}</li>
* <li>{@link org.oasisopen.names.tc.opendocument.xmlns.drawing.GradientType#getBorder <em>Border</em>}</li>
* <li>{@link org.oasisopen.names.tc.opendocument.xmlns.drawing.GradientType#getCx <em>Cx</em>}</li>
* <li>{@link org.oasisopen.names.tc.opendocument.xmlns.drawing.GradientType#getCy <em>Cy</em>}</li>
* <li>{@link org.oasisopen.names.tc.opendocument.xmlns.drawing.GradientType#getDisplayName <em>Display Name</em>}</li>
* <li>{@link org.oasisopen.names.tc.opendocument.xmlns.drawing.GradientType#getEndColor <em>End Color</em>}</li>
* <li>{@link org.oasisopen.names.tc.opendocument.xmlns.drawing.GradientType#getEndIntensity <em>End Intensity</em>}</li>
* <li>{@link org.oasisopen.names.tc.opendocument.xmlns.drawing.GradientType#getName <em>Name</em>}</li>
* <li>{@link org.oasisopen.names.tc.opendocument.xmlns.drawing.GradientType#getStartColor <em>Start Color</em>}</li>
* <li>{@link org.oasisopen.names.tc.opendocument.xmlns.drawing.GradientType#getStartIntensity <em>Start Intensity</em>}</li>
* <li>{@link org.oasisopen.names.tc.opendocument.xmlns.drawing.GradientType#getStyle <em>Style</em>}</li>
* </ul>
* </p>
*
* @see org.oasisopen.names.tc.opendocument.xmlns.drawing.DrawingPackage#getGradientType()
* @model extendedMetaData="name='gradient_._type' kind='empty'"
* @generated
*/
public interface GradientType extends EObject {
/**
* Returns the value of the '<em><b>Angle</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Angle</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Angle</em>' attribute.
* @see #setAngle(BigInteger)
* @see org.oasisopen.names.tc.opendocument.xmlns.drawing.DrawingPackage#getGradientType_Angle()
* @model dataType="org.oasisopen.names.tc.opendocument.xmlns.text.Integer"
* extendedMetaData="kind='attribute' name='angle' namespace='##targetNamespace'"
* @generated
*/
BigInteger getAngle();
/**
* Sets the value of the '{@link org.oasisopen.names.tc.opendocument.xmlns.drawing.GradientType#getAngle <em>Angle</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Angle</em>' attribute.
* @see #getAngle()
* @generated
*/
void setAngle(BigInteger value);
/**
* Returns the value of the '<em><b>Border</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Border</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Border</em>' attribute.
* @see #setBorder(String)
* @see org.oasisopen.names.tc.opendocument.xmlns.drawing.DrawingPackage#getGradientType_Border()
* @model dataType="org.oasisopen.names.tc.opendocument.xmlns.text.Percent"
* extendedMetaData="kind='attribute' name='border' namespace='##targetNamespace'"
* @generated
*/
String getBorder();
/**
* Sets the value of the '{@link org.oasisopen.names.tc.opendocument.xmlns.drawing.GradientType#getBorder <em>Border</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Border</em>' attribute.
* @see #getBorder()
* @generated
*/
void setBorder(String value);
/**
* Returns the value of the '<em><b>Cx</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Cx</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Cx</em>' attribute.
* @see #setCx(String)
* @see org.oasisopen.names.tc.opendocument.xmlns.drawing.DrawingPackage#getGradientType_Cx()
* @model dataType="org.oasisopen.names.tc.opendocument.xmlns.text.Percent"
* extendedMetaData="kind='attribute' name='cx' namespace='##targetNamespace'"
* @generated
*/
String getCx();
/**
* Sets the value of the '{@link org.oasisopen.names.tc.opendocument.xmlns.drawing.GradientType#getCx <em>Cx</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Cx</em>' attribute.
* @see #getCx()
* @generated
*/
void setCx(String value);
/**
* Returns the value of the '<em><b>Cy</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Cy</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Cy</em>' attribute.
* @see #setCy(String)
* @see org.oasisopen.names.tc.opendocument.xmlns.drawing.DrawingPackage#getGradientType_Cy()
* @model dataType="org.oasisopen.names.tc.opendocument.xmlns.text.Percent"
* extendedMetaData="kind='attribute' name='cy' namespace='##targetNamespace'"
* @generated
*/
String getCy();
/**
* Sets the value of the '{@link org.oasisopen.names.tc.opendocument.xmlns.drawing.GradientType#getCy <em>Cy</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Cy</em>' attribute.
* @see #getCy()
* @generated
*/
void setCy(String value);
/**
* Returns the value of the '<em><b>Display Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Display Name</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Display Name</em>' attribute.
* @see #setDisplayName(String)
* @see org.oasisopen.names.tc.opendocument.xmlns.drawing.DrawingPackage#getGradientType_DisplayName()
* @model dataType="org.oasisopen.names.tc.opendocument.xmlns.text.String"
* extendedMetaData="kind='attribute' name='display-name' namespace='##targetNamespace'"
* @generated
*/
String getDisplayName();
/**
* Sets the value of the '{@link org.oasisopen.names.tc.opendocument.xmlns.drawing.GradientType#getDisplayName <em>Display Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Display Name</em>' attribute.
* @see #getDisplayName()
* @generated
*/
void setDisplayName(String value);
/**
* Returns the value of the '<em><b>End Color</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>End Color</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>End Color</em>' attribute.
* @see #setEndColor(String)
* @see org.oasisopen.names.tc.opendocument.xmlns.drawing.DrawingPackage#getGradientType_EndColor()
* @model dataType="org.oasisopen.names.tc.opendocument.xmlns.text.Color"
* extendedMetaData="kind='attribute' name='end-color' namespace='##targetNamespace'"
* @generated
*/
String getEndColor();
/**
* Sets the value of the '{@link org.oasisopen.names.tc.opendocument.xmlns.drawing.GradientType#getEndColor <em>End Color</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>End Color</em>' attribute.
* @see #getEndColor()
* @generated
*/
void setEndColor(String value);
/**
* Returns the value of the '<em><b>End Intensity</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>End Intensity</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>End Intensity</em>' attribute.
* @see #setEndIntensity(String)
* @see org.oasisopen.names.tc.opendocument.xmlns.drawing.DrawingPackage#getGradientType_EndIntensity()
* @model dataType="org.oasisopen.names.tc.opendocument.xmlns.text.Percent"
* extendedMetaData="kind='attribute' name='end-intensity' namespace='##targetNamespace'"
* @generated
*/
String getEndIntensity();
/**
* Sets the value of the '{@link org.oasisopen.names.tc.opendocument.xmlns.drawing.GradientType#getEndIntensity <em>End Intensity</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>End Intensity</em>' attribute.
* @see #getEndIntensity()
* @generated
*/
void setEndIntensity(String value);
/**
* Returns the value of the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Name</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Name</em>' attribute.
* @see #setName(String)
* @see org.oasisopen.names.tc.opendocument.xmlns.drawing.DrawingPackage#getGradientType_Name()
* @model dataType="org.oasisopen.names.tc.opendocument.xmlns.text.StyleName" required="true"
* extendedMetaData="kind='attribute' name='name' namespace='##targetNamespace'"
* @generated
*/
String getName();
/**
* Sets the value of the '{@link org.oasisopen.names.tc.opendocument.xmlns.drawing.GradientType#getName <em>Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Name</em>' attribute.
* @see #getName()
* @generated
*/
void setName(String value);
/**
* Returns the value of the '<em><b>Start Color</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Start Color</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Start Color</em>' attribute.
* @see #setStartColor(String)
* @see org.oasisopen.names.tc.opendocument.xmlns.drawing.DrawingPackage#getGradientType_StartColor()
* @model dataType="org.oasisopen.names.tc.opendocument.xmlns.text.Color"
* extendedMetaData="kind='attribute' name='start-color' namespace='##targetNamespace'"
* @generated
*/
String getStartColor();
/**
* Sets the value of the '{@link org.oasisopen.names.tc.opendocument.xmlns.drawing.GradientType#getStartColor <em>Start Color</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Start Color</em>' attribute.
* @see #getStartColor()
* @generated
*/
void setStartColor(String value);
/**
* Returns the value of the '<em><b>Start Intensity</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Start Intensity</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Start Intensity</em>' attribute.
* @see #setStartIntensity(String)
* @see org.oasisopen.names.tc.opendocument.xmlns.drawing.DrawingPackage#getGradientType_StartIntensity()
* @model dataType="org.oasisopen.names.tc.opendocument.xmlns.text.Percent"
* extendedMetaData="kind='attribute' name='start-intensity' namespace='##targetNamespace'"
* @generated
*/
String getStartIntensity();
/**
* Sets the value of the '{@link org.oasisopen.names.tc.opendocument.xmlns.drawing.GradientType#getStartIntensity <em>Start Intensity</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Start Intensity</em>' attribute.
* @see #getStartIntensity()
* @generated
*/
void setStartIntensity(String value);
/**
* Returns the value of the '<em><b>Style</b></em>' attribute.
* The literals are from the enumeration {@link org.oasisopen.names.tc.opendocument.xmlns.text.GradientStyle}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Style</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Style</em>' attribute.
* @see org.oasisopen.names.tc.opendocument.xmlns.text.GradientStyle
* @see #isSetStyle()
* @see #unsetStyle()
* @see #setStyle(GradientStyle)
* @see org.oasisopen.names.tc.opendocument.xmlns.drawing.DrawingPackage#getGradientType_Style()
* @model unsettable="true" required="true"
* extendedMetaData="kind='attribute' name='style' namespace='##targetNamespace'"
* @generated
*/
GradientStyle getStyle();
/**
* Sets the value of the '{@link org.oasisopen.names.tc.opendocument.xmlns.drawing.GradientType#getStyle <em>Style</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Style</em>' attribute.
* @see org.oasisopen.names.tc.opendocument.xmlns.text.GradientStyle
* @see #isSetStyle()
* @see #unsetStyle()
* @see #getStyle()
* @generated
*/
void setStyle(GradientStyle value);
/**
* Unsets the value of the '{@link org.oasisopen.names.tc.opendocument.xmlns.drawing.GradientType#getStyle <em>Style</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #isSetStyle()
* @see #getStyle()
* @see #setStyle(GradientStyle)
* @generated
*/
void unsetStyle();
/**
* Returns whether the value of the '{@link org.oasisopen.names.tc.opendocument.xmlns.drawing.GradientType#getStyle <em>Style</em>}' attribute is set.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return whether the value of the '<em>Style</em>' attribute is set.
* @see #unsetStyle()
* @see #getStyle()
* @see #setStyle(GradientStyle)
* @generated
*/
boolean isSetStyle();
} // GradientType