se.sj.stina.domain.model.impl.plain
Class SjPrintingInformationPlain

java.lang.Object
  extended by org.stina.framework.core.model.TiAbstractData
      extended by org.stina.framework.core.model.TiAbstractMapData
          extended by se.sj.stina.domain.model.impl.plain.SjPrintingInformationPlain
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Comparable, TiCommonModelPartInterface, TiContainerModelPartInterface, TiGeneratedModelInterface, TiListModelPartInterface, TiMapModelInterface, TiMapModelPartInterface, TiMapPlainInterface, TiMapPropInterface, TiModelConstantsInterface, TiModelInterface, TiPrimitiveModelPartInterface, TiPropertyPartInterface, TiObserverInterface, TiSubjectInterface, TiModelComponentInterface, SjPrintingInformation

public class SjPrintingInformationPlain
extends TiAbstractMapData
implements SjPrintingInformation

Anger utskriftsinformation

- PrintingCommand: Anger information om utskrift, t ex återutskrift, RPR

- NumberOfControlCoupons: Anger hur många kontrollbiljetter som ska skrivas ut

- CashJournalId: Aktuellt vid setOrderPrinted då man har en kassaimplementation.

- EmptyAnswerWhenOnlyManualTickets: Aktuellt vid getFormattedTicketData då man inte vill ha exception att inget finns att skriva ut.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.stina.framework.core.model.TiAbstractMapData
TiAbstractMapData.TiMapDataComparator
 
Field Summary
 TiIntegerData cashJournalId
           
 TiBooleanData emptyAnswerWhenOnlyManualTickets
           
 SjIntegerStringPlain numberOfControlCoupons
           
 SjOrderItemIdListPlain orderItemIdList
           
 TiStringData printingCommand
           
 
Fields inherited from interface se.sj.stina.domain.model.SjPrintingInformation
CASH_JOURNAL_ID, EMPTY_ANSWER_WHEN_ONLY_MANUAL_TICKETS, NUMBER_OF_CONTROL_COUPONS, ORDER_ITEM_ID_LIST, PRINTING_COMMAND
 
Fields inherited from interface org.stina.framework.core.model.TiModelConstantsInterface
ACTIVATED_ELEMENT_PROPERTY, BACKGROUND_COLOR, BOOLEAN_LIST, BYTE_ARRAY_LIST, COLUMN_WIDTH, DEFAULT_VALUE, DISALLOWED_VALUES, DISPLAY_MODE_PROPERTY, EDITABLE, ENABLED, FALSE_MNEMONIC_KEY, FALSE_TEXT, FONT, FORCE_UPDATE, FOREGROUND_COLOR, HORIZONTAL_ALIGNMENT, INTEGER_LIST, LONG_LIST, LONG_LONG_LIST, MAX_VALUE, MIN_VALUE, MNEMONIC_KEY, NO_RESTORE_OF_FIELD, OBJECT_LIST, OBJECT_REFERENCE_LIST, PLAIN_TEXT, PLAIN_VALUES, POSSIBLE_VALUES, PROHIBIT_HTML_FILTER, ROW_HEIGHT, SELECTABLE, SELECTED_ELEMENT_PROPERTY, SELECTED_ELEMENTS, SELECTED_PROPERTY, STRING_LIST, TIBOOLEAN_FALSE, TIBOOLEAN_TRUE, TIINTEGER_0, TISTRING_EMPTY, TOOLTIP_TEXT, TRUE_MNEMONIC_KEY, TRUE_TEXT, VERTICAL_ALIGNMENT
 
