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

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.SjItinerariesStandard
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, SjItineraries

public class SjItinerariesStandard
extends TiAbstractMapModel
implements SjItineraries

Denna struktur är resultatet av en förbindelsesökning. Den innehåller dels en lista med förbindelser och eventuellt en lista med generella priser för förbindelserna, om man specificerat att man ville ha sådana med i svaret. Den innehåller också ClientInformation med klientspecifikt data.

MaximumNoOfItinerariesReached är sann om det fanns fler förbindelser i sökresultatet, men inte kunde skickas över p.g.a. att det skulle blivit fler än det i ItineraryResultSpecification-structen angivna MaximumNoOfItienraries. Fältet returneras endast då periodsökning gjorts.

I fältet LimitedSeatsList finns de antalsräknade platser vilka man specade att man ville ha tillbaka i svaret. Specningen skedde i fältet IncludeLimitedSeatsList i strukten ItineraryResultSpecification.

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.SjItineraries
CLIENT_INFORMATION, ITINERARY_LIST, ITINERARY_RESULT, MAXIMUM_NO_OF_ITINERARIES_REACHED, MAXIMUM_NUMBER_OF_PRICE_QUOTES
 
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
SjItinerariesStandard()
           
 
Method Summary
 SjClientInformation getClientInformation()
          Field clientInformation is defined as optional.
 java.lang.String getGeneratedTiName()
           
 SjItineraryList getItineraryList()
          Field itineraryList is defined as mandatory.
 TiByteArrayInterface getItineraryResult()
          Field itineraryResult is defined as optional.
 byte[] getItineraryResultValue()
          Field itineraryResult is defined as optional.
 TiBooleanInterface getMaximumNoOfItinerariesReached()
          Field maximumNoOfItinerariesReached is defined as optional.
 java.lang.Boolean getMaximumNoOfItinerariesReachedValue()
          Field maximumNoOfItinerariesReached is defined as optional.
 SjIntegerString getMaximumNumberOfPriceQuotes()
          Field maximumNumberOfPriceQuotes is defined as optional.
 java.lang.String getMaximumNumberOfPriceQuotesValue()
          Field maximumNumberOfPriceQuotes is defined as optional.
 java.lang.String getRealTiName()
           
 SjClientInformation lookupClientInformation()
          Field clientInformation is defined as optional.
 SjItineraryList lookupItineraryList()
          Field itineraryList is defined as mandatory.
 TiByteArrayInterface lookupItineraryResult()
          Field itineraryResult is defined as optional.
 TiBooleanInterface lookupMaximumNoOfItinerariesReached()
          Field maximumNoOfItinerariesReached is defined as optional.
 SjIntegerString lookupMaximumNumberOfPriceQuotes()
          Field maximumNumberOfPriceQuotes is defined as optional.
 void setClientInformation(SjClientInformation inData)
          Field clientInformation is defined as optional.
 void setItineraryList(SjItineraryList inData)
          Field itineraryList is defined as mandatory.
 void setItineraryResult(TiByteArrayInterface inData)
          Field itineraryResult is defined as optional.
 void setItineraryResultValue(byte[] inData)
          Field itineraryResult is defined as optional.
 void setItineraryResultValue(byte[] inData, boolean inNotify)
          Field itineraryResult is defined as optional.
 void setMaximumNoOfItinerariesReached(TiBooleanInterface inData)
          Field maximumNoOfItinerariesReached is defined as optional.
 void setMaximumNoOfItinerariesReachedValue(java.lang.Boolean inData)
          Field maximumNoOfItinerariesReached is defined as optional.
 void setMaximumNoOfItinerariesReachedValue(java.lang.Boolean inData, boolean inNotify)
          Field maximumNoOfItinerariesReached is defined as optional.
 void setMaximumNumberOfPriceQuotes(SjIntegerString inData)
          Field maximumNumberOfPriceQuotes is defined as optional.
 void setMaximumNumberOfPriceQuotesValue(java.lang.String inData)
          Field maximumNumberOfPriceQuotes is defined as optional.
 void setMaximumNumberOfPriceQuotesValue(java.lang.String inData, boolean inNotify)
          Field maximumNumberOfPriceQuotes is defined as optional.
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

SjItinerariesStandard

public SjItinerariesStandard()
Method Detail

getItineraryList

public SjItineraryList getItineraryList()
Field itineraryList is defined as mandatory.

Specified by:
getItineraryList in interface SjItineraries

lookupItineraryList

public SjItineraryList lookupItineraryList()
Field itineraryList is defined as mandatory.

