se.sj.stina.domain.model.impl.standard
Class SjCancelOrderSpecificationStandard

java.lang.Object
  extended by org.stina.framework.support.observer.TiSubject
      extended by org.stina.framework.core.model.TiAbstractModel
          extended by org.stina.framework.core.model.TiAbstractMapModel
              extended by se.sj.stina.domain.model.impl.standard.SjCancelOrderSpecificationStandard
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, SjCancelOrderSpecification

public class SjCancelOrderSpecificationStandard
extends TiAbstractMapModel
implements SjCancelOrderSpecification

Beskriver vad som skall avbokas.

Om flaggan CancelWithWarning är sann kommer avbokning inte utföras om återköpsvärdet understiger aktuellt pris för någon rad.

Om en eller flera rader (OrderItemIdList) anges kommer endast dessa att avbokas annars avbokas hela beställningen.

Om klienten inte är intresserad av resultatet så kan IgnoreResult sättas till true. Då kommer inte något resultat att returneras.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.stina.framework.core.model.TiAbstractMapModel
TiAbstractMapModel.TiMapModelComparator
 
Field Summary
 
Fields inherited from class org.stina.framework.core.model.TiAbstractModel
disposed
 
Fields inherited from interface se.sj.stina.domain.model.SjCancelOrderSpecification
CANCEL_REASON, CANCEL_WITH_WARNING, EXTERNAL_EVENT_SPECIFICATION, IGNORE_RESULT, ORDER_ITEM_ID_LIST, RETURN_CREDIT_AMOUNT
 
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
SjCancelOrderSpecificationStandard()
           
 
Method Summary
 TiStringInterface getCancelReason()
          Field cancelReason is defined as optional.
 java.lang.String getCancelReasonValue()
          Field cancelReason is defined as optional.
 TiBooleanInterface getCancelWithWarning()
          Field cancelWithWarning is defined as mandatory.
 java.lang.Boolean getCancelWithWarningValue()
          Field cancelWithWarning is defined as mandatory.
 SjExternalEventSpecification getExternalEventSpecification()
          Field externalEventSpecification is defined as optional.
 java.lang.String getGeneratedTiName()
           
 TiBooleanInterface getIgnoreResult()
          Field ignoreResult is defined as optional.
 java.lang.Boolean getIgnoreResultValue()
          Field ignoreResult is defined as optional.
 SjOrderItemIdList getOrderItemIdList()
          Field orderItemIdList is defined as optional.
 java.lang.String getRealTiName()
           
 TiBooleanInterface getReturnCreditAmount()
          Field returnCreditAmount is defined as optional.
 java.lang.Boolean getReturnCreditAmountValue()
          Field returnCreditAmount is defined as optional.
 TiStringInterface lookupCancelReason()
          Field cancelReason is defined as optional.
 TiBooleanInterface lookupCancelWithWarning()
          Field cancelWithWarning is defined as mandatory.
 SjExternalEventSpecification lookupExternalEventSpecification()
          Field externalEventSpecification is defined as optional.
 TiBooleanInterface lookupIgnoreResult()
          Field ignoreResult is defined as optional.
 SjOrderItemIdList lookupOrderItemIdList()
          Field orderItemIdList is defined as optional.
 TiBooleanInterface lookupReturnCreditAmount()
          Field returnCreditAmount is defined as optional.
 void setCancelReason(TiStringInterface inData)
          Field cancelReason is defined as optional.
 void setCancelReasonValue(java.lang.String inData)
          Field cancelReason is defined as optional.
 void setCancelReasonValue(java.lang.String inData, boolean inNotify)
          Field cancelReason is defined as optional.
 void setCancelWithWarning(TiBooleanInterface inData)
          Field cancelWithWarning is defined as mandatory.
 void setCancelWithWarningValue(java.lang.Boolean inData)
          Field cancelWithWarning is defined as mandatory.
 void setCancelWithWarningValue(java.lang.Boolean inData, boolean inNotify)
          Field cancelWithWarning is defined as mandatory.
 void setExternalEventSpecification(SjExternalEventSpecification inData)
          Field externalEventSpecification is defined as optional.
 void setIgnoreResult(TiBooleanInterface inData)
          Field ignoreResult is defined as optional.
 void setIgnoreResultValue(java.lang.Boolean inData)
          Field ignoreResult is defined as optional.
 void setIgnoreResultValue(java.lang.Boolean inData, boolean inNotify)
          Field ignoreResult is defined as optional.
 void setOrderItemIdList(SjOrderItemIdList inData)
          Field orderItemIdList is defined as optional.
 void setReturnCreditAmount(TiBooleanInterface inData)
          Field returnCreditAmount is defined as optional.
 void setReturnCreditAmountValue(java.lang.Boolean inData)
          Field returnCreditAmount is defined as optional.
 void setReturnCreditAmountValue(java.lang.Boolean inData, boolean inNotify)
          Field returnCreditAmount is defined as optional.