Constructor Summary
SjPrintingInformationPlain()
           
 
Method Summary
 TiIntegerInterface getCashJournalId()
          Field cashJournalId is defined as optional.
 java.lang.Integer getCashJournalIdValue()
          Field cashJournalId is defined as optional.
 TiBooleanInterface getEmptyAnswerWhenOnlyManualTickets()
          Field emptyAnswerWhenOnlyManualTickets is defined as optional.
 java.lang.Boolean getEmptyAnswerWhenOnlyManualTicketsValue()
          Field emptyAnswerWhenOnlyManualTickets is defined as optional.
 java.lang.String getGeneratedTiName()
           
 SjIntegerString getNumberOfControlCoupons()
          Field numberOfControlCoupons is defined as optional.
 java.lang.String getNumberOfControlCouponsValue()
          Field numberOfControlCoupons is defined as optional.
 SjOrderItemIdList getOrderItemIdList()
          Field orderItemIdList is defined as optional.
 TiStringInterface getPrintingCommand()
          Field printingCommand is defined as mandatory.
 java.lang.String getPrintingCommandValue()
          Field printingCommand is defined as mandatory.
 java.lang.String getRealTiName()
           
 TiIntegerInterface lookupCashJournalId()
          Field cashJournalId is defined as optional.
 TiBooleanInterface lookupEmptyAnswerWhenOnlyManualTickets()
          Field emptyAnswerWhenOnlyManualTickets is defined as optional.
 SjIntegerString lookupNumberOfControlCoupons()
          Field numberOfControlCoupons is defined as optional.
 SjOrderItemIdList lookupOrderItemIdList()
          Field orderItemIdList is defined as optional.
 TiStringInterface lookupPrintingCommand()
          Field printingCommand is defined as mandatory.
 void setCashJournalId(TiIntegerInterface inData)
          Field cashJournalId is defined as optional.
 void setCashJournalIdValue(java.lang.Integer inData)
          Field cashJournalId is defined as optional.
 void setCashJournalIdValue(java.lang.Integer inData, boolean inNotify)
          Field cashJournalId is defined as optional.
 void setEmptyAnswerWhenOnlyManualTickets(TiBooleanInterface inData)
          Field emptyAnswerWhenOnlyManualTickets is defined as optional.
 void setEmptyAnswerWhenOnlyManualTicketsValue(java.lang.Boolean inData)
          Field emptyAnswerWhenOnlyManualTickets is defined as optional.
 void setEmptyAnswerWhenOnlyManualTicketsValue(java.lang.Boolean inData, boolean inNotify)
          Field emptyAnswerWhenOnlyManualTickets is defined as optional.
 void setNumberOfControlCoupons(SjIntegerString inData)
          Field numberOfControlCoupons is defined as optional.
 void setNumberOfControlCouponsValue(java.lang.String inData)
          Field numberOfControlCoupons is defined as optional.
 void setNumberOfControlCouponsValue(java.lang.String inData, boolean inNotify)
          Field numberOfControlCoupons is defined as optional.
 void setOrderItemIdList(SjOrderItemIdList inData)
          Field orderItemIdList is defined as optional.
 void setPrintingCommand(TiStringInterface inData)
          Field printingCommand is defined as mandatory.
 void setPrintingCommandValue(java.lang.String inData)
          Field printingCommand is defined as mandatory.
 void setPrintingCommandValue(java.lang.String inData, boolean inNotify)
          Field printingCommand is defined as mandatory.
 
Methods inherited from class org.stina.framework.core.model.TiAbstractMapData
clear, clone, clone, disposeModel, equalsModel, getAssignedFieldNames, getComparator, getField, getFieldNames, getIndexForXorPart, getModel, getModelImpl, getValue, getXorNameForXorPart, getXorPart, getXorPartNames, hasField, importValue, importValue, isEmpty, lookupField, lookupFieldObject, lookupModel, lookupModelImpl, memberModel, setModel, setValue, setValue, specifyXors, toDebugString, toDebugString, updateXorIndex
 
Methods inherited from class org.stina.framework.core.model.TiAbstractData
addModelElement, addModelElement, addModelElements, addModelElements, attachObserver, compareTo, containsModelElement, createCloneInstance, detachObserver, getIncludeIfOptional, getIndexOf, getIndexOfEqualsModel, getIndexOfInstance, getLastIndexOf, getListSize, getModelElementAt, getModelElements, getObserverCount, getPropertiesDelegate, getProperty, getPropertyModel, getPropertyNames, hasProperties, insertModelElementAt, insertModelElementAt, isEnabled, isObserverAttached, isSizeField, lookupObservers, lookupObserversLock, moveModelElementOfInstance, moveModelElementOfInstance, notifyObservers, property, removeAllModelElements, removeAllModelElements, removeModelElement, removeModelElement, removeModelElementAt, removeModelElementAt, removeProperties, removeProperty, removeProperty, setEnabled, setEnabled, setIncludeIfOptional, setModelElementAt, setModelElementAt, setModelElements, setModelElements, setProperty, setProperty, setUpdateXorFieldEnabled, sizeOfList, specifyProperties, update, update, updateObserver
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.stina.framework.core.model.TiMapPlainInterface
clear, getAssignedFieldNames, getComparator, getFieldNames, getModelImpl, getXorNameForXorPart, getXorPartNames, hasField, isEmpty, lookupFieldObject, lookupModelImpl, toDebugString
 
Methods inherited from interface org.stina.framework.core.model.TiMapModelPartInterface
getIncludeIfOptional, getIndexForXorPart, lookupModel, setIncludeIfOptional, setUpdateXorFieldEnabled
 
