Class GeneratedPointOfService

All Implemented Interfaces:
Serializable, Comparable
Direct Known Subclasses:
PointOfService

public abstract class GeneratedPointOfService extends GenericItem
Generated class for type PointOfService.
See Also:
  • Field Details

  • Constructor Details

    • GeneratedPointOfService

      public GeneratedPointOfService()
  • Method Details

    • getDefaultAttributeModes

      protected Map<String,Item.AttributeMode> getDefaultAttributeModes()
      Overrides:
      getDefaultAttributeModes in class Item
    • getAddress

      public Address getAddress(SessionContext ctx)
      Generated method - Getter of the PointOfService.address attribute.
      Returns:
      the address
    • getAddress

      public Address getAddress()
      Generated method - Getter of the PointOfService.address attribute.
      Returns:
      the address
    • setAddress

      public void setAddress(SessionContext ctx, Address value)
      Generated method - Setter of the PointOfService.address attribute.
      Parameters:
      value - the address
    • setAddress

      public void setAddress(Address value)
      Generated method - Setter of the PointOfService.address attribute.
      Parameters:
      value - the address
    • getBaseStore

      public BaseStore getBaseStore(SessionContext ctx)
      Generated method - Getter of the PointOfService.baseStore attribute.
      Returns:
      the baseStore
    • getBaseStore

      public BaseStore getBaseStore()
      Generated method - Getter of the PointOfService.baseStore attribute.
      Returns:
      the baseStore
    • setBaseStore

      public void setBaseStore(SessionContext ctx, BaseStore value)
      Generated method - Setter of the PointOfService.baseStore attribute.
      Parameters:
      value - the baseStore
    • setBaseStore

      public void setBaseStore(BaseStore value)
      Generated method - Setter of the PointOfService.baseStore attribute.
      Parameters:
      value - the baseStore
    • getBusinessCategory

      public String getBusinessCategory(SessionContext ctx)
      Generated method - Getter of the PointOfService.businessCategory attribute.
      Returns:
      the businessCategory - Specifies the overarching business category
    • getBusinessCategory

      public String getBusinessCategory()
      Generated method - Getter of the PointOfService.businessCategory attribute.
      Returns:
      the businessCategory - Specifies the overarching business category
    • setBusinessCategory

      public void setBusinessCategory(SessionContext ctx, String value)
      Generated method - Setter of the PointOfService.businessCategory attribute.
      Parameters:
      value - the businessCategory - Specifies the overarching business category
    • setBusinessCategory

      public void setBusinessCategory(String value)
      Generated method - Setter of the PointOfService.businessCategory attribute.
      Parameters:
      value - the businessCategory - Specifies the overarching business category
    • createItem

      protected Item createItem(SessionContext ctx, ComposedType type, Item.ItemAttributeMap allAttributes) throws JaloBusinessException
      Description copied from class: Item
      Has to be implemented for each concrete subtype of item. This method is responsible for creating a new item instance ( by calling managers, ejb homes, etc. ) during ComposedType.newInstance(Map).

      In case this method uses any of the attribute values during creation it is required to override Item.getNonInitialAttributes(SessionContext, ItemAttributeMap) too.
      Sn example:

      
       public static final String MY_ATTRIBUTE = "someAttribute"; ... protected Item createItem(SessionContext
       ctx, ComposedType type, Map allAttributes ) throws JaloBusinessException { MyManager man = ... return
       man.createMyItem( (String)allAttributes.get(MY_ATTRIBUTE) );
       // here MY_ATTRIBUTE is used for creation, so it must not be set again } protected Map getNonInitialAttributes(
       SessionContext ctx, Map allAttributes ) { // let superclass remove its own initial attributes Map ret =
       super.getNonInitialAttributes( ctx, allAttributes );
       // remove MY_ATTRIBUTE from all attributes since if has already been set ret.remove(MY_ATTRIBUTE); return ret; }
      
       
      Overrides:
      createItem in class GenericItem
      Parameters:
      ctx - the current session context which this item is created within
      type - the actual item type ( since subtypes may not provide a own jalo class this may be different from the type which this method was implemented for )
      Returns:
      the new item instance
      Throws:
      JaloBusinessException - indicates an error during creation - any changes will be rollbacked
    • getDescription

      public String getDescription(SessionContext ctx)
      Generated method - Getter of the PointOfService.description attribute.
      Returns:
      the description
    • getDescription

      public String getDescription()
      Generated method - Getter of the PointOfService.description attribute.
      Returns:
      the description
    • setDescription

      public void setDescription(SessionContext ctx, String value)
      Generated method - Setter of the PointOfService.description attribute.
      Parameters:
      value - the description
    • setDescription

      public void setDescription(String value)
      Generated method - Setter of the PointOfService.description attribute.
      Parameters:
      value - the description
    • getGeocodeTimestamp

      public Date getGeocodeTimestamp(SessionContext ctx)
      Generated method - Getter of the PointOfService.geocodeTimestamp attribute.
      Returns:
      the geocodeTimestamp
    • getGeocodeTimestamp

      public Date getGeocodeTimestamp()
      Generated method - Getter of the PointOfService.geocodeTimestamp attribute.
      Returns:
      the geocodeTimestamp
    • setGeocodeTimestamp

      public void setGeocodeTimestamp(SessionContext ctx, Date value)
      Generated method - Setter of the PointOfService.geocodeTimestamp attribute.
      Parameters:
      value - the geocodeTimestamp
    • setGeocodeTimestamp

      public void setGeocodeTimestamp(Date value)
      Generated method - Setter of the PointOfService.geocodeTimestamp attribute.
      Parameters:
      value - the geocodeTimestamp
    • getLatitude

      public Double getLatitude(SessionContext ctx)
      Generated method - Getter of the PointOfService.latitude attribute.
      Returns:
      the latitude
    • getLatitude

      public Double getLatitude()
      Generated method - Getter of the PointOfService.latitude attribute.
      Returns:
      the latitude
    • getLatitudeAsPrimitive

      public double getLatitudeAsPrimitive(SessionContext ctx)
      Generated method - Getter of the PointOfService.latitude attribute.
      Returns:
      the latitude
    • getLatitudeAsPrimitive

      public double getLatitudeAsPrimitive()
      Generated method - Getter of the PointOfService.latitude attribute.
      Returns:
      the latitude
    • setLatitude

      public void setLatitude(SessionContext ctx, Double value)
      Generated method - Setter of the PointOfService.latitude attribute.
      Parameters:
      value - the latitude
    • setLatitude

      public void setLatitude(Double value)
      Generated method - Setter of the PointOfService.latitude attribute.
      Parameters:
      value - the latitude
    • setLatitude

      public void setLatitude(SessionContext ctx, double value)
      Generated method - Setter of the PointOfService.latitude attribute.
      Parameters:
      value - the latitude
    • setLatitude

      public void setLatitude(double value)
      Generated method - Setter of the PointOfService.latitude attribute.
      Parameters:
      value - the latitude
    • getLongitude

      public Double getLongitude(SessionContext ctx)
      Generated method - Getter of the PointOfService.longitude attribute.
      Returns:
      the longitude
    • getLongitude

      public Double getLongitude()
      Generated method - Getter of the PointOfService.longitude attribute.
      Returns:
      the longitude
    • getLongitudeAsPrimitive

      public double getLongitudeAsPrimitive(SessionContext ctx)
      Generated method - Getter of the PointOfService.longitude attribute.
      Returns:
      the longitude
    • getLongitudeAsPrimitive

      public double getLongitudeAsPrimitive()
      Generated method - Getter of the PointOfService.longitude attribute.
      Returns:
      the longitude
    • setLongitude

      public void setLongitude(SessionContext ctx, Double value)
      Generated method - Setter of the PointOfService.longitude attribute.
      Parameters:
      value - the longitude
    • setLongitude

      public void setLongitude(Double value)
      Generated method - Setter of the PointOfService.longitude attribute.
      Parameters:
      value - the longitude
    • setLongitude

      public void setLongitude(SessionContext ctx, double value)
      Generated method - Setter of the PointOfService.longitude attribute.
      Parameters:
      value - the longitude
    • setLongitude

      public void setLongitude(double value)
      Generated method - Setter of the PointOfService.longitude attribute.
      Parameters:
      value - the longitude
    • getMapIcon

      public Media getMapIcon(SessionContext ctx)
      Generated method - Getter of the PointOfService.mapIcon attribute.
      Returns:
      the mapIcon
    • getMapIcon

      public Media getMapIcon()
      Generated method - Getter of the PointOfService.mapIcon attribute.
      Returns:
      the mapIcon
    • setMapIcon

      public void setMapIcon(SessionContext ctx, Media value)
      Generated method - Setter of the PointOfService.mapIcon attribute.
      Parameters:
      value - the mapIcon
    • setMapIcon

      public void setMapIcon(Media value)
      Generated method - Setter of the PointOfService.mapIcon attribute.
      Parameters:
      value - the mapIcon
    • getName

      public String getName(SessionContext ctx)
      Generated method - Getter of the PointOfService.name attribute.
      Returns:
      the name
    • getName

      public String getName()
      Generated method - Getter of the PointOfService.name attribute.
      Returns:
      the name
    • setName

      protected void setName(SessionContext ctx, String value)
      Generated method - Setter of the PointOfService.name attribute.
      Parameters:
      value - the name
    • setName

      protected void setName(String value)
      Generated method - Setter of the PointOfService.name attribute.
      Parameters:
      value - the name
    • getOpeningSchedule

      public OpeningSchedule getOpeningSchedule(SessionContext ctx)
      Generated method - Getter of the PointOfService.openingSchedule attribute.
      Returns:
      the openingSchedule - It is property representing a schedule of opening hours of this point of service.
    • getOpeningSchedule

      public OpeningSchedule getOpeningSchedule()
      Generated method - Getter of the PointOfService.openingSchedule attribute.
      Returns:
      the openingSchedule - It is property representing a schedule of opening hours of this point of service.
    • setOpeningSchedule

      public void setOpeningSchedule(SessionContext ctx, OpeningSchedule value)
      Generated method - Setter of the PointOfService.openingSchedule attribute.
      Parameters:
      value - the openingSchedule - It is property representing a schedule of opening hours of this point of service.
    • setOpeningSchedule

      public void setOpeningSchedule(OpeningSchedule value)
      Generated method - Setter of the PointOfService.openingSchedule attribute.
      Parameters:
      value - the openingSchedule - It is property representing a schedule of opening hours of this point of service.
    • getStoreContent

      public String getStoreContent(SessionContext ctx)
      Generated method - Getter of the PointOfService.storeContent attribute.
      Returns:
      the storeContent - It is a localized attribute that contains informational store content text.
    • getStoreContent

      public String getStoreContent()
      Generated method - Getter of the PointOfService.storeContent attribute.
      Returns:
      the storeContent - It is a localized attribute that contains informational store content text.
    • getAllStoreContent

      public Map<Language,String> getAllStoreContent(SessionContext ctx)
      Generated method - Getter of the PointOfService.storeContent attribute.
      Returns:
      the localized storeContent - It is a localized attribute that contains informational store content text.
    • getAllStoreContent

      public Map<Language,String> getAllStoreContent()
      Generated method - Getter of the PointOfService.storeContent attribute.
      Returns:
      the localized storeContent - It is a localized attribute that contains informational store content text.
    • setStoreContent

      public void setStoreContent(SessionContext ctx, String value)
      Generated method - Setter of the PointOfService.storeContent attribute.
      Parameters:
      value - the storeContent - It is a localized attribute that contains informational store content text.
    • setStoreContent

      public void setStoreContent(String value)
      Generated method - Setter of the PointOfService.storeContent attribute.
      Parameters:
      value - the storeContent - It is a localized attribute that contains informational store content text.
    • setAllStoreContent

      public void setAllStoreContent(SessionContext ctx, Map<Language,String> value)
      Generated method - Setter of the PointOfService.storeContent attribute.
      Parameters:
      value - the storeContent - It is a localized attribute that contains informational store content text.
    • setAllStoreContent

      public void setAllStoreContent(Map<Language,String> value)
      Generated method - Setter of the PointOfService.storeContent attribute.
      Parameters:
      value - the storeContent - It is a localized attribute that contains informational store content text.
    • getStoreImage

      public MediaContainer getStoreImage(SessionContext ctx)
      Generated method - Getter of the PointOfService.storeImage attribute.
      Returns:
      the storeImage - It is a media container with additional images of the store.
    • getStoreImage

      public MediaContainer getStoreImage()
      Generated method - Getter of the PointOfService.storeImage attribute.
      Returns:
      the storeImage - It is a media container with additional images of the store.
    • setStoreImage

      public void setStoreImage(SessionContext ctx, MediaContainer value)
      Generated method - Setter of the PointOfService.storeImage attribute.
      Parameters:
      value - the storeImage - It is a media container with additional images of the store.
    • setStoreImage

      public void setStoreImage(MediaContainer value)
      Generated method - Setter of the PointOfService.storeImage attribute.
      Parameters:
      value - the storeImage - It is a media container with additional images of the store.
    • getType

      public EnumerationValue getType(SessionContext ctx)
      Generated method - Getter of the PointOfService.type attribute.
      Returns:
      the type
    • getType

      public EnumerationValue getType()
      Generated method - Getter of the PointOfService.type attribute.
      Returns:
      the type
    • setType

      public void setType(SessionContext ctx, EnumerationValue value)
      Generated method - Setter of the PointOfService.type attribute.
      Parameters:
      value - the type
    • setType

      public void setType(EnumerationValue value)
      Generated method - Setter of the PointOfService.type attribute.
      Parameters:
      value - the type