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

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.SjSjCardPlain
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, SjSjCard

public class SjSjCardPlain
extends TiAbstractMapData
implements SjSjCard

Rabattkort t ex reslustkort. Motsvarande rabattkod - DiscountCode - returneras också om det finns någon.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.stina.framework.core.model.TiAbstractMapData
TiAbstractMapData.TiMapDataComparator
 
Field Summary
 TiDatePlain cardDataTransferenceDate
           
 TiStringData cardNumber
           
 TiStringData cardType
           
 TiStringData discountCode
           
 TiDatePlain expirationDate
           
 TiDatePlain startDate
           
 
Fields inherited from interface se.sj.stina.domain.model.SjSjCard
CARD_DATA_TRANSFERENCE_DATE, CARD_NUMBER, CARD_TYPE, DISCOUNT_CODE, EXPIRATION_DATE, START_DATE
 
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
SjSjCardPlain()
           
 
Method Summary
 TiDate getCardDataTransferenceDate()
          Field cardDataTransferenceDate is defined as optional.
 TiStringInterface getCardNumber()
          Field cardNumber is defined as mandatory.
 java.lang.String getCardNumberValue()
          Field cardNumber is defined as mandatory.
 TiStringInterface getCardType()
          Field cardType is defined as mandatory.
 java.lang.String getCardTypeValue()
          Field cardType is defined as mandatory.
 TiStringInterface getDiscountCode()
          Field discountCode is defined as optional.
 java.lang.String getDiscountCodeValue()
          Field discountCode is defined as optional.
 TiDate getExpirationDate()
          Field expirationDate is defined as mandatory.
 java.lang.String getGeneratedTiName()
           
 java.lang.String getRealTiName()
           
 TiDate getStartDate()
          Field startDate is defined as mandatory.
 TiDate lookupCardDataTransferenceDate()
          Field cardDataTransferenceDate is defined as optional.
 TiStringInterface lookupCardNumber()
          Field cardNumber is defined as mandatory.
 TiStringInterface lookupCardType()
          Field cardType is defined as mandatory.
 TiStringInterface lookupDiscountCode()
          Field discountCode is defined as optional.
 TiDate lookupExpirationDate()
          Field expirationDate is defined as mandatory.
 TiDate lookupStartDate()
          Field startDate is defined as mandatory.
 void setCardDataTransferenceDate(TiDate inData)
          Field cardDataTransferenceDate is defined as optional.
 void setCardNumber(TiStringInterface inData)
          Field cardNumber is defined as mandatory.
 void setCardNumberValue(java.lang.String inData)
          Field cardNumber is defined as mandatory.
 void setCardNumberValue(java.lang.String inData, boolean inNotify)
          Field cardNumber is defined as mandatory.
 void setCardType(TiStringInterface inData)
          Field cardType is defined as mandatory.
 void setCardTypeValue(java.lang.String inData)
          Field cardType is defined as mandatory.
 void setCardTypeValue(java.lang.String inData, boolean inNotify)
          Field cardType is defined as mandatory.
 void setDiscountCode(TiStringInterface inData)
          Field discountCode is defined as optional.
 void setDiscountCodeValue(java.lang.String inData)
          Field discountCode is defined as optional.
 void setDiscountCodeValue(java.lang.String inData, boolean inNotify)
          Field discountCode is defined as optional.
 void setExpirationDate(TiDate inData)
          Field expirationDate is defined as mandatory.
 void setStartDate(TiDate inData)
          Field startDate 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

cardNumber

public TiStringData cardNumber

startDate

public TiDatePlain startDate

expirationDate

public TiDatePlain expirationDate

cardType

public TiStringData cardType

discountCode

public TiStringData discountCode

cardDataTransferenceDate

public TiDatePlain cardDataTransferenceDate
Constructor Detail

SjSjCardPlain

public SjSjCardPlain()
Method Detail

getCardNumber

public TiStringInterface getCardNumber()
Field cardNumber is defined as mandatory.

Specified by:
getCardNumber in interface SjSjCard

lookupCardNumber

public TiStringInterface lookupCardNumber()
Field cardNumber is defined as mandatory.

