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

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.SjCreditSpecificationPlain
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, SjCreditSpecification

public class SjCreditSpecificationPlain
extends TiAbstractMapData
implements SjCreditSpecification

Innehåller data om hur man vill kreditera beställningen

- CreditWithWarning = om inte hela beloppet kan krediteras så utförs inte kreditering utan ett varningsmeddelande fås istället.

- ReasonCode = typ av kreditering (standard, felexpedierad, annan orsak, byte) anges om en hel beställning ska krediteras.

- CreditItemSpecificationList = används om endast några rader ska krediteras

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.stina.framework.core.model.TiAbstractMapData
TiAbstractMapData.TiMapDataComparator
 
Field Summary
 SjCodePlain compensationRule
           
 SjCreditItemSpecificationListPlain creditItemSpecificationList
           
 TiBooleanData creditWithWarning
           
 TiIntegerData creditXor
           
 SjExternalEventSpecificationPlain externalEventSpecification
           
 SjExternalPaymentInformationPlain externalPaymentInformation
           
 TiStringData paynovaReferenceId
           
 SjCodePlain reasonCode
           
 TiBooleanData returnVatDescription
           
 
Fields inherited from interface se.sj.stina.domain.model.SjCreditSpecification
COMPENSATION_RULE, CREDIT_ITEM_SPECIFICATION_LIST, CREDIT_WITH_WARNING, CREDIT_XOR, EXTERNAL_EVENT_SPECIFICATION, EXTERNAL_PAYMENT_INFORMATION, PAYNOVA_REFERENCE_ID, REASON_CODE, RETURN_VAT_DESCRIPTION
 
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
SjCreditSpecificationPlain()
           
 
Method Summary
 SjCode getCompensationRule()
          Field compensationRule is defined as optional.
 java.lang.String getCompensationRuleValue()
          Field compensationRule is defined as optional.
 SjCreditItemSpecificationList getCreditItemSpecificationList()
          Field creditItemSpecificationList is defined as part of xor.
 TiBooleanInterface getCreditWithWarning()
          Field creditWithWarning is defined as mandatory.
 java.lang.Boolean getCreditWithWarningValue()
          Field creditWithWarning is defined as mandatory.
 TiIntegerInterface getCreditXor()
          field creditXor
 java.lang.Integer getCreditXorValue()
          field creditXor
 SjExternalEventSpecification getExternalEventSpecification()
          Field externalEventSpecification is defined as optional.
 SjExternalPaymentInformation getExternalPaymentInformation()
          Field externalPaymentInformation is defined as optional.
 java.lang.String getGeneratedTiName()
           
 TiStringInterface getPaynovaReferenceId()
          Field paynovaReferenceId is defined as optional.
 java.lang.String getPaynovaReferenceIdValue()
          Field paynovaReferenceId is defined as optional.
 java.lang.String getRealTiName()
           
 SjCode getReasonCode()
          Field reasonCode is defined as part of xor.
 java.lang.String getReasonCodeValue()
          Field reasonCode is defined as part of xor.
 TiBooleanInterface getReturnVatDescription()
          Field returnVatDescription is defined as optional.
 java.lang.Boolean getReturnVatDescriptionValue()
          Field returnVatDescription is defined as optional.
 SjCode lookupCompensationRule()
          Field compensationRule is defined as optional.
 SjCreditItemSpecificationList lookupCreditItemSpecificationList()
          Field creditItemSpecificationList is defined as part of xor.
 TiBooleanInterface lookupCreditWithWarning()
          Field creditWithWarning is defined as mandatory.
 TiIntegerInterface lookupCreditXor()
          field creditXor
 SjExternalEventSpecification lookupExternalEventSpecification()
          Field externalEventSpecification is defined as optional.
 SjExternalPaymentInformation lookupExternalPaymentInformation()
          Field externalPaymentInformation is defined as optional.
 TiStringInterface lookupPaynovaReferenceId()
          Field paynovaReferenceId is defined as optional.
 SjCode lookupReasonCode()
          Field reasonCode is defined as part of xor.
 TiBooleanInterface lookupReturnVatDescription()
          Field returnVatDescription is defined as optional.
 void setCompensationRule(SjCode inData)
          Field compensationRule is defined as optional.
 void setCompensationRuleValue(java.lang.String inData)
          Field compensationRule is defined as optional.
 void setCompensationRuleValue(java.lang.String inData, boolean inNotify)
          Field compensationRule is defined as optional.
 void setCreditItemSpecificationList(SjCreditItemSpecificationList inData)
          Field creditItemSpecificationList is defined as part of xor.
 void setCreditWithWarning(TiBooleanInterface inData)
          Field creditWithWarning is defined as mandatory.
 void setCreditWithWarningValue(java.lang.Boolean inData)
          Field creditWithWarning is defined as mandatory.
 void setCreditWithWarningValue(java.lang.Boolean inData, boolean inNotify)
          Field creditWithWarning is defined as mandatory.
 void setCreditXor(TiIntegerInterface inData)
          field creditXor
 void setCreditXorValue(java.lang.Integer inData)
          field creditXor
 void setExternalEventSpecification(SjExternalEventSpecification inData)
          Field externalEventSpecification is defined as optional.
 void setExternalPaymentInformation(SjExternalPaymentInformation inData)
          Field externalPaymentInformation is defined as optional.
 void setPaynovaReferenceId(TiStringInterface inData)
          Field paynovaReferenceId is defined as optional.
 void setPaynovaReferenceIdValue(java.lang.String inData)
          Field paynovaReferenceId is defined as optional.
 void setPaynovaReferenceIdValue(java.lang.String inData, boolean inNotify)
          Field paynovaReferenceId is defined as optional.
 void setReasonCode(SjCode inData)
          Field reasonCode is defined as part of xor.
 void setReasonCodeValue(java.lang.String inData)
          Field reasonCode is defined as part of xor.
 void setReasonCodeValue(java.lang.String inData, boolean inNotify)
          Field reasonCode is defined as part of xor.
 void setReturnVatDescription(TiBooleanInterface inData)
          Field returnVatDescription is defined as optional.
 void setReturnVatDescriptionValue(java.lang.Boolean inData)
          Field returnVatDescription is defined as optional.
 void setReturnVatDescriptionValue(java.lang.Boolean inData, boolean inNotify)
          Field returnVatDescription 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

