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

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.SjCreditResultPlain
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, SjCreditResult

public class SjCreditResultPlain
extends TiAbstractMapData
implements SjCreditResult

Beskriver vad som har krediterts. FailedOrderItemResultList returneras om något inte har krediterats.

- OrderDescription returneras om något har avbokats.

- CreditAmount det belopp man krediterat.

- Om man krediterat med varning kan alternativt en CreditlOrderWarning returneras. Då har krediteringsbeloppet understigit priset och ingen avbokning har skett.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.stina.framework.core.model.TiAbstractMapData
TiAbstractMapData.TiMapDataComparator
 
Field Summary
 SjClientInformationPlain clientInformation
           
 SjPriceVatPlain creditAmount
           
 TiIntegerData creditPoints
           
 TiIntegerData creditResultXor
           
 SjCreditWarningPlain creditWarning
           
 SjOrderItemResultListPlain failedOrderItemResultList
           
 SjOrderDescriptionPlain orderDescription
           
 SjPaymentTypeCreditAmountListPlain paymentTypeCreditAmountList
           
 SjVatDescriptionDataPlain vatDescriptionData
           
 
Fields inherited from interface se.sj.stina.domain.model.SjCreditResult
CLIENT_INFORMATION, CREDIT_AMOUNT, CREDIT_POINTS, CREDIT_RESULT_XOR, CREDIT_WARNING, FAILED_ORDER_ITEM_RESULT_LIST, ORDER_DESCRIPTION, PAYMENT_TYPE_CREDIT_AMOUNT_LIST, VAT_DESCRIPTION_DATA
 
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
SjCreditResultPlain()
           
 
Method Summary
 SjClientInformation getClientInformation()
          Field clientInformation is defined as optional.
 SjPriceVat getCreditAmount()
          Field creditAmount is defined as part of xor.
 TiIntegerInterface getCreditPoints()
          Field creditPoints is defined as optional.
 java.lang.Integer getCreditPointsValue()
          Field creditPoints is defined as optional.
 TiIntegerInterface getCreditResultXor()
          field creditResultXor
 java.lang.Integer getCreditResultXorValue()
          field creditResultXor
 SjCreditWarning getCreditWarning()
          Field creditWarning is defined as part of xor.
 SjOrderItemResultList getFailedOrderItemResultList()
          Field failedOrderItemResultList is defined as optional.
 java.lang.String getGeneratedTiName()
           
 SjOrderDescription getOrderDescription()
          Field orderDescription is defined as part of xor.
 SjPaymentTypeCreditAmountList getPaymentTypeCreditAmountList()
          Field paymentTypeCreditAmountList is defined as optional.
 java.lang.String getRealTiName()
           
 SjVatDescriptionData getVatDescriptionData()
          Field vatDescriptionData is defined as optional.
 SjClientInformation lookupClientInformation()
          Field clientInformation is defined as optional.
 SjPriceVat lookupCreditAmount()
          Field creditAmount is defined as part of xor.
 TiIntegerInterface lookupCreditPoints()
          Field creditPoints is defined as optional.
 TiIntegerInterface lookupCreditResultXor()
          field creditResultXor
 SjCreditWarning lookupCreditWarning()
          Field creditWarning is defined as part of xor.
 SjOrderItemResultList lookupFailedOrderItemResultList()
          Field failedOrderItemResultList is defined as optional.
 SjOrderDescription lookupOrderDescription()
          Field orderDescription is defined as part of xor.
 SjPaymentTypeCreditAmountList lookupPaymentTypeCreditAmountList()
          Field paymentTypeCreditAmountList is defined as optional.
 SjVatDescriptionData lookupVatDescriptionData()
          Field vatDescriptionData is defined as optional.
 void setClientInformation(SjClientInformation inData)
          Field clientInformation is defined as optional.
 void setCreditAmount(SjPriceVat inData)
          Field creditAmount is defined as part of xor.
 void setCreditPoints(TiIntegerInterface inData)
          Field creditPoints is defined as optional.
 void setCreditPointsValue(java.lang.Integer inData)
          Field creditPoints is defined as optional.
 void setCreditPointsValue(java.lang.Integer inData, boolean inNotify)
          Field creditPoints is defined as optional.
 void setCreditResultXor(TiIntegerInterface inData)
          field creditResultXor
 void setCreditResultXorValue(java.lang.Integer inData)
          field creditResultXor
 void setCreditWarning(SjCreditWarning inData)
          Field creditWarning is defined as part of xor.
 void setFailedOrderItemResultList(SjOrderItemResultList inData)
          Field failedOrderItemResultList is defined as optional.
 void setOrderDescription(SjOrderDescription inData)
          Field orderDescription is defined as part of xor.
 void setPaymentTypeCreditAmountList(SjPaymentTypeCreditAmountList inData)
          Field paymentTypeCreditAmountList is defined as optional.
 void setVatDescriptionData(SjVatDescriptionData inData)
          Field vatDescriptionData is defined as optional.
