Class Angle3DImpl
- java.lang.Object
-
- org.eclipse.emf.common.notify.impl.BasicNotifierImpl
-
- org.eclipse.emf.ecore.impl.BasicEObjectImpl
-
- org.eclipse.emf.ecore.impl.EObjectImpl
-
- org.eclipse.birt.chart.model.attribute.impl.Angle3DImpl
-
- All Implemented Interfaces:
Angle3D,IChartObject,org.eclipse.emf.common.notify.Notifier,org.eclipse.emf.ecore.EObject,org.eclipse.emf.ecore.InternalEObject
public class Angle3DImpl extends org.eclipse.emf.ecore.impl.EObjectImpl implements Angle3D
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends java.lang.Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EScannableAdapterList
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Angle3DcopyInstance()A convenient method to get an instance copy.static Angle3Dcreate(double x, double y, double z)static Angle3DcreateDefault(double x, double y, double z)static Angle3DcreateX(double val)static Angle3DcreateY(double val)static Angle3DcreateZ(double val)java.lang.ObjecteGet(int featureID, boolean resolve, boolean coreType)booleaneIsSet(int featureID)voideSet(int featureID, java.lang.Object newValue)voideUnset(int featureID)doublegetAxisAngle()Returns the specific axis angle value if axis type specified, or just returns Zero.AngleTypegetType()doublegetXAngle()doublegetYAngle()doublegetZAngle()booleanisSetType()booleanisSetXAngle()booleanisSetYAngle()booleanisSetZAngle()voidset(double x, double y, double z)Sets the x,y,z angle in one punch.voidsetType(AngleType newType)voidsetXAngle(double newXAngle)voidsetYAngle(double newYAngle)voidsetZAngle(double newZAngle)java.lang.StringtoString()voidunsetType()voidunsetXAngle()voidunsetYAngle()voidunsetZAngle()-
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eSetClass, eSetDeliver, eSetProxyURI
-
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInverseRemove, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eStore, eUnset, eURIFragmentSegment, eVirtualGet, eVirtualGet, eVirtualIsSet, eVirtualSet, eVirtualUnset
-
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotify
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
create
public static Angle3D create(double x, double y, double z)
- Parameters:
x-y-z-- Returns:
- instance of
Angle3D.
-
createDefault
public static Angle3D createDefault(double x, double y, double z)
- Parameters:
x-y-z-- Returns:
-
createX
public static Angle3D createX(double val)
- Parameters:
val-- Returns:
-
createY
public static Angle3D createY(double val)
- Parameters:
val-- Returns:
-
createZ
public static Angle3D createZ(double val)
- Parameters:
val-- Returns:
-
getXAngle
public double getXAngle()
- Specified by:
getXAnglein interfaceAngle3D- Returns:
- the value of the 'XAngle' attribute.
- See Also:
Angle3D.isSetXAngle(),Angle3D.unsetXAngle(),Angle3D.setXAngle(double),AttributePackage.getAngle3D_XAngle()
-
setXAngle
public void setXAngle(double newXAngle)
- Specified by:
setXAnglein interfaceAngle3D- Parameters:
newXAngle- the new value of the 'XAngle' attribute.- See Also:
Angle3D.isSetXAngle(),Angle3D.unsetXAngle(),Angle3D.getXAngle()
-
unsetXAngle
public void unsetXAngle()
- Specified by:
unsetXAnglein interfaceAngle3D- See Also:
Angle3D.isSetXAngle(),Angle3D.getXAngle(),Angle3D.setXAngle(double)
-
isSetXAngle
public boolean isSetXAngle()
- Specified by:
isSetXAnglein interfaceAngle3D- Returns:
- whether the value of the 'XAngle' attribute is set.
- See Also:
Angle3D.unsetXAngle(),Angle3D.getXAngle(),Angle3D.setXAngle(double)
-
getYAngle
public double getYAngle()
- Specified by:
getYAnglein interfaceAngle3D- Returns:
- the value of the 'YAngle' attribute.
- See Also:
Angle3D.isSetYAngle(),Angle3D.unsetYAngle(),Angle3D.setYAngle(double),AttributePackage.getAngle3D_YAngle()
-
setYAngle
public void setYAngle(double newYAngle)
- Specified by:
setYAnglein interfaceAngle3D- Parameters:
newYAngle- the new value of the 'YAngle' attribute.- See Also:
Angle3D.isSetYAngle(),Angle3D.unsetYAngle(),Angle3D.getYAngle()
-
unsetYAngle
public void unsetYAngle()
- Specified by:
unsetYAnglein interfaceAngle3D- See Also:
Angle3D.isSetYAngle(),Angle3D.getYAngle(),Angle3D.setYAngle(double)
-
isSetYAngle
public boolean isSetYAngle()
- Specified by:
isSetYAnglein interfaceAngle3D- Returns:
- whether the value of the 'YAngle' attribute is set.
- See Also:
Angle3D.unsetYAngle(),Angle3D.getYAngle(),Angle3D.setYAngle(double)
-
getZAngle
public double getZAngle()
- Specified by:
getZAnglein interfaceAngle3D- Returns:
- the value of the 'ZAngle' attribute.
- See Also:
Angle3D.isSetZAngle(),Angle3D.unsetZAngle(),Angle3D.setZAngle(double),AttributePackage.getAngle3D_ZAngle()
-
setZAngle
public void setZAngle(double newZAngle)
- Specified by:
setZAnglein interfaceAngle3D- Parameters:
newZAngle- the new value of the 'ZAngle' attribute.- See Also:
Angle3D.isSetZAngle(),Angle3D.unsetZAngle(),Angle3D.getZAngle()
-
unsetZAngle
public void unsetZAngle()
- Specified by:
unsetZAnglein interfaceAngle3D- See Also:
Angle3D.isSetZAngle(),Angle3D.getZAngle(),Angle3D.setZAngle(double)
-
isSetZAngle
public boolean isSetZAngle()
- Specified by:
isSetZAnglein interfaceAngle3D- Returns:
- whether the value of the 'ZAngle' attribute is set.
- See Also:
Angle3D.unsetZAngle(),Angle3D.getZAngle(),Angle3D.setZAngle(double)
-
getType
public AngleType getType()
- Specified by:
getTypein interfaceAngle3D- Returns:
- the value of the 'Type' attribute.
- See Also:
AngleType,Angle3D.isSetType(),Angle3D.unsetType(),Angle3D.setType(AngleType),AttributePackage.getAngle3D_Type()
-
setType
public void setType(AngleType newType)
- Specified by:
setTypein interfaceAngle3D- Parameters:
newType- the new value of the 'Type' attribute.- See Also:
AngleType,Angle3D.isSetType(),Angle3D.unsetType(),Angle3D.getType()
-
unsetType
public void unsetType()
- Specified by:
unsetTypein interfaceAngle3D- See Also:
Angle3D.isSetType(),Angle3D.getType(),Angle3D.setType(AngleType)
-
isSetType
public boolean isSetType()
- Specified by:
isSetTypein interfaceAngle3D- Returns:
- whether the value of the 'Type' attribute is set.
- See Also:
Angle3D.unsetType(),Angle3D.getType(),Angle3D.setType(AngleType)
-
eGet
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)- Specified by:
eGetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eGetin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eSet
public void eSet(int featureID, java.lang.Object newValue)- Specified by:
eSetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eSetin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eUnset
public void eUnset(int featureID)
- Specified by:
eUnsetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eUnsetin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eIsSet
public boolean eIsSet(int featureID)
- Specified by:
eIsSetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eIsSetin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
toString
public java.lang.String toString()
- Overrides:
toStringin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
getAxisAngle
public double getAxisAngle()
Description copied from interface:Angle3DReturns the specific axis angle value if axis type specified, or just returns Zero.- Specified by:
getAxisAnglein interfaceAngle3D- Returns:
-
set
public void set(double x, double y, double z)Description copied from interface:Angle3DSets the x,y,z angle in one punch.
-
copyInstance
public Angle3D copyInstance()
A convenient method to get an instance copy. This is much faster than the ECoreUtil.copy().- Specified by:
copyInstancein interfaceAngle3D- Specified by:
copyInstancein interfaceIChartObject
-
-