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

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.SjItineraryStandard
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, SjItinerary

public class SjItineraryStandard
extends TiAbstractMapModel
implements SjItinerary

Denna struktur innehåller datat för en förbindelse i ett svar på en tidtabellsfråga. Om man i frågan (ItineraryResultSpecification) angett att man vill ha tillbaka resesträckorna så kommer de i fältet SectionList.

  • Fältet LimitedSeatsList innehåller de antalsräknade platser som man specat i strukturen ItineraryResultSpecification i tidtabellsfrågan. Om man inte specade några alls, så finns detta fält inte med.

  • Fältet SectionList kommer med om man specificerat det i strukturen ItineraryResultSpecification i tidtabellsfrågan.

    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.SjItinerary
    ARRIVAL_DATE_TIME, ARRIVAL_LOCATION, DEMAND_LEVEL, DEPARTURE_DATE_TIME, DEPARTURE_LOCATION, EXTENDED_LIMITED_SEATS_LIST, ITINERARY_CAMPAIGN_INFORMATION_LIST, ITINERARY_REFERENCE, LIMITED_SEATS_LIST, NUMBER_OF_SECTIONS, PRICE_GROUP_LIST, SECTION_LIST, TRANSPORTATION_DURATION
     
    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
    SjItineraryStandard()
               
     
    Method Summary
     TiDateTime getArrivalDateTime()
              Field arrivalDateTime is defined as mandatory.
     SjLocation getArrivalLocation()
              Field arrivalLocation is defined as mandatory.
     TiStringInterface getDemandLevel()
              Field demandLevel is defined as optional.
     java.lang.String getDemandLevelValue()
              Field demandLevel is defined as optional.
     TiDateTime getDepartureDateTime()
              Field departureDateTime is defined as mandatory.
     SjLocation getDepartureLocation()
              Field departureLocation is defined as mandatory.
     SjExtendedLimitedSeatsList getExtendedLimitedSeatsList()
              Field extendedLimitedSeatsList is defined as optional.
     java.lang.String getGeneratedTiName()
               
     SjItineraryCampaignInformationList getItineraryCampaignInformationList()
              Field itineraryCampaignInformationList is defined as optional.
     SjObjectStringRef getItineraryReference()
              Field itineraryReference is defined as mandatory.
     java.lang.String getItineraryReferenceValue()
              Field itineraryReference is defined as mandatory.
     SjAvailabilityList getLimitedSeatsList()
              Field limitedSeatsList is defined as optional.
     SjIntegerString getNumberOfSections()
              Field numberOfSections is defined as mandatory.
     java.lang.String getNumberOfSectionsValue()
              Field numberOfSections is defined as mandatory.
     SjAvailablePriceGroupList getPriceGroupList()
              Field priceGroupList is defined as optional.
     java.lang.String getRealTiName()
               
     SjSectionList getSectionList()
              Field sectionList is defined as optional.
     TiTimeSpan getTransportationDuration()
              Field transportationDuration is defined as mandatory.
     TiDateTime lookupArrivalDateTime()
              Field arrivalDateTime is defined as mandatory.
     SjLocation lookupArrivalLocation()
              Field arrivalLocation is defined as mandatory.
     TiStringInterface lookupDemandLevel()
              Field demandLevel is defined as optional.
     TiDateTime lookupDepartureDateTime()
              Field departureDateTime is defined as mandatory.
     SjLocation lookupDepartureLocation()
              Field departureLocation is defined as mandatory.
     SjExtendedLimitedSeatsList lookupExtendedLimitedSeatsList()
              Field extendedLimitedSeatsList is defined as optional.
     SjItineraryCampaignInformationList lookupItineraryCampaignInformationList()
              Field itineraryCampaignInformationList is defined as optional.
     SjObjectStringRef lookupItineraryReference()
              Field itineraryReference is defined as mandatory.
     SjAvailabilityList lookupLimitedSeatsList()
              Field limitedSeatsList is defined as optional.
     SjIntegerString lookupNumberOfSections()
              Field numberOfSections is defined as mandatory.
     SjAvailablePriceGroupList lookupPriceGroupList()
              Field priceGroupList is defined as optional.
     SjSectionList lookupSectionList()
              Field sectionList is defined as optional.
     TiTimeSpan lookupTransportationDuration()
              Field transportationDuration is defined as mandatory.
     void setArrivalDateTime(TiDateTime inData)
              Field arrivalDateTime is defined as mandatory.
     void setArrivalLocation(SjLocation inData)
              Field arrivalLocation is defined as mandatory.
     void setDemandLevel(TiStringInterface inData)
              Field demandLevel is defined as optional.
     void setDemandLevelValue(java.lang.String inData)
              Field demandLevel is defined as optional.
     void setDemandLevelValue(java.lang.String inData, boolean inNotify)
              Field demandLevel is defined as optional.
     void setDepartureDateTime(TiDateTime inData)
              Field departureDateTime is defined as mandatory.
     void setDepartureLocation(SjLocation inData)
              Field departureLocation is defined as mandatory.
     void setExtendedLimitedSeatsList(SjExtendedLimitedSeatsList inData)
              Field extendedLimitedSeatsList is defined as optional.
     void setItineraryCampaignInformationList(SjItineraryCampaignInformationList inData)
              Field itineraryCampaignInformationList is defined as optional.
     void setItineraryReference(SjObjectStringRef inData)
              Field itineraryReference is defined as mandatory.
     void setItineraryReferenceValue(java.lang.String inData)
              Field itineraryReference is defined as mandatory.
     void setItineraryReferenceValue(java.lang.String inData, boolean inNotify)
              Field itineraryReference is defined as mandatory.
     void setLimitedSeatsList(SjAvailabilityList inData)
              Field limitedSeatsList is defined as optional.
     void setNumberOfSections(SjIntegerString inData)
              Field numberOfSections is defined as mandatory.
     void setNumberOfSectionsValue(java.lang.String inData)
              Field numberOfSections is defined as mandatory.
     void setNumberOfSectionsValue(java.lang.String inData, boolean inNotify)
              Field numberOfSections is defined as mandatory.
     void setPriceGroupList(SjAvailablePriceGroupList inData)
              Field priceGroupList is defined as optional.
     void setSectionList(SjSectionList inData)
              Field sectionList is defined as optional.
     void setTransportationDuration(TiTimeSpan inData)
              Field transportationDuration 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

    SjItineraryStandard

    public SjItineraryStandard()
    Method Detail

    getItineraryReference

    public SjObjectStringRef getItineraryReference()
    Field itineraryReference is defined as mandatory.

    Specified by:
    getItineraryReference in interface SjItinerary

    lookupItineraryReference

    public SjObjectStringRef lookupItineraryReference()
    Field itineraryReference is defined as mandatory.

    Specified by:
    lookupItineraryReference in interface SjItinerary

    setItineraryReference

    public void setItineraryReference(SjObjectStringRef inData)
    Field itineraryReference is defined as mandatory.

    Specified by:
    setItineraryReference in interface SjItinerary

    getItineraryReferenceValue

    public java.lang.String getItineraryReferenceValue()
    Field itineraryReference is defined as mandatory.

    Specified by:
    getItineraryReferenceValue in interface SjItinerary

    setItineraryReferenceValue

    public void setItineraryReferenceValue(java.lang.String inData)
    Field itineraryReference is defined as mandatory.

    Specified by:
    setItineraryReferenceValue in interface SjItinerary

    setItineraryReferenceValue

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

    Specified by:
    setItineraryReferenceValue in interface SjItinerary

    getDepartureLocation

    public SjLocation getDepartureLocation()
    Field departureLocation is defined as mandatory.

    Specified by:
    getDepartureLocation in interface SjItinerary

    lookupDepartureLocation

    public SjLocation lookupDepartureLocation()
    Field departureLocation is defined as mandatory.

    Specified by:
    lookupDepartureLocation in interface SjItinerary

    setDepartureLocation

    public void setDepartureLocation(SjLocation inData)
    Field departureLocation is defined as mandatory.

    Specified by:
    setDepartureLocation in interface SjItinerary

    getDepartureDateTime

    public TiDateTime getDepartureDateTime()
    Field departureDateTime is defined as mandatory.

    Specified by:
    getDepartureDateTime in interface SjItinerary

    lookupDepartureDateTime

    public TiDateTime lookupDepartureDateTime()
    Field departureDateTime is defined as mandatory.

    Specified by:
    lookupDepartureDateTime in interface SjItinerary

    setDepartureDateTime

    public void setDepartureDateTime(TiDateTime inData)
    Field departureDateTime is defined as mandatory.

    Specified by:
    setDepartureDateTime in interface SjItinerary

    getArrivalLocation

    public SjLocation getArrivalLocation()
    Field arrivalLocation is defined as mandatory.

    Specified by:
    getArrivalLocation in interface SjItinerary

    lookupArrivalLocation

    public SjLocation lookupArrivalLocation()
    Field arrivalLocation is defined as mandatory.

    Specified by:
    lookupArrivalLocation in interface SjItinerary

    setArrivalLocation

    public void setArrivalLocation(SjLocation inData)
    Field arrivalLocation is defined as mandatory.

    Specified by:
    setArrivalLocation in interface SjItinerary

    getArrivalDateTime

    public TiDateTime getArrivalDateTime()
    Field arrivalDateTime is defined as mandatory.

    Specified by:
    getArrivalDateTime in interface SjItinerary

    lookupArrivalDateTime

    public TiDateTime lookupArrivalDateTime()
    Field arrivalDateTime is defined as mandatory.

    Specified by:
    lookupArrivalDateTime in interface SjItinerary

    setArrivalDateTime

    public void setArrivalDateTime(TiDateTime inData)
    Field arrivalDateTime is defined as mandatory.

    Specified by:
    setArrivalDateTime in interface SjItinerary

    getTransportationDuration

    public TiTimeSpan getTransportationDuration()
    Field transportationDuration is defined as mandatory.

    Specified by:
    getTransportationDuration in interface SjItinerary

    lookupTransportationDuration

    public TiTimeSpan lookupTransportationDuration()
    Field transportationDuration is defined as mandatory.

    Specified by:
    lookupTransportationDuration in interface SjItinerary

    setTransportationDuration

    public void setTransportationDuration(TiTimeSpan inData)
    Field transportationDuration is defined as mandatory.

    Specified by:
    setTransportationDuration in interface SjItinerary

    getNumberOfSections

    public SjIntegerString getNumberOfSections()
    Field numberOfSections is defined as mandatory.

    Specified by:
    getNumberOfSections in interface SjItinerary

    lookupNumberOfSections

    public SjIntegerString lookupNumberOfSections()
    Field numberOfSections is defined as mandatory.

    Specified by:
    lookupNumberOfSections in interface SjItinerary

    setNumberOfSections

    public void setNumberOfSections(SjIntegerString inData)
    Field numberOfSections is defined as mandatory.

    Specified by:
    setNumberOfSections in interface SjItinerary

    getNumberOfSectionsValue

    public java.lang.String getNumberOfSectionsValue()
    Field numberOfSections is defined as mandatory.

    Specified by:
    getNumberOfSectionsValue in interface SjItinerary

    setNumberOfSectionsValue

    public void setNumberOfSectionsValue(java.lang.String inData)
    Field numberOfSections is defined as mandatory.

    Specified by:
    setNumberOfSectionsValue in interface SjItinerary

    setNumberOfSectionsValue

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

    Specified by:
    setNumberOfSectionsValue in interface SjItinerary

    getSectionList

    public SjSectionList getSectionList()
    Field sectionList is defined as optional.

    Specified by:
    getSectionList in interface SjItinerary

    lookupSectionList

    public SjSectionList lookupSectionList()
    Field sectionList is defined as optional.

    Specified by:
    lookupSectionList in interface SjItinerary

    setSectionList

    public void setSectionList(SjSectionList inData)
    Field sectionList is defined as optional.

    Specified by:
    setSectionList in interface SjItinerary

    getLimitedSeatsList

    public SjAvailabilityList getLimitedSeatsList()
    Field limitedSeatsList is defined as optional.

    Specified by:
    getLimitedSeatsList in interface SjItinerary

    lookupLimitedSeatsList

    public SjAvailabilityList lookupLimitedSeatsList()
    Field limitedSeatsList is defined as optional.

    Specified by:
    lookupLimitedSeatsList in interface SjItinerary

    setLimitedSeatsList

    public void setLimitedSeatsList(SjAvailabilityList inData)
    Field limitedSeatsList is defined as optional.

    Specified by:
    setLimitedSeatsList in interface SjItinerary

    getPriceGroupList

    public SjAvailablePriceGroupList getPriceGroupList()
    Field priceGroupList is defined as optional.

    Specified by:
    getPriceGroupList in interface SjItinerary

    lookupPriceGroupList

    public SjAvailablePriceGroupList lookupPriceGroupList()
    Field priceGroupList is defined as optional.

    Specified by:
    lookupPriceGroupList in interface SjItinerary

    setPriceGroupList

    public void setPriceGroupList(SjAvailablePriceGroupList inData)
    Field priceGroupList is defined as optional.

    Specified by:
    setPriceGroupList in interface SjItinerary

    getDemandLevel

    public TiStringInterface getDemandLevel()
    Field demandLevel is defined as optional.

    Specified by:
    getDemandLevel in interface SjItinerary

    lookupDemandLevel

    public TiStringInterface lookupDemandLevel()
    Field demandLevel is defined as optional.

    Specified by:
    lookupDemandLevel in interface SjItinerary

    setDemandLevel

    public void setDemandLevel(TiStringInterface inData)
    Field demandLevel is defined as optional.

    Specified by:
    setDemandLevel in interface SjItinerary

    getDemandLevelValue

    public java.lang.String getDemandLevelValue()
    Field demandLevel is defined as optional.

    Specified by:
    getDemandLevelValue in interface SjItinerary

    setDemandLevelValue

    public void setDemandLevelValue(java.lang.String inData)
    Field demandLevel is defined as optional.

    Specified by:
    setDemandLevelValue in interface SjItinerary

    setDemandLevelValue

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

    Specified by:
    setDemandLevelValue in interface SjItinerary

    getExtendedLimitedSeatsList

    public SjExtendedLimitedSeatsList getExtendedLimitedSeatsList()
    Field extendedLimitedSeatsList is defined as optional.

    Specified by:
    getExtendedLimitedSeatsList in interface SjItinerary

    lookupExtendedLimitedSeatsList

    public SjExtendedLimitedSeatsList lookupExtendedLimitedSeatsList()
    Field extendedLimitedSeatsList is defined as optional.

    Specified by:
    lookupExtendedLimitedSeatsList in interface SjItinerary

    setExtendedLimitedSeatsList

    public void setExtendedLimitedSeatsList(SjExtendedLimitedSeatsList inData)
    Field extendedLimitedSeatsList is defined as optional.

    Specified by:
    setExtendedLimitedSeatsList in interface SjItinerary

    getItineraryCampaignInformationList

    public SjItineraryCampaignInformationList getItineraryCampaignInformationList()
    Field itineraryCampaignInformationList is defined as optional.

    Specified by:
    getItineraryCampaignInformationList in interface SjItinerary

    lookupItineraryCampaignInformationList

    public SjItineraryCampaignInformationList lookupItineraryCampaignInformationList()
    Field itineraryCampaignInformationList is defined as optional.

    Specified by:
    lookupItineraryCampaignInformationList in interface SjItinerary

    setItineraryCampaignInformationList

    public void setItineraryCampaignInformationList(SjItineraryCampaignInformationList inData)
    Field itineraryCampaignInformationList is defined as optional.

    Specified by:
    setItineraryCampaignInformationList in interface SjItinerary

    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.