protected  TiXorSpecificationEnumeration specifyXors()
           
 
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, 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

creditResultXor

public TiIntegerData creditResultXor

creditWarning

public SjCreditWarningPlain creditWarning

failedOrderItemResultList

public SjOrderItemResultListPlain failedOrderItemResultList

orderDescription

public SjOrderDescriptionPlain orderDescription

creditAmount

public SjPriceVatPlain creditAmount

paymentTypeCreditAmountList

public SjPaymentTypeCreditAmountListPlain paymentTypeCreditAmountList

creditPoints

public TiIntegerData creditPoints

vatDescriptionData

public SjVatDescriptionDataPlain vatDescriptionData

clientInformation

public SjClientInformationPlain clientInformation
Constructor Detail

SjCreditResultPlain

public SjCreditResultPlain()
Method Detail

getCreditResultXor

public TiIntegerInterface getCreditResultXor()
field creditResultXor

Specified by:
getCreditResultXor in interface SjCreditResult

lookupCreditResultXor

public TiIntegerInterface lookupCreditResultXor()
field creditResultXor

Specified by:
lookupCreditResultXor in interface SjCreditResult

setCreditResultXor

public void setCreditResultXor(TiIntegerInterface inData)
field creditResultXor

Specified by:
setCreditResultXor in interface SjCreditResult

getCreditResultXorValue

public java.lang.Integer getCreditResultXorValue()
field creditResultXor

Specified by:
getCreditResultXorValue in interface SjCreditResult

setCreditResultXorValue

public void setCreditResultXorValue(java.lang.Integer inData)
field creditResultXor

Specified by:
setCreditResultXorValue in interface SjCreditResult

getCreditWarning

public SjCreditWarning getCreditWarning()
Field creditWarning is defined as part of xor.

Specified by:
getCreditWarning in interface SjCreditResult

lookupCreditWarning

public SjCreditWarning lookupCreditWarning()
Field creditWarning is defined as part of xor.

Specified by:
lookupCreditWarning in interface SjCreditResult

setCreditWarning

public void setCreditWarning(SjCreditWarning inData)
Field creditWarning is defined as part of xor.

Specified by:
setCreditWarning in interface SjCreditResult

getFailedOrderItemResultList

public SjOrderItemResultList getFailedOrderItemResultList()
Field failedOrderItemResultList is defined as optional.

Specified by:
getFailedOrderItemResultList in interface SjCreditResult

lookupFailedOrderItemResultList

public SjOrderItemResultList lookupFailedOrderItemResultList()
Field failedOrderItemResultList is defined as optional.

Specified by:
lookupFailedOrderItemResultList in interface SjCreditResult

setFailedOrderItemResultList

public void setFailedOrderItemResultList(SjOrderItemResultList inData)
Field failedOrderItemResultList is defined as optional.

Specified by:
setFailedOrderItemResultList in interface SjCreditResult

getOrderDescription

public SjOrderDescription getOrderDescription()
Field orderDescription is defined as part of xor.