Methods inherited from interface org.stina.framework.core.model.TiContainerModelPartInterface
getModel, setModel
 
Methods inherited from interface org.stina.framework.core.model.TiCommonModelPartInterface
clone, disposeModel, equalsModel, getValue, importValue, importValue, setValue, setValue, toDebugString, update, update
 
Methods inherited from interface java.lang.Comparable
compareTo
 
Methods inherited from interface org.stina.framework.core.model.TiPropertyPartInterface
getProperty, getPropertyModel, getPropertyNames, isEnabled, removeProperties, removeProperty, removeProperty, setEnabled, setEnabled, setProperty, setProperty, specifyProperties
 
Methods inherited from interface org.stina.framework.support.observer.TiObserverInterface
updateObserver
 
Methods inherited from interface org.stina.framework.core.model.TiListModelPartInterface
addModelElement, addModelElement, addModelElements, addModelElements, containsModelElement, getIndexOf, getIndexOfEqualsModel, getIndexOfInstance, getLastIndexOf, getListSize, getModelElementAt, getModelElements, insertModelElementAt, insertModelElementAt, moveModelElementOfInstance, moveModelElementOfInstance, removeAllModelElements, removeAllModelElements, removeModelElement, removeModelElement, removeModelElementAt, removeModelElementAt, setModelElementAt, setModelElementAt, setModelElements, setModelElements
 
Methods inherited from interface org.stina.framework.support.observer.TiSubjectInterface
attachObserver, clone, detachObserver, getObserverCount, isObserverAttached, lookupObservers, lookupObserversLock, notifyObservers, toDebugString
 
Methods inherited from interface org.stina.framework.support.util.TiModelComponentInterface
property
 

Field Detail

printingCommand

public TiStringData printingCommand

orderItemIdList

public SjOrderItemIdListPlain orderItemIdList

numberOfControlCoupons

public SjIntegerStringPlain numberOfControlCoupons

cashJournalId

public TiIntegerData cashJournalId

emptyAnswerWhenOnlyManualTickets

public TiBooleanData emptyAnswerWhenOnlyManualTickets
Constructor Detail

SjPrintingInformationPlain

public SjPrintingInformationPlain()
Method Detail

getPrintingCommand

public TiStringInterface getPrintingCommand()
Field printingCommand is defined as mandatory.

Specified by:
getPrintingCommand in interface SjPrintingInformation

lookupPrintingCommand

public TiStringInterface lookupPrintingCommand()
Field printingCommand is defined as mandatory.

Specified by:
lookupPrintingCommand in interface SjPrintingInformation

setPrintingCommand

public void setPrintingCommand(TiStringInterface inData)
Field printingCommand is defined as mandatory.

Specified by:
setPrintingCommand in interface SjPrintingInformation

getPrintingCommandValue

public java.lang.String getPrintingCommandValue()
Field printingCommand is defined as mandatory.

Specified by:
getPrintingCommandValue in interface SjPrintingInformation

setPrintingCommandValue

public void setPrintingCommandValue(java.lang.String inData)
Field printingCommand is defined as mandatory.

Specified by:
setPrintingCommandValue in interface SjPrintingInformation

setPrintingCommandValue

public void setPrintingCommandValue(java.lang.String inData,
                                    boolean inNotify)
Field printingCommand is defined as mandatory.

Specified by:
setPrintingCommandValue in interface SjPrintingInformation

getOrderItemIdList

public SjOrderItemIdList getOrderItemIdList()
Field orderItemIdList is defined as optional.

Specified by:
getOrderItemIdList in interface SjPrintingInformation

lookupOrderItemIdList

public SjOrderItemIdList lookupOrderItemIdList()
Field orderItemIdList is defined as optional.

Specified by:
lookupOrderItemIdList in interface SjPrintingInformation

setOrderItemIdList

public void setOrderItemIdList(SjOrderItemIdList inData)
Field orderItemIdList is defined as optional.

Specified by:
setOrderItemIdList in interface SjPrintingInformation

getNumberOfControlCoupons

public SjIntegerString getNumberOfControlCoupons()
Field numberOfControlCoupons is defined as optional.

Specified by:
getNumberOfControlCoupons in interface SjPrintingInformation

lookupNumberOfControlCoupons

public SjIntegerString lookupNumberOfControlCoupons()
Field numberOfControlCoupons is defined as optional.

Specified by:
lookupNumberOfControlCoupons in interface SjPrintingInformation

setNumberOfControlCoupons

