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

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.SjAvailablePriceGroupStandard
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, SjAvailablePriceGroup

public class SjAvailablePriceGroupStandard
extends TiAbstractMapModel
implements SjAvailablePriceGroup

Denna struktur innehåller prisgrupper (biljettyper) och vilken status dom har. MaximumNumberOfTravellers - Max antal resenärer om biljettypen har några begränsningar.

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.SjAvailablePriceGroup
AMOUNT, CONTRACTUAL_PRICE_GROUP, LIMITED_SEATS_CODE, MAXIMUM_NUMBER_OF_TRAVELLERS, OPTION_LIST, PRICE_GROUP_CODE, STATUS_CODE
 
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
SjAvailablePriceGroupStandard()
           
 
Method Summary
 SjIntegerString getAmount()
          Field amount is defined as optional.
 java.lang.String getAmountValue()
          Field amount is defined as optional.
 SjCode getContractualPriceGroup()
          Field contractualPriceGroup is defined as optional.
 java.lang.String getContractualPriceGroupValue()
          Field contractualPriceGroup is defined as optional.
 java.lang.String getGeneratedTiName()
           
 TiStringInterface getLimitedSeatsCode()
          Field limitedSeatsCode is defined as optional.
 java.lang.String getLimitedSeatsCodeValue()
          Field limitedSeatsCode is defined as optional.
 SjIntegerString getMaximumNumberOfTravellers()
          Field maximumNumberOfTravellers is defined as optional.
 java.lang.String getMaximumNumberOfTravellersValue()
          Field maximumNumberOfTravellers is defined as optional.
 SjOptionList getOptionList()
          Field optionList is defined as optional.
 SjCode getPriceGroupCode()
          Field priceGroupCode is defined as mandatory.
 java.lang.String getPriceGroupCodeValue()
          Field priceGroupCode is defined as mandatory.
 java.lang.String getRealTiName()
           
 SjCode getStatusCode()
          Field statusCode is defined as mandatory.
 java.lang.String getStatusCodeValue()
          Field statusCode is defined as mandatory.
 SjIntegerString lookupAmount()
          Field amount is defined as optional.
 SjCode lookupContractualPriceGroup()
          Field contractualPriceGroup is defined as optional.
 TiStringInterface lookupLimitedSeatsCode()
          Field limitedSeatsCode is defined as optional.
 SjIntegerString lookupMaximumNumberOfTravellers()
          Field maximumNumberOfTravellers is defined as optional.
 SjOptionList lookupOptionList()
          Field optionList is defined as optional.
 SjCode lookupPriceGroupCode()
          Field priceGroupCode is defined as mandatory.
 SjCode lookupStatusCode()
          Field statusCode is defined as mandatory.
 void setAmount(SjIntegerString inData)
          Field amount is defined as optional.
 void setAmountValue(java.lang.String inData)
          Field amount is defined as optional.
 void setAmountValue(java.lang.String inData, boolean inNotify)
          Field amount is defined as optional.
 void setContractualPriceGroup(SjCode inData)
          Field contractualPriceGroup is defined as optional.
 void setContractualPriceGroupValue(java.lang.String inData)
          Field contractualPriceGroup is defined as optional.
 void setContractualPriceGroupValue(java.lang.String inData, boolean inNotify)
          Field contractualPriceGroup is defined as optional.
 void setLimitedSeatsCode(TiStringInterface inData)
          Field limitedSeatsCode is defined as optional.
 void setLimitedSeatsCodeValue(java.lang.String inData)
          Field limitedSeatsCode is defined as optional.
 void setLimitedSeatsCodeValue(java.lang.String inData, boolean inNotify)
          Field limitedSeatsCode is defined as optional.
 void setMaximumNumberOfTravellers(SjIntegerString inData)
          Field maximumNumberOfTravellers is defined as optional.
 void setMaximumNumberOfTravellersValue(java.lang.String inData)
          Field maximumNumberOfTravellers is defined as optional.
 void setMaximumNumberOfTravellersValue(java.lang.String inData, boolean inNotify)
          Field maximumNumberOfTravellers is defined as optional.
 void setOptionList(SjOptionList inData)
          Field optionList is defined as optional.
 void setPriceGroupCode(SjCode inData)
          Field priceGroupCode is defined as mandatory.
 void setPriceGroupCodeValue(java.lang.String inData)
          Field priceGroupCode is defined as mandatory.
 void setPriceGroupCodeValue(java.lang.String inData, boolean inNotify)
          Field priceGroupCode is defined as mandatory.
 void setStatusCode(SjCode inData)
          Field statusCode is defined as mandatory.
 void setStatusCodeValue(java.lang.String inData)
          Field statusCode is defined as mandatory.
 void setStatusCodeValue(java.lang.String inData, boolean inNotify)
          Field statusCode is defined as mandatory.
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

