Package com._1c.g5.v8.dt.moxel.impl
Class PrintSettingsImpl
java.lang.Object
org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEStoreEObjectImpl
com._1c.g5.v8.bm.core.BmObject
com._1c.g5.v8.dt.moxel.impl.PrintSettingsImpl
- All Implemented Interfaces:
IBmObject
,PrintSettings
,org.eclipse.emf.common.notify.Notifier
,org.eclipse.emf.ecore.EObject
,org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder
,org.eclipse.emf.ecore.InternalEObject
An implementation of the model object 'Print Settings'.
The following features are implemented:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImpl
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EScannableAdapterList
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore
-
Field Summary
Fields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
Fields inherited from interface org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder
NIL
Fields inherited from interface com._1c.g5.v8.bm.core.IBmObject
BM_NULL_ID
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.eclipse.emf.ecore.EClass
protected int
int
int
int
int
int
int
float
float
int
getPaper()
int
int
int
int
getScale()
int
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
void
setBlackAndWhite
(boolean newBlackAndWhite) void
setBottomMargin
(int newBottomMargin) void
setCollate
(boolean newCollate) void
setCopies
(int newCopies) void
setDuplexType
(DuplexPrintingType newDuplexType) void
setFirstPageNumber
(int newFirstPageNumber) void
setFitToPage
(boolean newFitToPage) void
setFooterSize
(int newFooterSize) void
setHeaderSize
(int newHeaderSize) void
setLeftMargin
(int newLeftMargin) void
setPageHeight
(float newPageHeight) void
setPageOrientation
(PageOrientation newPageOrientation) void
setPagePlacementAlternation
(PagePlacementAlternation newPagePlacementAlternation) void
setPageSize
(String newPageSize) void
setPageWidth
(float newPageWidth) void
setPaper
(int newPaper) void
setPaperSource
(int newPaperSource) void
setPerPage
(int newPerPage) void
setPrintAccuracy
(PrintAccuracy newPrintAccuracy) void
setPrinterName
(String newPrinterName) void
setRightMargin
(int newRightMargin) void
setScale
(int newScale) void
setTopMargin
(int newTopMargin) void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
Methods inherited from class com._1c.g5.v8.bm.core.BmObject
bmGetEngine, bmGetFqn, bmGetId, bmGetNamespace, bmGetPlatformTransaction, bmGetProperties, bmGetProperty, bmGetReferences, bmGetResourceId, bmGetTopObject, bmGetTransaction, bmGetUri, bmGetUriAsString, bmIsTop, bmIsTransient, bmMatchSingleReference, bmSetProperty, createFeatureMap, createList, dynamicGet, dynamicSet, dynamicUnset, eBasicSetContainer, eBasicSetContainer, eBasicSetSettings, eBasicSettings, eClass, eContainerFeatureID, eDirectResource, eGet, eHasSettings, eInternalContainer, eInternalResource, eInverseAdd, eNotificationRequired, eNotify, equals, eResolveProxy, eSetDirectResource, eSetStore, eSettings, eStore, hashCode
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEStoreEObjectImpl
eBasicContainerFeatureID, eBasicInternalContainer, eDerivedStructuralFeatureID, eDynamicIsSet, eIsCaching
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
eAdapters, eBasicAdapterArray, eBasicAdapterListeners, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetAdapterListeners, eBasicSetContainer, eBasicSetContainerFeatureID, eContents, eCrossReferences, eDeliver, eDynamicClass, eIsProxy, eProperties, eProxyURI, eSetClass, eSetDeliver, eSetProxyURI
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInverseAdd, eInverseRemove, eInverseRemove, eInvocationDelegate, eInvoke, eInvoke, eIsSet, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResource, eSet, eSet, eSetResource, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticOperationCount, eUnset, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Constructor Details
-
PrintSettingsImpl
protected PrintSettingsImpl()
-
-
Method Details
-
eStaticClass
protected org.eclipse.emf.ecore.EClass eStaticClass()- Overrides:
eStaticClass
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eStaticFeatureCount
protected int eStaticFeatureCount()- Overrides:
eStaticFeatureCount
in classorg.eclipse.emf.ecore.impl.MinimalEStoreEObjectImpl
-
getPageOrientation
- Specified by:
getPageOrientation
in interfacePrintSettings
- Returns:
- the value of the 'Page Orientation' attribute.
- See Also:
-
setPageOrientation
- Specified by:
setPageOrientation
in interfacePrintSettings
- Parameters:
newPageOrientation
- the new value of the 'Page Orientation' attribute.- See Also:
-
unsetPageOrientation
public void unsetPageOrientation()- Specified by:
unsetPageOrientation
in interfacePrintSettings
- See Also:
-
isSetPageOrientation
public boolean isSetPageOrientation()- Specified by:
isSetPageOrientation
in interfacePrintSettings
- Returns:
- whether the value of the 'Page Orientation' attribute is set.
- See Also:
-
getScale
public int getScale()- Specified by:
getScale
in interfacePrintSettings
- Returns:
- the value of the 'Scale' attribute.
- See Also:
-
setScale
public void setScale(int newScale) - Specified by:
setScale
in interfacePrintSettings
- Parameters:
newScale
- the new value of the 'Scale' attribute.- See Also:
-
unsetScale
public void unsetScale()- Specified by:
unsetScale
in interfacePrintSettings
- See Also:
-
isSetScale
public boolean isSetScale()- Specified by:
isSetScale
in interfacePrintSettings
- Returns:
- whether the value of the 'Scale' attribute is set.
- See Also:
-
isCollate
public boolean isCollate()- Specified by:
isCollate
in interfacePrintSettings
- Returns:
- the value of the 'Collate' attribute.
- See Also:
-
setCollate
public void setCollate(boolean newCollate) - Specified by:
setCollate
in interfacePrintSettings
- Parameters:
newCollate
- the new value of the 'Collate' attribute.- See Also:
-
unsetCollate
public void unsetCollate()- Specified by:
unsetCollate
in interfacePrintSettings
- See Also:
-
isSetCollate
public boolean isSetCollate()- Specified by:
isSetCollate
in interfacePrintSettings
- Returns:
- whether the value of the 'Collate' attribute is set.
- See Also:
-
getCopies
public int getCopies()- Specified by:
getCopies
in interfacePrintSettings
- Returns:
- the value of the 'Copies' attribute.
- See Also:
-
setCopies
public void setCopies(int newCopies) - Specified by:
setCopies
in interfacePrintSettings
- Parameters:
newCopies
- the new value of the 'Copies' attribute.- See Also:
-
unsetCopies
public void unsetCopies()- Specified by:
unsetCopies
in interfacePrintSettings
- See Also:
-
isSetCopies
public boolean isSetCopies()- Specified by:
isSetCopies
in interfacePrintSettings
- Returns:
- whether the value of the 'Copies' attribute is set.
- See Also:
-
getPerPage
public int getPerPage()- Specified by:
getPerPage
in interfacePrintSettings
- Returns:
- the value of the 'Per Page' attribute.
- See Also:
-
setPerPage
public void setPerPage(int newPerPage) - Specified by:
setPerPage
in interfacePrintSettings
- Parameters:
newPerPage
- the new value of the 'Per Page' attribute.- See Also:
-
unsetPerPage
public void unsetPerPage()- Specified by:
unsetPerPage
in interfacePrintSettings
- See Also:
-
isSetPerPage
public boolean isSetPerPage()- Specified by:
isSetPerPage
in interfacePrintSettings
- Returns:
- whether the value of the 'Per Page' attribute is set.
- See Also:
-
getTopMargin
public int getTopMargin()- Specified by:
getTopMargin
in interfacePrintSettings
- Returns:
- the value of the 'Top Margin' attribute.
- See Also:
-
setTopMargin
public void setTopMargin(int newTopMargin) - Specified by:
setTopMargin
in interfacePrintSettings
- Parameters:
newTopMargin
- the new value of the 'Top Margin' attribute.- See Also:
-
unsetTopMargin
public void unsetTopMargin()- Specified by:
unsetTopMargin
in interfacePrintSettings
- See Also:
-
isSetTopMargin
public boolean isSetTopMargin()- Specified by:
isSetTopMargin
in interfacePrintSettings
- Returns:
- whether the value of the 'Top Margin' attribute is set.
- See Also:
-
getLeftMargin
public int getLeftMargin()- Specified by:
getLeftMargin
in interfacePrintSettings
- Returns:
- the value of the 'Left Margin' attribute.
- See Also:
-
setLeftMargin
public void setLeftMargin(int newLeftMargin) - Specified by:
setLeftMargin
in interfacePrintSettings
- Parameters:
newLeftMargin
- the new value of the 'Left Margin' attribute.- See Also:
-
unsetLeftMargin
public void unsetLeftMargin()- Specified by:
unsetLeftMargin
in interfacePrintSettings
- See Also:
-
isSetLeftMargin
public boolean isSetLeftMargin()- Specified by:
isSetLeftMargin
in interfacePrintSettings
- Returns:
- whether the value of the 'Left Margin' attribute is set.
- See Also:
-
getBottomMargin
public int getBottomMargin()- Specified by:
getBottomMargin
in interfacePrintSettings
- Returns:
- the value of the 'Bottom Margin' attribute.
- See Also:
-
setBottomMargin
public void setBottomMargin(int newBottomMargin) - Specified by:
setBottomMargin
in interfacePrintSettings
- Parameters:
newBottomMargin
- the new value of the 'Bottom Margin' attribute.- See Also:
-
unsetBottomMargin
public void unsetBottomMargin()- Specified by:
unsetBottomMargin
in interfacePrintSettings
- See Also:
-
isSetBottomMargin
public boolean isSetBottomMargin()- Specified by:
isSetBottomMargin
in interfacePrintSettings
- Returns:
- whether the value of the 'Bottom Margin' attribute is set.
- See Also:
-
getRightMargin
public int getRightMargin()- Specified by:
getRightMargin
in interfacePrintSettings
- Returns:
- the value of the 'Right Margin' attribute.
- See Also:
-
setRightMargin
public void setRightMargin(int newRightMargin) - Specified by:
setRightMargin
in interfacePrintSettings
- Parameters:
newRightMargin
- the new value of the 'Right Margin' attribute.- See Also:
-
unsetRightMargin
public void unsetRightMargin()- Specified by:
unsetRightMargin
in interfacePrintSettings
- See Also:
-
isSetRightMargin
public boolean isSetRightMargin()- Specified by:
isSetRightMargin
in interfacePrintSettings
- Returns:
- whether the value of the 'Right Margin' attribute is set.
- See Also:
-
getHeaderSize
public int getHeaderSize()- Specified by:
getHeaderSize
in interfacePrintSettings
- Returns:
- the value of the 'Header Size' attribute.
- See Also:
-
setHeaderSize
public void setHeaderSize(int newHeaderSize) - Specified by:
setHeaderSize
in interfacePrintSettings
- Parameters:
newHeaderSize
- the new value of the 'Header Size' attribute.- See Also:
-
unsetHeaderSize
public void unsetHeaderSize()- Specified by:
unsetHeaderSize
in interfacePrintSettings
- See Also:
-
isSetHeaderSize
public boolean isSetHeaderSize()- Specified by:
isSetHeaderSize
in interfacePrintSettings
- Returns:
- whether the value of the 'Header Size' attribute is set.
- See Also:
-
isFitToPage
public boolean isFitToPage()- Specified by:
isFitToPage
in interfacePrintSettings
- Returns:
- the value of the 'Fit To Page' attribute.
- See Also:
-
setFitToPage
public void setFitToPage(boolean newFitToPage) - Specified by:
setFitToPage
in interfacePrintSettings
- Parameters:
newFitToPage
- the new value of the 'Fit To Page' attribute.- See Also:
-
unsetFitToPage
public void unsetFitToPage()- Specified by:
unsetFitToPage
in interfacePrintSettings
- See Also:
-
isSetFitToPage
public boolean isSetFitToPage()- Specified by:
isSetFitToPage
in interfacePrintSettings
- Returns:
- whether the value of the 'Fit To Page' attribute is set.
- See Also:
-
isBlackAndWhite
public boolean isBlackAndWhite()- Specified by:
isBlackAndWhite
in interfacePrintSettings
- Returns:
- the value of the 'Black And White' attribute.
- See Also:
-
setBlackAndWhite
public void setBlackAndWhite(boolean newBlackAndWhite) - Specified by:
setBlackAndWhite
in interfacePrintSettings
- Parameters:
newBlackAndWhite
- the new value of the 'Black And White' attribute.- See Also:
-
unsetBlackAndWhite
public void unsetBlackAndWhite()- Specified by:
unsetBlackAndWhite
in interfacePrintSettings
- See Also:
-
isSetBlackAndWhite
public boolean isSetBlackAndWhite()- Specified by:
isSetBlackAndWhite
in interfacePrintSettings
- Returns:
- whether the value of the 'Black And White' attribute is set.
- See Also:
-
getPrinterName
- Specified by:
getPrinterName
in interfacePrintSettings
- Returns:
- the value of the 'Printer Name' attribute.
- See Also:
-
setPrinterName
- Specified by:
setPrinterName
in interfacePrintSettings
- Parameters:
newPrinterName
- the new value of the 'Printer Name' attribute.- See Also:
-
unsetPrinterName
public void unsetPrinterName()- Specified by:
unsetPrinterName
in interfacePrintSettings
- See Also:
-
isSetPrinterName
public boolean isSetPrinterName()- Specified by:
isSetPrinterName
in interfacePrintSettings
- Returns:
- whether the value of the 'Printer Name' attribute is set.
- See Also:
-
getPaper
public int getPaper()- Specified by:
getPaper
in interfacePrintSettings
- Returns:
- the value of the 'Paper' attribute.
- See Also:
-
setPaper
public void setPaper(int newPaper) - Specified by:
setPaper
in interfacePrintSettings
- Parameters:
newPaper
- the new value of the 'Paper' attribute.- See Also:
-
unsetPaper
public void unsetPaper()- Specified by:
unsetPaper
in interfacePrintSettings
- See Also:
-
isSetPaper
public boolean isSetPaper()- Specified by:
isSetPaper
in interfacePrintSettings
- Returns:
- whether the value of the 'Paper' attribute is set.
- See Also:
-
getPageSize
- Specified by:
getPageSize
in interfacePrintSettings
- Returns:
- the value of the 'Page Size' attribute.
- See Also:
-
setPageSize
- Specified by:
setPageSize
in interfacePrintSettings
- Parameters:
newPageSize
- the new value of the 'Page Size' attribute.- See Also:
-
unsetPageSize
public void unsetPageSize()- Specified by:
unsetPageSize
in interfacePrintSettings
- See Also:
-
isSetPageSize
public boolean isSetPageSize()- Specified by:
isSetPageSize
in interfacePrintSettings
- Returns:
- whether the value of the 'Page Size' attribute is set.
- See Also:
-
getPaperSource
public int getPaperSource()- Specified by:
getPaperSource
in interfacePrintSettings
- Returns:
- the value of the 'Paper Source' attribute.
- See Also:
-
setPaperSource
public void setPaperSource(int newPaperSource) - Specified by:
setPaperSource
in interfacePrintSettings
- Parameters:
newPaperSource
- the new value of the 'Paper Source' attribute.- See Also:
-
unsetPaperSource
public void unsetPaperSource()- Specified by:
unsetPaperSource
in interfacePrintSettings
- See Also:
-
isSetPaperSource
public boolean isSetPaperSource()- Specified by:
isSetPaperSource
in interfacePrintSettings
- Returns:
- whether the value of the 'Paper Source' attribute is set.
- See Also:
-
getPageWidth
public float getPageWidth()- Specified by:
getPageWidth
in interfacePrintSettings
- Returns:
- the value of the 'Page Width' attribute.
- See Also:
-
setPageWidth
public void setPageWidth(float newPageWidth) - Specified by:
setPageWidth
in interfacePrintSettings
- Parameters:
newPageWidth
- the new value of the 'Page Width' attribute.- See Also:
-
unsetPageWidth
public void unsetPageWidth()- Specified by:
unsetPageWidth
in interfacePrintSettings
- See Also:
-
isSetPageWidth
public boolean isSetPageWidth()- Specified by:
isSetPageWidth
in interfacePrintSettings
- Returns:
- whether the value of the 'Page Width' attribute is set.
- See Also:
-
getPageHeight
public float getPageHeight()- Specified by:
getPageHeight
in interfacePrintSettings
- Returns:
- the value of the 'Page Height' attribute.
- See Also:
-
setPageHeight
public void setPageHeight(float newPageHeight) - Specified by:
setPageHeight
in interfacePrintSettings
- Parameters:
newPageHeight
- the new value of the 'Page Height' attribute.- See Also:
-
unsetPageHeight
public void unsetPageHeight()- Specified by:
unsetPageHeight
in interfacePrintSettings
- See Also:
-
isSetPageHeight
public boolean isSetPageHeight()- Specified by:
isSetPageHeight
in interfacePrintSettings
- Returns:
- whether the value of the 'Page Height' attribute is set.
- See Also:
-
getPrintAccuracy
- Specified by:
getPrintAccuracy
in interfacePrintSettings
- Returns:
- the value of the 'Print Accuracy' attribute.
- See Also:
-
setPrintAccuracy
- Specified by:
setPrintAccuracy
in interfacePrintSettings
- Parameters:
newPrintAccuracy
- the new value of the 'Print Accuracy' attribute.- See Also:
-
unsetPrintAccuracy
public void unsetPrintAccuracy()- Specified by:
unsetPrintAccuracy
in interfacePrintSettings
- See Also:
-
isSetPrintAccuracy
public boolean isSetPrintAccuracy()- Specified by:
isSetPrintAccuracy
in interfacePrintSettings
- Returns:
- whether the value of the 'Print Accuracy' attribute is set.
- See Also:
-
getDuplexType
- Specified by:
getDuplexType
in interfacePrintSettings
- Returns:
- the value of the 'Duplex Type' attribute.
- See Also:
-
setDuplexType
- Specified by:
setDuplexType
in interfacePrintSettings
- Parameters:
newDuplexType
- the new value of the 'Duplex Type' attribute.- See Also:
-
unsetDuplexType
public void unsetDuplexType()- Specified by:
unsetDuplexType
in interfacePrintSettings
- See Also:
-
isSetDuplexType
public boolean isSetDuplexType()- Specified by:
isSetDuplexType
in interfacePrintSettings
- Returns:
- whether the value of the 'Duplex Type' attribute is set.
- See Also:
-
getPagePlacementAlternation
- Specified by:
getPagePlacementAlternation
in interfacePrintSettings
- Returns:
- the value of the 'Page Placement Alternation' attribute.
- See Also:
-
setPagePlacementAlternation
- Specified by:
setPagePlacementAlternation
in interfacePrintSettings
- Parameters:
newPagePlacementAlternation
- the new value of the 'Page Placement Alternation' attribute.- See Also:
-
unsetPagePlacementAlternation
public void unsetPagePlacementAlternation() -
isSetPagePlacementAlternation
public boolean isSetPagePlacementAlternation()- Specified by:
isSetPagePlacementAlternation
in interfacePrintSettings
- Returns:
- whether the value of the 'Page Placement Alternation' attribute is set.
- See Also:
-
getFirstPageNumber
public int getFirstPageNumber()- Specified by:
getFirstPageNumber
in interfacePrintSettings
- Returns:
- the value of the 'First Page Number' attribute.
- See Also:
-
setFirstPageNumber
public void setFirstPageNumber(int newFirstPageNumber) - Specified by:
setFirstPageNumber
in interfacePrintSettings
- Parameters:
newFirstPageNumber
- the new value of the 'First Page Number' attribute.- See Also:
-
unsetFirstPageNumber
public void unsetFirstPageNumber()- Specified by:
unsetFirstPageNumber
in interfacePrintSettings
- See Also:
-
isSetFirstPageNumber
public boolean isSetFirstPageNumber()- Specified by:
isSetFirstPageNumber
in interfacePrintSettings
- Returns:
- whether the value of the 'First Page Number' attribute is set.
- See Also:
-