Specified by:
lookupItineraryList in interface SjItineraries

setItineraryList

public void setItineraryList(SjItineraryList inData)
Field itineraryList is defined as mandatory.

Specified by:
setItineraryList in interface SjItineraries

getMaximumNoOfItinerariesReached

public TiBooleanInterface getMaximumNoOfItinerariesReached()
Field maximumNoOfItinerariesReached is defined as optional.

Specified by:
getMaximumNoOfItinerariesReached in interface SjItineraries

lookupMaximumNoOfItinerariesReached

public TiBooleanInterface lookupMaximumNoOfItinerariesReached()
Field maximumNoOfItinerariesReached is defined as optional.

Specified by:
lookupMaximumNoOfItinerariesReached in interface SjItineraries

setMaximumNoOfItinerariesReached

public void setMaximumNoOfItinerariesReached(TiBooleanInterface inData)
Field maximumNoOfItinerariesReached is defined as optional.

Specified by:
setMaximumNoOfItinerariesReached in interface SjItineraries

getMaximumNoOfItinerariesReachedValue

public java.lang.Boolean getMaximumNoOfItinerariesReachedValue()
Field maximumNoOfItinerariesReached is defined as optional.

Specified by:
getMaximumNoOfItinerariesReachedValue in interface SjItineraries

setMaximumNoOfItinerariesReachedValue

public void setMaximumNoOfItinerariesReachedValue(java.lang.Boolean inData)
Field maximumNoOfItinerariesReached is defined as optional.

Specified by:
setMaximumNoOfItinerariesReachedValue in interface SjItineraries

setMaximumNoOfItinerariesReachedValue

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

Specified by:
setMaximumNoOfItinerariesReachedValue in interface SjItineraries

getMaximumNumberOfPriceQuotes

public SjIntegerString getMaximumNumberOfPriceQuotes()
Field maximumNumberOfPriceQuotes is defined as optional.

Specified by:
getMaximumNumberOfPriceQuotes in interface SjItineraries

lookupMaximumNumberOfPriceQuotes

public SjIntegerString lookupMaximumNumberOfPriceQuotes()
Field maximumNumberOfPriceQuotes is defined as optional.

Specified by:
lookupMaximumNumberOfPriceQuotes in interface SjItineraries

setMaximumNumberOfPriceQuotes

public void setMaximumNumberOfPriceQuotes(SjIntegerString inData)
Field maximumNumberOfPriceQuotes is defined as optional.

Specified by:
setMaximumNumberOfPriceQuotes in interface SjItineraries

getMaximumNumberOfPriceQuotesValue

public java.lang.String getMaximumNumberOfPriceQuotesValue()
Field maximumNumberOfPriceQuotes is defined as optional.

Specified by:
getMaximumNumberOfPriceQuotesValue in interface SjItineraries

setMaximumNumberOfPriceQuotesValue

public void setMaximumNumberOfPriceQuotesValue(java.lang.String inData)
Field maximumNumberOfPriceQuotes is defined as optional.

Specified by:
setMaximumNumberOfPriceQuotesValue in interface SjItineraries

setMaximumNumberOfPriceQuotesValue

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

Specified by:
setMaximumNumberOfPriceQuotesValue in interface SjItineraries

getItineraryResult

public TiByteArrayInterface getItineraryResult()
Field itineraryResult is defined as optional.

Specified by:
getItineraryResult in interface SjItineraries

lookupItineraryResult

public TiByteArrayInterface lookupItineraryResult()
Field itineraryResult is defined as optional.

Specified by:
lookupItineraryResult in interface SjItineraries

setItineraryResult

public void setItineraryResult(TiByteArrayInterface inData)
Field itineraryResult is defined as optional.

Specified by:
setItineraryResult in interface SjItineraries

getItineraryResultValue

public byte[] getItineraryResultValue()
Field itineraryResult is defined as optional.

Specified by:
getItineraryResultValue in interface SjItineraries

setItineraryResultValue

public void setItineraryResultValue(byte[] inData)
Field itineraryResult is defined as optional.

Specified by:
setItineraryResultValue in interface SjItineraries

setItineraryResultValue

public void setItineraryResultValue(byte[] inData,
                                    boolean inNotify)
Field itineraryResult is defined as optional.

Specified by:
setItineraryResultValue in interface SjItineraries

getClientInformation

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

Specified by:
getClientInformation in interface SjItineraries

lookupClientInformation

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

Specified by:
lookupClientInformation in interface SjItineraries

setClientInformation

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

Specified by:
setClientInformation in interface SjItineraries

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.