creditWithWarning

public TiBooleanData creditWithWarning

creditXor

public TiIntegerData creditXor

reasonCode

public SjCodePlain reasonCode

compensationRule

public SjCodePlain compensationRule

creditItemSpecificationList

public SjCreditItemSpecificationListPlain creditItemSpecificationList

paynovaReferenceId

public TiStringData paynovaReferenceId

externalPaymentInformation

public SjExternalPaymentInformationPlain externalPaymentInformation

externalEventSpecification

public SjExternalEventSpecificationPlain externalEventSpecification

returnVatDescription

public TiBooleanData returnVatDescription
Constructor Detail

SjCreditSpecificationPlain

public SjCreditSpecificationPlain()
Method Detail

getCreditWithWarning

public TiBooleanInterface getCreditWithWarning()
Field creditWithWarning is defined as mandatory.

Specified by:
getCreditWithWarning in interface SjCreditSpecification

lookupCreditWithWarning

public TiBooleanInterface lookupCreditWithWarning()
Field creditWithWarning is defined as mandatory.

Specified by:
lookupCreditWithWarning in interface SjCreditSpecification

setCreditWithWarning

public void setCreditWithWarning(TiBooleanInterface inData)
Field creditWithWarning is defined as mandatory.

Specified by:
setCreditWithWarning in interface SjCreditSpecification

getCreditWithWarningValue

public java.lang.Boolean getCreditWithWarningValue()
Field creditWithWarning is defined as mandatory.

Specified by:
getCreditWithWarningValue in interface SjCreditSpecification

setCreditWithWarningValue

public void setCreditWithWarningValue(java.lang.Boolean inData)
Field creditWithWarning is defined as mandatory.

Specified by:
setCreditWithWarningValue in interface SjCreditSpecification

setCreditWithWarningValue

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

Specified by:
setCreditWithWarningValue in interface SjCreditSpecification

getCreditXor

public TiIntegerInterface getCreditXor()
field creditXor

Specified by:
getCreditXor in interface SjCreditSpecification

lookupCreditXor

public TiIntegerInterface lookupCreditXor()
field creditXor

Specified by:
lookupCreditXor in interface SjCreditSpecification

setCreditXor

public void setCreditXor(TiIntegerInterface inData)
field creditXor

Specified by:
setCreditXor in interface SjCreditSpecification

getCreditXorValue

public java.lang.Integer getCreditXorValue()
field creditXor

Specified by:
getCreditXorValue in interface SjCreditSpecification

setCreditXorValue

public void setCreditXorValue(java.lang.Integer inData)
field creditXor

Specified by:
setCreditXorValue in interface SjCreditSpecification

getReasonCode

public SjCode getReasonCode()
Field reasonCode is defined as part of xor.

Specified by:
getReasonCode in interface SjCreditSpecification

lookupReasonCode

public SjCode lookupReasonCode()
Field reasonCode is defined as part of xor.

Specified by:
lookupReasonCode in interface SjCreditSpecification

setReasonCode

public void setReasonCode(SjCode inData)
Field reasonCode is defined as part of xor.

Specified by:
setReasonCode in interface SjCreditSpecification

getReasonCodeValue

public java.lang.String getReasonCodeValue()
Field reasonCode is defined as part of xor.

Specified by:
getReasonCodeValue in interface SjCreditSpecification

setReasonCodeValue

public void setReasonCodeValue(java.lang.String inData)
Field reasonCode is defined as part of xor.

Specified by:
setReasonCodeValue in interface SjCreditSpecification

setReasonCodeValue

public void setReasonCodeValue(java.lang.String inData,
                               boolean inNotify)
Field reasonCode is defined as part of xor.

Specified by:
setReasonCodeValue in interface SjCreditSpecification

getCompensationRule

public SjCode getCompensationRule()
Field compensationRule is defined as optional.