Specified by:
lookupCardNumber in interface SjSjCard

setCardNumber

public void setCardNumber(TiStringInterface inData)
Field cardNumber is defined as mandatory.

Specified by:
setCardNumber in interface SjSjCard

getCardNumberValue

public java.lang.String getCardNumberValue()
Field cardNumber is defined as mandatory.

Specified by:
getCardNumberValue in interface SjSjCard

setCardNumberValue

public void setCardNumberValue(java.lang.String inData)
Field cardNumber is defined as mandatory.

Specified by:
setCardNumberValue in interface SjSjCard

setCardNumberValue

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

Specified by:
setCardNumberValue in interface SjSjCard

getStartDate

public TiDate getStartDate()
Field startDate is defined as mandatory.

Specified by:
getStartDate in interface SjSjCard

lookupStartDate

public TiDate lookupStartDate()
Field startDate is defined as mandatory.

Specified by:
lookupStartDate in interface SjSjCard

setStartDate

public void setStartDate(TiDate inData)
Field startDate is defined as mandatory.

Specified by:
setStartDate in interface SjSjCard

getExpirationDate

public TiDate getExpirationDate()
Field expirationDate is defined as mandatory.

Specified by:
getExpirationDate in interface SjSjCard

lookupExpirationDate

public TiDate lookupExpirationDate()
Field expirationDate is defined as mandatory.

Specified by:
lookupExpirationDate in interface SjSjCard

setExpirationDate

public void setExpirationDate(TiDate inData)
Field expirationDate is defined as mandatory.

Specified by:
setExpirationDate in interface SjSjCard

getCardType

public TiStringInterface getCardType()
Field cardType is defined as mandatory.

Specified by:
getCardType in interface SjSjCard

lookupCardType

public TiStringInterface lookupCardType()
Field cardType is defined as mandatory.

Specified by:
lookupCardType in interface SjSjCard

setCardType

public void setCardType(TiStringInterface inData)
Field cardType is defined as mandatory.

Specified by:
setCardType in interface SjSjCard

getCardTypeValue

public java.lang.String getCardTypeValue()
Field cardType is defined as mandatory.

Specified by:
getCardTypeValue in interface SjSjCard

setCardTypeValue

public void setCardTypeValue(java.lang.String inData)
Field cardType is defined as mandatory.

Specified by:
setCardTypeValue in interface SjSjCard

setCardTypeValue

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

Specified by:
setCardTypeValue in interface SjSjCard

getDiscountCode

public TiStringInterface getDiscountCode()
Field discountCode is defined as optional.

Specified by:
getDiscountCode in interface SjSjCard

lookupDiscountCode

public TiStringInterface lookupDiscountCode()
Field discountCode is defined as optional.

Specified by:
lookupDiscountCode in interface SjSjCard

setDiscountCode

public void setDiscountCode(TiStringInterface inData)
Field discountCode is defined as optional.

Specified by:
setDiscountCode in interface SjSjCard

getDiscountCodeValue

public java.lang.String getDiscountCodeValue()
Field discountCode is defined as optional.

Specified by:
getDiscountCodeValue in interface SjSjCard

setDiscountCodeValue

public void setDiscountCodeValue(java.lang.String inData)
Field discountCode is defined as optional.

Specified by:
setDiscountCodeValue in interface SjSjCard

setDiscountCodeValue

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

Specified by:
setDiscountCodeValue in interface SjSjCard

getCardDataTransferenceDate

public TiDate getCardDataTransferenceDate()
Field cardDataTransferenceDate is defined as optional.

Specified by:
getCardDataTransferenceDate in interface SjSjCard

lookupCardDataTransferenceDate

public TiDate lookupCardDataTransferenceDate()
Field cardDataTransferenceDate is defined as optional.

Specified by:
lookupCardDataTransferenceDate in interface SjSjCard

setCardDataTransferenceDate

public void setCardDataTransferenceDate(TiDate inData)
Field cardDataTransferenceDate is defined as optional.

Specified by:
setCardDataTransferenceDate in interface SjSjCard

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.