public void setNumberOfControlCoupons(SjIntegerString inData)
Field numberOfControlCoupons is defined as optional.

Specified by:
setNumberOfControlCoupons in interface SjPrintingInformation

getNumberOfControlCouponsValue

public java.lang.String getNumberOfControlCouponsValue()
Field numberOfControlCoupons is defined as optional.

Specified by:
getNumberOfControlCouponsValue in interface SjPrintingInformation

setNumberOfControlCouponsValue

public void setNumberOfControlCouponsValue(java.lang.String inData)
Field numberOfControlCoupons is defined as optional.

Specified by:
setNumberOfControlCouponsValue in interface SjPrintingInformation

setNumberOfControlCouponsValue

public void setNumberOfControlCouponsValue(java.lang.String inData,
                                           boolean inNotify)
Field numberOfControlCoupons is defined as optional.

Specified by:
setNumberOfControlCouponsValue in interface SjPrintingInformation

getCashJournalId

public TiIntegerInterface getCashJournalId()
Field cashJournalId is defined as optional.

Specified by:
getCashJournalId in interface SjPrintingInformation

lookupCashJournalId

public TiIntegerInterface lookupCashJournalId()
Field cashJournalId is defined as optional.

Specified by:
lookupCashJournalId in interface SjPrintingInformation

setCashJournalId

public void setCashJournalId(TiIntegerInterface inData)
Field cashJournalId is defined as optional.

Specified by:
setCashJournalId in interface SjPrintingInformation

getCashJournalIdValue

public java.lang.Integer getCashJournalIdValue()
Field cashJournalId is defined as optional.

Specified by:
getCashJournalIdValue in interface SjPrintingInformation

setCashJournalIdValue

public void setCashJournalIdValue(java.lang.Integer inData)
Field cashJournalId is defined as optional.

Specified by:
setCashJournalIdValue in interface SjPrintingInformation

setCashJournalIdValue

public void setCashJournalIdValue(java.lang.Integer inData,
                                  boolean inNotify)
Field cashJournalId is defined as optional.

Specified by:
setCashJournalIdValue in interface SjPrintingInformation

getEmptyAnswerWhenOnlyManualTickets

public TiBooleanInterface getEmptyAnswerWhenOnlyManualTickets()
Field emptyAnswerWhenOnlyManualTickets is defined as optional.

Specified by:
getEmptyAnswerWhenOnlyManualTickets in interface SjPrintingInformation

lookupEmptyAnswerWhenOnlyManualTickets

public TiBooleanInterface lookupEmptyAnswerWhenOnlyManualTickets()
Field emptyAnswerWhenOnlyManualTickets is defined as optional.

Specified by:
lookupEmptyAnswerWhenOnlyManualTickets in interface SjPrintingInformation

setEmptyAnswerWhenOnlyManualTickets

public void setEmptyAnswerWhenOnlyManualTickets(TiBooleanInterface inData)
Field emptyAnswerWhenOnlyManualTickets is defined as optional.

Specified by:
setEmptyAnswerWhenOnlyManualTickets in interface SjPrintingInformation

getEmptyAnswerWhenOnlyManualTicketsValue

public java.lang.Boolean getEmptyAnswerWhenOnlyManualTicketsValue()
Field emptyAnswerWhenOnlyManualTickets is defined as optional.

Specified by:
getEmptyAnswerWhenOnlyManualTicketsValue in interface SjPrintingInformation

setEmptyAnswerWhenOnlyManualTicketsValue

public void setEmptyAnswerWhenOnlyManualTicketsValue(java.lang.Boolean inData)
Field emptyAnswerWhenOnlyManualTickets is defined as optional.

Specified by:
setEmptyAnswerWhenOnlyManualTicketsValue in interface SjPrintingInformation

setEmptyAnswerWhenOnlyManualTicketsValue

public void setEmptyAnswerWhenOnlyManualTicketsValue(java.lang.Boolean inData,
                                                     boolean inNotify)
Field emptyAnswerWhenOnlyManualTickets is defined as optional.

Specified by:
setEmptyAnswerWhenOnlyManualTicketsValue in interface SjPrintingInformation

getRealTiName

public java.lang.String getRealTiName()
Specified by:
getRealTiName in interface TiCommonModelPartInterface
Overrides:
getRealTiName in class TiAbstractData

getGeneratedTiName

public java.lang.String getGeneratedTiName()
Specified by:
getGeneratedTiName in interface TiCommonModelPartInterface
Overrides:
getGeneratedTiName in class TiAbstractData


Copyright © 2012. All Rights Reserved.