SjAvailablePriceGroupStandard

public SjAvailablePriceGroupStandard()
Method Detail

getPriceGroupCode

public SjCode getPriceGroupCode()
Field priceGroupCode is defined as mandatory.

Specified by:
getPriceGroupCode in interface SjAvailablePriceGroup

lookupPriceGroupCode

public SjCode lookupPriceGroupCode()
Field priceGroupCode is defined as mandatory.

Specified by:
lookupPriceGroupCode in interface SjAvailablePriceGroup

setPriceGroupCode

public void setPriceGroupCode(SjCode inData)
Field priceGroupCode is defined as mandatory.

Specified by:
setPriceGroupCode in interface SjAvailablePriceGroup

getPriceGroupCodeValue

public java.lang.String getPriceGroupCodeValue()
Field priceGroupCode is defined as mandatory.

Specified by:
getPriceGroupCodeValue in interface SjAvailablePriceGroup

setPriceGroupCodeValue

public void setPriceGroupCodeValue(java.lang.String inData)
Field priceGroupCode is defined as mandatory.

Specified by:
setPriceGroupCodeValue in interface SjAvailablePriceGroup

setPriceGroupCodeValue

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

Specified by:
setPriceGroupCodeValue in interface SjAvailablePriceGroup

getContractualPriceGroup

public SjCode getContractualPriceGroup()
Field contractualPriceGroup is defined as optional.

Specified by:
getContractualPriceGroup in interface SjAvailablePriceGroup

lookupContractualPriceGroup

public SjCode lookupContractualPriceGroup()
Field contractualPriceGroup is defined as optional.

Specified by:
lookupContractualPriceGroup in interface SjAvailablePriceGroup

setContractualPriceGroup

public void setContractualPriceGroup(SjCode inData)
Field contractualPriceGroup is defined as optional.

Specified by:
setContractualPriceGroup in interface SjAvailablePriceGroup

getContractualPriceGroupValue

public java.lang.String getContractualPriceGroupValue()
Field contractualPriceGroup is defined as optional.

Specified by:
getContractualPriceGroupValue in interface SjAvailablePriceGroup

setContractualPriceGroupValue

public void setContractualPriceGroupValue(java.lang.String inData)
Field contractualPriceGroup is defined as optional.

Specified by:
setContractualPriceGroupValue in interface SjAvailablePriceGroup

setContractualPriceGroupValue

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

Specified by:
setContractualPriceGroupValue in interface SjAvailablePriceGroup

getOptionList

public SjOptionList getOptionList()
Field optionList is defined as optional.

Specified by:
getOptionList in interface SjAvailablePriceGroup

lookupOptionList

public SjOptionList lookupOptionList()
Field optionList is defined as optional.

Specified by:
lookupOptionList in interface SjAvailablePriceGroup

setOptionList

public void setOptionList(SjOptionList inData)
Field optionList is defined as optional.

Specified by:
setOptionList in interface SjAvailablePriceGroup

getStatusCode

public SjCode getStatusCode()
Field statusCode is defined as mandatory.

Specified by:
getStatusCode in interface SjAvailablePriceGroup

lookupStatusCode

public SjCode lookupStatusCode()
Field statusCode is defined as mandatory.

Specified by:
lookupStatusCode in interface SjAvailablePriceGroup

setStatusCode

public void setStatusCode(SjCode inData)
Field statusCode is defined as mandatory.