protected  TiFieldSpecificationEnumeration specifyFields()
           
 
Methods inherited from class org.stina.framework.core.model.TiAbstractMapModel
attachObserver, clear, clone, detachObserver, disposeModel, equalsModel, getAssignedFieldNames, getComparator, getField, getField, getFieldNames, getIncludeIfOptional, getIndexForXorPart, getModel, getModelImpl, getRealField, getRealField, getValue, getXorNameForXorPart, getXorPartNames, getXorSpecificationByName, hasField, importValue, importValue, isEmpty, lookupField, lookupFieldObject, lookupModel, lookupModelImpl, memberModel, setIncludeIfOptional, setModel, setUpdateXorFieldEnabled, setValue, setValue, specifyXors, toDebugString, toDebugString
 
Methods inherited from class org.stina.framework.core.model.TiAbstractModel
addModelElement, addModelElement, addModelElements, addModelElements, clone, compareTo, containsModelElement, copyProperties, createCloneInstance, getCloneTableKey, getIndexOf, getIndexOfEqualsModel, getIndexOfInstance, getLastIndexOf, getListSize, getModelElementAt, getModelElements, getProperty, getPropertyModel, getPropertyNames, hasProperties, hasProperty, insertModelElementAt, insertModelElementAt, isEnabled, isSizeField, moveModelElementOfInstance, moveModelElementOfInstance, property, removeAllModelElements, removeAllModelElements, removeModelElement, removeModelElement, removeModelElementAt, removeModelElementAt, removeProperties, removeProperty, removeProperty, setEnabled, setEnabled, setModelElementAt, setModelElementAt, setModelElements, setModelElements, setProperty, setProperty, sizeOfList, specifyProperties, update, update, updateObserver
 
Methods inherited from class org.stina.framework.support.observer.TiSubject
getIndexOf, getIndexOf, getObserverCount, getObserverCount, isObserverAttached, logObservers, lookupObservers, lookupObserversLock, notifyAnyAspectObservers, notifyObservers
 
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
 

Constructor Detail

SjCancelOrderSpecificationStandard

public SjCancelOrderSpecificationStandard()
Method Detail

getCancelWithWarning

public TiBooleanInterface getCancelWithWarning()
Field cancelWithWarning is defined as mandatory.

Specified by:
getCancelWithWarning in interface SjCancelOrderSpecification

lookupCancelWithWarning

public TiBooleanInterface lookupCancelWithWarning()
Field cancelWithWarning is defined as mandatory.

Specified by:
lookupCancelWithWarning in interface SjCancelOrderSpecification

setCancelWithWarning

public void setCancelWithWarning(TiBooleanInterface inData)
Field cancelWithWarning is defined as mandatory.

Specified by:
setCancelWithWarning in interface SjCancelOrderSpecification

getCancelWithWarningValue

public java.lang.Boolean getCancelWithWarningValue()
Field cancelWithWarning is defined as mandatory.

Specified by:
getCancelWithWarningValue in interface SjCancelOrderSpecification

setCancelWithWarningValue

public void setCancelWithWarningValue(java.lang.Boolean inData)
Field cancelWithWarning is defined as mandatory.

Specified by:
setCancelWithWarningValue in interface SjCancelOrderSpecification

setCancelWithWarningValue

public void setCancelWithWarningValue(java.lang.Boolean inData,
                                      boolean inNotify)
Field cancelWithWarning is defined as mandatory.

Specified by:
setCancelWithWarningValue in interface SjCancelOrderSpecification

getOrderItemIdList

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

Specified by:
getOrderItemIdList in interface SjCancelOrderSpecification

lookupOrderItemIdList

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

Specified by:
lookupOrderItemIdList in interface SjCancelOrderSpecification

setOrderItemIdList

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

