se.sj.stina.domain.model
Interface SjDiscount

All Superinterfaces:
java.lang.Cloneable, java.lang.Comparable, java.io.Serializable, TiCommonModelPartInterface, TiContainerModelPartInterface, TiGeneratedModelInterface, TiListModelPartInterface, TiMapModelInterface, TiMapModelPartInterface, TiMapPlainInterface, TiMapPropInterface, TiModelConstantsInterface, TiModelInterface, TiObserverInterface, TiPrimitiveModelPartInterface, TiPropertyPartInterface, TiSubjectInterface
All Known Implementing Classes:
SjDiscountPlain, SjDiscountStandard

public interface SjDiscount
extends TiMapModelInterface, TiModelInterface, TiGeneratedModelInterface

En enstaka rabattform, t ex årskortguld.Kan vara flera till antalet vid t ex utlandsbokning


Field Summary
static java.lang.String DISCOUNT_CODE
           
static java.lang.String NUMBER_OF_DISCOUNTS
           
 
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
 
Method Summary
 SjCode getDiscountCode()
          Field discountCode is defined as mandatory.
 java.lang.String getDiscountCodeValue()
          Field discountCode is defined as mandatory.
 SjIntegerString getNumberOfDiscounts()
          Field numberOfDiscounts is defined as mandatory.
 java.lang.String getNumberOfDiscountsValue()
          Field numberOfDiscounts is defined as mandatory.
 SjCode lookupDiscountCode()
          Field discountCode is defined as mandatory.
 SjIntegerString lookupNumberOfDiscounts()
          Field numberOfDiscounts is defined as mandatory.
 void setDiscountCode(SjCode inData)
          Field discountCode is defined as mandatory.
 void setDiscountCodeValue(java.lang.String inData)
          Field discountCode is defined as mandatory.
 void setDiscountCodeValue(java.lang.String inData, boolean inNotify)
          Field discountCode is defined as mandatory.
 void setNumberOfDiscounts(SjIntegerString inData)
          Field numberOfDiscounts is defined as mandatory.
 void setNumberOfDiscountsValue(java.lang.String inData)
          Field numberOfDiscounts is defined as mandatory.
 void setNumberOfDiscountsValue(java.lang.String inData, boolean inNotify)
          Field numberOfDiscounts is defined as mandatory.
 
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, getGeneratedTiName, getRealTiName, 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
 

Field Detail

DISCOUNT_CODE

static final java.lang.String DISCOUNT_CODE
See Also:
Constant Field Values

NUMBER_OF_DISCOUNTS

static final java.lang.String NUMBER_OF_DISCOUNTS
See Also:
Constant Field Values
Method Detail

getDiscountCode

SjCode getDiscountCode()
Field discountCode is defined as mandatory.


lookupDiscountCode

SjCode lookupDiscountCode()
Field discountCode is defined as mandatory.


setDiscountCode

void setDiscountCode(SjCode inData)
Field discountCode is defined as mandatory.


getDiscountCodeValue

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


setDiscountCodeValue

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


setDiscountCodeValue

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


getNumberOfDiscounts

SjIntegerString getNumberOfDiscounts()
Field numberOfDiscounts is defined as mandatory.


lookupNumberOfDiscounts

SjIntegerString lookupNumberOfDiscounts()
Field numberOfDiscounts is defined as mandatory.


setNumberOfDiscounts

void setNumberOfDiscounts(SjIntegerString inData)
Field numberOfDiscounts is defined as mandatory.


getNumberOfDiscountsValue

java.lang.String getNumberOfDiscountsValue()
Field numberOfDiscounts is defined as mandatory.


setNumberOfDiscountsValue

void setNumberOfDiscountsValue(java.lang.String inData)
Field numberOfDiscounts is defined as mandatory.


setNumberOfDiscountsValue

void setNumberOfDiscountsValue(java.lang.String inData,
                               boolean inNotify)
Field numberOfDiscounts is defined as mandatory.



Copyright © 2012. All Rights Reserved.