Specified by:
getOrderDescription in interface SjCreditResult

lookupOrderDescription

public SjOrderDescription lookupOrderDescription()
Field orderDescription is defined as part of xor.

Specified by:
lookupOrderDescription in interface SjCreditResult

setOrderDescription

public void setOrderDescription(SjOrderDescription inData)
Field orderDescription is defined as part of xor.

Specified by:
setOrderDescription in interface SjCreditResult

getCreditAmount

public SjPriceVat getCreditAmount()
Field creditAmount is defined as part of xor.

Specified by:
getCreditAmount in interface SjCreditResult

lookupCreditAmount

public SjPriceVat lookupCreditAmount()
Field creditAmount is defined as part of xor.

Specified by:
lookupCreditAmount in interface SjCreditResult

setCreditAmount

public void setCreditAmount(SjPriceVat inData)
Field creditAmount is defined as part of xor.

Specified by:
setCreditAmount in interface SjCreditResult

getPaymentTypeCreditAmountList

public SjPaymentTypeCreditAmountList getPaymentTypeCreditAmountList()
Field paymentTypeCreditAmountList is defined as optional.

Specified by:
getPaymentTypeCreditAmountList in interface SjCreditResult

lookupPaymentTypeCreditAmountList

public SjPaymentTypeCreditAmountList lookupPaymentTypeCreditAmountList()
Field paymentTypeCreditAmountList is defined as optional.

Specified by:
lookupPaymentTypeCreditAmountList in interface SjCreditResult

setPaymentTypeCreditAmountList

public void setPaymentTypeCreditAmountList(SjPaymentTypeCreditAmountList inData)
Field paymentTypeCreditAmountList is defined as optional.

Specified by:
setPaymentTypeCreditAmountList in interface SjCreditResult

getCreditPoints

public TiIntegerInterface getCreditPoints()
Field creditPoints is defined as optional.

Specified by:
getCreditPoints in interface SjCreditResult

lookupCreditPoints

public TiIntegerInterface lookupCreditPoints()
Field creditPoints is defined as optional.

Specified by:
lookupCreditPoints in interface SjCreditResult

setCreditPoints

public void setCreditPoints(TiIntegerInterface inData)
Field creditPoints is defined as optional.

Specified by:
setCreditPoints in interface SjCreditResult

getCreditPointsValue

public java.lang.Integer getCreditPointsValue()
Field creditPoints is defined as optional.

Specified by:
getCreditPointsValue in interface SjCreditResult

setCreditPointsValue

public void setCreditPointsValue(java.lang.Integer inData)
Field creditPoints is defined as optional.

Specified by:
setCreditPointsValue in interface SjCreditResult

setCreditPointsValue

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

Specified by:
setCreditPointsValue in interface SjCreditResult

getVatDescriptionData

public SjVatDescriptionData getVatDescriptionData()
Field vatDescriptionData is defined as optional.

Specified by:
getVatDescriptionData in interface SjCreditResult

lookupVatDescriptionData

public SjVatDescriptionData lookupVatDescriptionData()
Field vatDescriptionData is defined as optional.

Specified by:
lookupVatDescriptionData in interface SjCreditResult

setVatDescriptionData

public void setVatDescriptionData(SjVatDescriptionData inData)
Field vatDescriptionData is defined as optional.

Specified by:
setVatDescriptionData in interface SjCreditResult

getClientInformation

public SjClientInformation getClientInformation()
Field clientInformation is defined as optional.

Specified by:
getClientInformation in interface SjCreditResult

lookupClientInformation

public SjClientInformation lookupClientInformation()
Field clientInformation is defined as optional.

Specified by:
lookupClientInformation in interface SjCreditResult

setClientInformation

public void setClientInformation(SjClientInformation inData)
Field clientInformation is defined as optional.

Specified by:
setClientInformation in interface SjCreditResult

specifyXors

protected TiXorSpecificationEnumeration specifyXors()
Overrides:
specifyXors in class TiAbstractMapData

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.