Specified by:
setStatusCode in interface SjAvailablePriceGroup

getStatusCodeValue

public java.lang.String getStatusCodeValue()
Field statusCode is defined as mandatory.

Specified by:
getStatusCodeValue in interface SjAvailablePriceGroup

setStatusCodeValue

public void setStatusCodeValue(java.lang.String inData)
Field statusCode is defined as mandatory.

Specified by:
setStatusCodeValue in interface SjAvailablePriceGroup

setStatusCodeValue

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

Specified by:
setStatusCodeValue in interface SjAvailablePriceGroup

getAmount

public SjIntegerString getAmount()
Field amount is defined as optional.

Specified by:
getAmount in interface SjAvailablePriceGroup

lookupAmount

public SjIntegerString lookupAmount()
Field amount is defined as optional.

Specified by:
lookupAmount in interface SjAvailablePriceGroup

setAmount

public void setAmount(SjIntegerString inData)
Field amount is defined as optional.

Specified by:
setAmount in interface SjAvailablePriceGroup

getAmountValue

public java.lang.String getAmountValue()
Field amount is defined as optional.

Specified by:
getAmountValue in interface SjAvailablePriceGroup

setAmountValue

public void setAmountValue(java.lang.String inData)
Field amount is defined as optional.

Specified by:
setAmountValue in interface SjAvailablePriceGroup

setAmountValue

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

Specified by:
setAmountValue in interface SjAvailablePriceGroup

getMaximumNumberOfTravellers

public SjIntegerString getMaximumNumberOfTravellers()
Field maximumNumberOfTravellers is defined as optional.

Specified by:
getMaximumNumberOfTravellers in interface SjAvailablePriceGroup

lookupMaximumNumberOfTravellers

public SjIntegerString lookupMaximumNumberOfTravellers()
Field maximumNumberOfTravellers is defined as optional.

Specified by:
lookupMaximumNumberOfTravellers in interface SjAvailablePriceGroup

setMaximumNumberOfTravellers

public void setMaximumNumberOfTravellers(SjIntegerString inData)
Field maximumNumberOfTravellers is defined as optional.

Specified by:
setMaximumNumberOfTravellers in interface SjAvailablePriceGroup

getMaximumNumberOfTravellersValue

public java.lang.String getMaximumNumberOfTravellersValue()
Field maximumNumberOfTravellers is defined as optional.

Specified by:
getMaximumNumberOfTravellersValue in interface SjAvailablePriceGroup

setMaximumNumberOfTravellersValue

public void setMaximumNumberOfTravellersValue(java.lang.String inData)
Field maximumNumberOfTravellers is defined as optional.

Specified by:
setMaximumNumberOfTravellersValue in interface SjAvailablePriceGroup

setMaximumNumberOfTravellersValue

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

Specified by:
setMaximumNumberOfTravellersValue in interface SjAvailablePriceGroup

getLimitedSeatsCode

public TiStringInterface getLimitedSeatsCode()
Field limitedSeatsCode is defined as optional.

Specified by:
getLimitedSeatsCode in interface SjAvailablePriceGroup

lookupLimitedSeatsCode

public TiStringInterface lookupLimitedSeatsCode()
Field limitedSeatsCode is defined as optional.

Specified by:
lookupLimitedSeatsCode in interface SjAvailablePriceGroup

setLimitedSeatsCode

public void setLimitedSeatsCode(TiStringInterface inData)
Field limitedSeatsCode is defined as optional.

Specified by:
setLimitedSeatsCode in interface SjAvailablePriceGroup

getLimitedSeatsCodeValue

public java.lang.String getLimitedSeatsCodeValue()
Field limitedSeatsCode is defined as optional.

Specified by:
getLimitedSeatsCodeValue in interface SjAvailablePriceGroup

setLimitedSeatsCodeValue

public void setLimitedSeatsCodeValue(java.lang.String inData)
Field limitedSeatsCode is defined as optional.

Specified by:
setLimitedSeatsCodeValue in interface SjAvailablePriceGroup

setLimitedSeatsCodeValue

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

Specified by:
setLimitedSeatsCodeValue in interface SjAvailablePriceGroup

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.