Specified by:
setOrderItemIdList in interface SjCancelOrderSpecification

getIgnoreResult

public TiBooleanInterface getIgnoreResult()
Field ignoreResult is defined as optional.

Specified by:
getIgnoreResult in interface SjCancelOrderSpecification

lookupIgnoreResult

public TiBooleanInterface lookupIgnoreResult()
Field ignoreResult is defined as optional.

Specified by:
lookupIgnoreResult in interface SjCancelOrderSpecification

setIgnoreResult

public void setIgnoreResult(TiBooleanInterface inData)
Field ignoreResult is defined as optional.

Specified by:
setIgnoreResult in interface SjCancelOrderSpecification

getIgnoreResultValue

public java.lang.Boolean getIgnoreResultValue()
Field ignoreResult is defined as optional.

Specified by:
getIgnoreResultValue in interface SjCancelOrderSpecification

setIgnoreResultValue

public void setIgnoreResultValue(java.lang.Boolean inData)
Field ignoreResult is defined as optional.

Specified by:
setIgnoreResultValue in interface SjCancelOrderSpecification

setIgnoreResultValue

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

Specified by:
setIgnoreResultValue in interface SjCancelOrderSpecification

getReturnCreditAmount

public TiBooleanInterface getReturnCreditAmount()
Field returnCreditAmount is defined as optional.

Specified by:
getReturnCreditAmount in interface SjCancelOrderSpecification

lookupReturnCreditAmount

public TiBooleanInterface lookupReturnCreditAmount()
Field returnCreditAmount is defined as optional.

Specified by:
lookupReturnCreditAmount in interface SjCancelOrderSpecification

setReturnCreditAmount

public void setReturnCreditAmount(TiBooleanInterface inData)
Field returnCreditAmount is defined as optional.

Specified by:
setReturnCreditAmount in interface SjCancelOrderSpecification

getReturnCreditAmountValue

public java.lang.Boolean getReturnCreditAmountValue()
Field returnCreditAmount is defined as optional.

Specified by:
getReturnCreditAmountValue in interface SjCancelOrderSpecification

setReturnCreditAmountValue

public void setReturnCreditAmountValue(java.lang.Boolean inData)
Field returnCreditAmount is defined as optional.

Specified by:
setReturnCreditAmountValue in interface SjCancelOrderSpecification

setReturnCreditAmountValue

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

Specified by:
setReturnCreditAmountValue in interface SjCancelOrderSpecification

getExternalEventSpecification

public SjExternalEventSpecification getExternalEventSpecification()
Field externalEventSpecification is defined as optional.

Specified by:
getExternalEventSpecification in interface SjCancelOrderSpecification

lookupExternalEventSpecification

public SjExternalEventSpecification lookupExternalEventSpecification()
Field externalEventSpecification is defined as optional.

Specified by:
lookupExternalEventSpecification in interface SjCancelOrderSpecification

setExternalEventSpecification

public void setExternalEventSpecification(SjExternalEventSpecification inData)
Field externalEventSpecification is defined as optional.

Specified by:
setExternalEventSpecification in interface SjCancelOrderSpecification

getCancelReason

public TiStringInterface getCancelReason()
Field cancelReason is defined as optional.

Specified by:
getCancelReason in interface SjCancelOrderSpecification

lookupCancelReason

public TiStringInterface lookupCancelReason()
Field cancelReason is defined as optional.

Specified by:
lookupCancelReason in interface SjCancelOrderSpecification

setCancelReason

public void setCancelReason(TiStringInterface inData)
Field cancelReason is defined as optional.

Specified by:
setCancelReason in interface SjCancelOrderSpecification

getCancelReasonValue

public java.lang.String getCancelReasonValue()
Field cancelReason is defined as optional.

Specified by:
getCancelReasonValue in interface SjCancelOrderSpecification

setCancelReasonValue

public void setCancelReasonValue(java.lang.String inData)
Field cancelReason is defined as optional.

Specified by:
setCancelReasonValue in interface SjCancelOrderSpecification

setCancelReasonValue

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

Specified by:
setCancelReasonValue in interface SjCancelOrderSpecification

specifyFields

protected TiFieldSpecificationEnumeration specifyFields()
Specified by:
specifyFields in class TiAbstractMapModel

getRealTiName

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

getGeneratedTiName

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


Copyright © 2012. All Rights Reserved.