Specified by:
getCompensationRule in interface SjCreditSpecification

lookupCompensationRule

public SjCode lookupCompensationRule()
Field compensationRule is defined as optional.

Specified by:
lookupCompensationRule in interface SjCreditSpecification

setCompensationRule

public void setCompensationRule(SjCode inData)
Field compensationRule is defined as optional.

Specified by:
setCompensationRule in interface SjCreditSpecification

getCompensationRuleValue

public java.lang.String getCompensationRuleValue()
Field compensationRule is defined as optional.

Specified by:
getCompensationRuleValue in interface SjCreditSpecification

setCompensationRuleValue

public void setCompensationRuleValue(java.lang.String inData)
Field compensationRule is defined as optional.

Specified by:
setCompensationRuleValue in interface SjCreditSpecification

setCompensationRuleValue

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

Specified by:
setCompensationRuleValue in interface SjCreditSpecification

getCreditItemSpecificationList

public SjCreditItemSpecificationList getCreditItemSpecificationList()
Field creditItemSpecificationList is defined as part of xor.

Specified by:
getCreditItemSpecificationList in interface SjCreditSpecification

lookupCreditItemSpecificationList

public SjCreditItemSpecificationList lookupCreditItemSpecificationList()
Field creditItemSpecificationList is defined as part of xor.

Specified by:
lookupCreditItemSpecificationList in interface SjCreditSpecification

setCreditItemSpecificationList

public void setCreditItemSpecificationList(SjCreditItemSpecificationList inData)
Field creditItemSpecificationList is defined as part of xor.

Specified by:
setCreditItemSpecificationList in interface SjCreditSpecification

getPaynovaReferenceId

public TiStringInterface getPaynovaReferenceId()
Field paynovaReferenceId is defined as optional.

Specified by:
getPaynovaReferenceId in interface SjCreditSpecification

lookupPaynovaReferenceId

public TiStringInterface lookupPaynovaReferenceId()
Field paynovaReferenceId is defined as optional.

Specified by:
lookupPaynovaReferenceId in interface SjCreditSpecification

setPaynovaReferenceId

public void setPaynovaReferenceId(TiStringInterface inData)
Field paynovaReferenceId is defined as optional.

Specified by:
setPaynovaReferenceId in interface SjCreditSpecification

getPaynovaReferenceIdValue

public java.lang.String getPaynovaReferenceIdValue()
Field paynovaReferenceId is defined as optional.

Specified by:
getPaynovaReferenceIdValue in interface SjCreditSpecification

setPaynovaReferenceIdValue

public void setPaynovaReferenceIdValue(java.lang.String inData)
Field paynovaReferenceId is defined as optional.

Specified by:
setPaynovaReferenceIdValue in interface SjCreditSpecification

setPaynovaReferenceIdValue

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

Specified by:
setPaynovaReferenceIdValue in interface SjCreditSpecification

getExternalPaymentInformation

public SjExternalPaymentInformation getExternalPaymentInformation()
Field externalPaymentInformation is defined as optional.

Specified by:
getExternalPaymentInformation in interface SjCreditSpecification

lookupExternalPaymentInformation

public SjExternalPaymentInformation lookupExternalPaymentInformation()
Field externalPaymentInformation is defined as optional.

Specified by:
lookupExternalPaymentInformation in interface SjCreditSpecification

setExternalPaymentInformation

public void setExternalPaymentInformation(SjExternalPaymentInformation inData)
Field externalPaymentInformation is defined as optional.

Specified by:
setExternalPaymentInformation in interface SjCreditSpecification

getExternalEventSpecification

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

Specified by:
getExternalEventSpecification in interface SjCreditSpecification

lookupExternalEventSpecification

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

Specified by:
lookupExternalEventSpecification in interface SjCreditSpecification

setExternalEventSpecification

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

Specified by:
setExternalEventSpecification in interface SjCreditSpecification

getReturnVatDescription

public TiBooleanInterface getReturnVatDescription()
Field returnVatDescription is defined as optional.

Specified by:
getReturnVatDescription in interface SjCreditSpecification

lookupReturnVatDescription

public TiBooleanInterface lookupReturnVatDescription()
Field returnVatDescription is defined as optional.

Specified by:
lookupReturnVatDescription in interface SjCreditSpecification

setReturnVatDescription

public void setReturnVatDescription(TiBooleanInterface inData)
Field returnVatDescription is defined as optional.

Specified by:
setReturnVatDescription in interface SjCreditSpecification

getReturnVatDescriptionValue

public java.lang.Boolean getReturnVatDescriptionValue()
Field returnVatDescription is defined as optional.

Specified by:
getReturnVatDescriptionValue in interface SjCreditSpecification

setReturnVatDescriptionValue

public void setReturnVatDescriptionValue(java.lang.Boolean inData)
Field returnVatDescription is defined as optional.

Specified by:
setReturnVatDescriptionValue in interface SjCreditSpecification

setReturnVatDescriptionValue

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

Specified by:
setReturnVatDescriptionValue in interface SjCreditSpecification

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.