public abstract class GeneratedPointOfService extends GenericItem
PointOfService.GenericItem.GenericItemImplLocalizableItem.LocalizableItemImplExtensibleItem.ExtensibleItemImplItem.AttributeFilter, Item.AttributeMode, Item.CachedGetter, Item.CachedSetter, Item.ItemAttributeMap, Item.ItemConstraint, Item.ItemImpl, Item.JaloCachedComputationException| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ADDRESS
Qualifier of the
PointOfService.address attribute |
static java.lang.String |
BASESTORE
Qualifier of the
PointOfService.baseStore attribute |
protected static BidirectionalOneToManyHandler<GeneratedPointOfService> |
BASESTOREHANDLER
BidirectionalOneToManyHandler for handling 1:n BASESTORE's relation attributes from 'one' side. |
static java.lang.String |
BUSINESSCATEGORY
Qualifier of the
PointOfService.businessCategory attribute |
protected static java.util.Map<java.lang.String,Item.AttributeMode> |
DEFAULT_INITIAL_ATTRIBUTES |
static java.lang.String |
DESCRIPTION
Qualifier of the
PointOfService.description attribute |
static java.lang.String |
GEOCODETIMESTAMP
Qualifier of the
PointOfService.geocodeTimestamp attribute |
static java.lang.String |
LATITUDE
Qualifier of the
PointOfService.latitude attribute |
static java.lang.String |
LONGITUDE
Qualifier of the
PointOfService.longitude attribute |
static java.lang.String |
MAPICON
Qualifier of the
PointOfService.mapIcon attribute |
static java.lang.String |
NAME
Qualifier of the
PointOfService.name attribute |
static java.lang.String |
OPENINGSCHEDULE
Qualifier of the
PointOfService.openingSchedule attribute |
static java.lang.String |
STORECONTENT
Qualifier of the
PointOfService.storeContent attribute |
static java.lang.String |
STOREIMAGE
Qualifier of the
PointOfService.storeImage attribute |
static java.lang.String |
TYPE
Qualifier of the
PointOfService.type attribute |
LANGUAGE_FALLBACK_ENABLED_CREATION_TIME_INTERNAL, _MODIFIED_TIME_INTERNAL, accessorLog, CREATION_TIME, DISABLE_ATTRIBUTE_CHECK, DISABLE_ITEMCHECK_BEFORE_REMOVABLE, EVEN, FEATURE_ACCESSMAP_QUALIFIER, INITIAL_CREATION_FLAG, isJaloOnly, MODIFIED_TIME, NEGATIVE, NOT_FOUND, OWNER, PK, POSITIVE, SAVE_FROM_SERVICE_LAYER, staticTransientObjectsimpl, tenant| Constructor and Description |
|---|
GeneratedPointOfService() |
| Modifier and Type | Method and Description |
|---|---|
protected Item |
createItem(SessionContext ctx,
ComposedType type,
Item.ItemAttributeMap allAttributes)
Has to be implemented for each concrete subtype of item.
|
Address |
getAddress()
Generated method - Getter of the
PointOfService.address attribute. |
Address |
getAddress(SessionContext ctx)
Generated method - Getter of the
PointOfService.address attribute. |
java.util.Map<Language,java.lang.String> |
getAllStoreContent()
Generated method - Getter of the
PointOfService.storeContent attribute. |
java.util.Map<Language,java.lang.String> |
getAllStoreContent(SessionContext ctx)
Generated method - Getter of the
PointOfService.storeContent attribute. |
BaseStore |
getBaseStore()
Generated method - Getter of the
PointOfService.baseStore attribute. |
BaseStore |
getBaseStore(SessionContext ctx)
Generated method - Getter of the
PointOfService.baseStore attribute. |
java.lang.String |
getBusinessCategory()
Generated method - Getter of the
PointOfService.businessCategory attribute. |
java.lang.String |
getBusinessCategory(SessionContext ctx)
Generated method - Getter of the
PointOfService.businessCategory attribute. |
protected java.util.Map<java.lang.String,Item.AttributeMode> |
getDefaultAttributeModes() |
java.lang.String |
getDescription()
Generated method - Getter of the
PointOfService.description attribute. |
java.lang.String |
getDescription(SessionContext ctx)
Generated method - Getter of the
PointOfService.description attribute. |
java.util.Date |
getGeocodeTimestamp()
Generated method - Getter of the
PointOfService.geocodeTimestamp attribute. |
java.util.Date |
getGeocodeTimestamp(SessionContext ctx)
Generated method - Getter of the
PointOfService.geocodeTimestamp attribute. |
java.lang.Double |
getLatitude()
Generated method - Getter of the
PointOfService.latitude attribute. |
java.lang.Double |
getLatitude(SessionContext ctx)
Generated method - Getter of the
PointOfService.latitude attribute. |
double |
getLatitudeAsPrimitive()
Generated method - Getter of the
PointOfService.latitude attribute. |
double |
getLatitudeAsPrimitive(SessionContext ctx)
Generated method - Getter of the
PointOfService.latitude attribute. |
java.lang.Double |
getLongitude()
Generated method - Getter of the
PointOfService.longitude attribute. |
java.lang.Double |
getLongitude(SessionContext ctx)
Generated method - Getter of the
PointOfService.longitude attribute. |
double |
getLongitudeAsPrimitive()
Generated method - Getter of the
PointOfService.longitude attribute. |
double |
getLongitudeAsPrimitive(SessionContext ctx)
Generated method - Getter of the
PointOfService.longitude attribute. |
Media |
getMapIcon()
Generated method - Getter of the
PointOfService.mapIcon attribute. |
Media |
getMapIcon(SessionContext ctx)
Generated method - Getter of the
PointOfService.mapIcon attribute. |
java.lang.String |
getName()
Generated method - Getter of the
PointOfService.name attribute. |
java.lang.String |
getName(SessionContext ctx)
Generated method - Getter of the
PointOfService.name attribute. |
OpeningSchedule |
getOpeningSchedule()
Generated method - Getter of the
PointOfService.openingSchedule attribute. |
OpeningSchedule |
getOpeningSchedule(SessionContext ctx)
Generated method - Getter of the
PointOfService.openingSchedule attribute. |
java.lang.String |
getStoreContent()
Generated method - Getter of the
PointOfService.storeContent attribute. |
java.lang.String |
getStoreContent(SessionContext ctx)
Generated method - Getter of the
PointOfService.storeContent attribute. |
MediaContainer |
getStoreImage()
Generated method - Getter of the
PointOfService.storeImage attribute. |
MediaContainer |
getStoreImage(SessionContext ctx)
Generated method - Getter of the
PointOfService.storeImage attribute. |
EnumerationValue |
getType()
Generated method - Getter of the
PointOfService.type attribute. |
EnumerationValue |
getType(SessionContext ctx)
Generated method - Getter of the
PointOfService.type attribute. |
void |
setAddress(Address value)
Generated method - Setter of the
PointOfService.address attribute. |
void |
setAddress(SessionContext ctx,
Address value)
Generated method - Setter of the
PointOfService.address attribute. |
void |
setAllStoreContent(java.util.Map<Language,java.lang.String> value)
Generated method - Setter of the
PointOfService.storeContent attribute. |
void |
setAllStoreContent(SessionContext ctx,
java.util.Map<Language,java.lang.String> value)
Generated method - Setter of the
PointOfService.storeContent attribute. |
void |
setBaseStore(BaseStore value)
Generated method - Setter of the
PointOfService.baseStore attribute. |
void |
setBaseStore(SessionContext ctx,
BaseStore value)
Generated method - Setter of the
PointOfService.baseStore attribute. |
void |
setBusinessCategory(SessionContext ctx,
java.lang.String value)
Generated method - Setter of the
PointOfService.businessCategory attribute. |
void |
setBusinessCategory(java.lang.String value)
Generated method - Setter of the
PointOfService.businessCategory attribute. |
void |
setDescription(SessionContext ctx,
java.lang.String value)
Generated method - Setter of the
PointOfService.description attribute. |
void |
setDescription(java.lang.String value)
Generated method - Setter of the
PointOfService.description attribute. |
void |
setGeocodeTimestamp(java.util.Date value)
Generated method - Setter of the
PointOfService.geocodeTimestamp attribute. |
void |
setGeocodeTimestamp(SessionContext ctx,
java.util.Date value)
Generated method - Setter of the
PointOfService.geocodeTimestamp attribute. |
void |
setLatitude(double value)
Generated method - Setter of the
PointOfService.latitude attribute. |
void |
setLatitude(java.lang.Double value)
Generated method - Setter of the
PointOfService.latitude attribute. |
void |
setLatitude(SessionContext ctx,
double value)
Generated method - Setter of the
PointOfService.latitude attribute. |
void |
setLatitude(SessionContext ctx,
java.lang.Double value)
Generated method - Setter of the
PointOfService.latitude attribute. |
void |
setLongitude(double value)
Generated method - Setter of the
PointOfService.longitude attribute. |
void |
setLongitude(java.lang.Double value)
Generated method - Setter of the
PointOfService.longitude attribute. |
void |
setLongitude(SessionContext ctx,
double value)
Generated method - Setter of the
PointOfService.longitude attribute. |
void |
setLongitude(SessionContext ctx,
java.lang.Double value)
Generated method - Setter of the
PointOfService.longitude attribute. |
void |
setMapIcon(Media value)
Generated method - Setter of the
PointOfService.mapIcon attribute. |
void |
setMapIcon(SessionContext ctx,
Media value)
Generated method - Setter of the
PointOfService.mapIcon attribute. |
protected void |
setName(SessionContext ctx,
java.lang.String value)
Generated method - Setter of the
PointOfService.name attribute. |
protected void |
setName(java.lang.String value)
Generated method - Setter of the
PointOfService.name attribute. |
void |
setOpeningSchedule(OpeningSchedule value)
Generated method - Setter of the
PointOfService.openingSchedule attribute. |
void |
setOpeningSchedule(SessionContext ctx,
OpeningSchedule value)
Generated method - Setter of the
PointOfService.openingSchedule attribute. |
void |
setStoreContent(SessionContext ctx,
java.lang.String value)
Generated method - Setter of the
PointOfService.storeContent attribute. |
void |
setStoreContent(java.lang.String value)
Generated method - Setter of the
PointOfService.storeContent attribute. |
void |
setStoreImage(MediaContainer value)
Generated method - Setter of the
PointOfService.storeImage attribute. |
void |
setStoreImage(SessionContext ctx,
MediaContainer value)
Generated method - Setter of the
PointOfService.storeImage attribute. |
void |
setType(EnumerationValue value)
Generated method - Setter of the
PointOfService.type attribute. |
void |
setType(SessionContext ctx,
EnumerationValue value)
Generated method - Setter of the
PointOfService.type attribute. |
getInitialProperties, getNonInitialAttributesgetAllLocalizedProperties, getAllLocalizedProperties, getAllLocalizedProperties, getAllLocalizedProperties, getAllValuesSessionContext, getLocalizedProperty, getLocalizedProperty, getLocalizedPropertyInternal, getLocalizedPropertyNames, getLocalizedPropertyNames, hasLanguage, isEmptyValue, isFallbackEnabled, removeLocalizedProperty, removeLocalizedProperty, setAllLocalizedProperties, setAllLocalizedProperties, setLocalizedProperty, setLocalizedPropertycreateNonClassAccessor, getAllProperties, getAllProperties, getImplementation, getProperty, getProperty, getPropertyNames, getPropertyNames, removeProperty, removeProperty, setAllProperties, setAllProperties, setProperty, setPropertyaddLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addNegativePermission, addPermission, addPositivePermission, assureExtensionsLoaded, changeTypeAfterCreation, checkConstraint, checkItemPermission, checkMandatoryAttribute, checkMandatoryAttribute, checkPermission, checkPermission, checkRemovable, clearPermission, compareTo, ctx, doAfterRemove, doBeforeRemove, equals, getAccessorFor, getAllAttributes, getAllAttributes, getAllAttributes, getAllAttributes, getAllAttributesInternal, getAllLinkedItems, getAndCheckCacheBoundItem, getAttribute, getAttribute, getCacheBoundItem, getComposedType, getComposedTypePK, getCreationTime, getCurrentlyRemovingCount, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItemsCount, getLinkedItemsCount, getLinkedItemsCount, getModificationTime, getNegativePermissions, getOwner, getPermissionMap, getPermissions, getPersistenceVersion, getPK, getPositivePermissions, getRestrictedPrincipals, getSession, getSyncObject, getTenant, getTransientObject, getTransientObjectMap, hashCode, hasRegisteredClassAccessorFor, internal_registerClassAccessorFor, internal_registerNonClassAccessorFor, invalidateLocalCaches, isAlive, isCacheBound, isCurrentlyRemoving, isCurrentlyRemoving, isEmptyRelationValue, isInCreate, isInstanceOf, isItemCheckBeforeRemoveableDisabled, isMarkModifiedDisabled, isRelationLocalizationFallbackEnabled, newInstance, notifyExtensionsAfterItemCreation, notifyExtensionsBeforeItemCreation, notifyItemRemoval, notifyManagerAboutItemRemoval, readResolve, registerAccessFor, registerAccessFor, registerJaloInvalidationListeners, remove, remove, removeItemCollection, removeItemCollection, removeLinkedItems, removeLinkedItems, removeLinkedItems, removeLinkedItems, removeLinks, removePartOfItems, removePartOfItems, setAllAttributes, setAllAttributes, setAllAttributesInternal, setAllLinkedItems, setAllLinkedItems, setAllLinkedItems, setAllLinkedItems, setAttribute, setAttribute, setAttributeFromString, setAttributeFromString, setCacheBound, setComposedType, setCreationTime, setImplementation, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setModificationTime, setNonInitialAttributes, setOwner, setPermissionsByMap, setTransientObject, setUseTA, toString, useTA, writeReplacesetTenantpublic static final java.lang.String NAME
PointOfService.name attributepublic static final java.lang.String ADDRESS
PointOfService.address attributepublic static final java.lang.String DESCRIPTION
PointOfService.description attributepublic static final java.lang.String TYPE
PointOfService.type attributepublic static final java.lang.String MAPICON
PointOfService.mapIcon attributepublic static final java.lang.String LATITUDE
PointOfService.latitude attributepublic static final java.lang.String LONGITUDE
PointOfService.longitude attributepublic static final java.lang.String GEOCODETIMESTAMP
PointOfService.geocodeTimestamp attributepublic static final java.lang.String OPENINGSCHEDULE
PointOfService.openingSchedule attributepublic static final java.lang.String STORECONTENT
PointOfService.storeContent attributepublic static final java.lang.String STOREIMAGE
PointOfService.storeImage attributepublic static final java.lang.String BUSINESSCATEGORY
PointOfService.businessCategory attributepublic static final java.lang.String BASESTORE
PointOfService.baseStore attributeprotected static final BidirectionalOneToManyHandler<GeneratedPointOfService> BASESTOREHANDLER
BidirectionalOneToManyHandler for handling 1:n BASESTORE's relation attributes from 'one' side.protected static final java.util.Map<java.lang.String,Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
protected java.util.Map<java.lang.String,Item.AttributeMode> getDefaultAttributeModes()
getDefaultAttributeModes in class Itempublic Address getAddress(SessionContext ctx)
PointOfService.address attribute.public Address getAddress()
PointOfService.address attribute.public void setAddress(SessionContext ctx, Address value)
PointOfService.address attribute.value - the addresspublic void setAddress(Address value)
PointOfService.address attribute.value - the addresspublic BaseStore getBaseStore(SessionContext ctx)
PointOfService.baseStore attribute.public BaseStore getBaseStore()
PointOfService.baseStore attribute.public void setBaseStore(SessionContext ctx, BaseStore value)
PointOfService.baseStore attribute.value - the baseStorepublic void setBaseStore(BaseStore value)
PointOfService.baseStore attribute.value - the baseStorepublic java.lang.String getBusinessCategory(SessionContext ctx)
PointOfService.businessCategory attribute.public java.lang.String getBusinessCategory()
PointOfService.businessCategory attribute.public void setBusinessCategory(SessionContext ctx, java.lang.String value)
PointOfService.businessCategory attribute.value - the businessCategory - Specifies the overarching business categorypublic void setBusinessCategory(java.lang.String value)
PointOfService.businessCategory attribute.value - the businessCategory - Specifies the overarching business categoryprotected Item createItem(SessionContext ctx, ComposedType type, Item.ItemAttributeMap allAttributes) throws JaloBusinessException
ItemComposedType.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; }
createItem in class GenericItemctx - the current session context which this item is created withintype - 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 )JaloBusinessException - indicates an error during creation - any changes will be rollbackedpublic java.lang.String getDescription(SessionContext ctx)
PointOfService.description attribute.public java.lang.String getDescription()
PointOfService.description attribute.public void setDescription(SessionContext ctx, java.lang.String value)
PointOfService.description attribute.value - the descriptionpublic void setDescription(java.lang.String value)
PointOfService.description attribute.value - the descriptionpublic java.util.Date getGeocodeTimestamp(SessionContext ctx)
PointOfService.geocodeTimestamp attribute.public java.util.Date getGeocodeTimestamp()
PointOfService.geocodeTimestamp attribute.public void setGeocodeTimestamp(SessionContext ctx, java.util.Date value)
PointOfService.geocodeTimestamp attribute.value - the geocodeTimestamppublic void setGeocodeTimestamp(java.util.Date value)
PointOfService.geocodeTimestamp attribute.value - the geocodeTimestamppublic java.lang.Double getLatitude(SessionContext ctx)
PointOfService.latitude attribute.public java.lang.Double getLatitude()
PointOfService.latitude attribute.public double getLatitudeAsPrimitive(SessionContext ctx)
PointOfService.latitude attribute.public double getLatitudeAsPrimitive()
PointOfService.latitude attribute.public void setLatitude(SessionContext ctx, java.lang.Double value)
PointOfService.latitude attribute.value - the latitudepublic void setLatitude(java.lang.Double value)
PointOfService.latitude attribute.value - the latitudepublic void setLatitude(SessionContext ctx, double value)
PointOfService.latitude attribute.value - the latitudepublic void setLatitude(double value)
PointOfService.latitude attribute.value - the latitudepublic java.lang.Double getLongitude(SessionContext ctx)
PointOfService.longitude attribute.public java.lang.Double getLongitude()
PointOfService.longitude attribute.public double getLongitudeAsPrimitive(SessionContext ctx)
PointOfService.longitude attribute.public double getLongitudeAsPrimitive()
PointOfService.longitude attribute.public void setLongitude(SessionContext ctx, java.lang.Double value)
PointOfService.longitude attribute.value - the longitudepublic void setLongitude(java.lang.Double value)
PointOfService.longitude attribute.value - the longitudepublic void setLongitude(SessionContext ctx, double value)
PointOfService.longitude attribute.value - the longitudepublic void setLongitude(double value)
PointOfService.longitude attribute.value - the longitudepublic Media getMapIcon(SessionContext ctx)
PointOfService.mapIcon attribute.public Media getMapIcon()
PointOfService.mapIcon attribute.public void setMapIcon(SessionContext ctx, Media value)
PointOfService.mapIcon attribute.value - the mapIconpublic void setMapIcon(Media value)
PointOfService.mapIcon attribute.value - the mapIconpublic java.lang.String getName(SessionContext ctx)
PointOfService.name attribute.public java.lang.String getName()
PointOfService.name attribute.protected void setName(SessionContext ctx, java.lang.String value)
PointOfService.name attribute.value - the nameprotected void setName(java.lang.String value)
PointOfService.name attribute.value - the namepublic OpeningSchedule getOpeningSchedule(SessionContext ctx)
PointOfService.openingSchedule attribute.public OpeningSchedule getOpeningSchedule()
PointOfService.openingSchedule attribute.public void setOpeningSchedule(SessionContext ctx, OpeningSchedule value)
PointOfService.openingSchedule attribute.value - the openingSchedule - It is property representing a schedule of opening hours of this point of service.public void setOpeningSchedule(OpeningSchedule value)
PointOfService.openingSchedule attribute.value - the openingSchedule - It is property representing a schedule of opening hours of this point of service.public java.lang.String getStoreContent(SessionContext ctx)
PointOfService.storeContent attribute.public java.lang.String getStoreContent()
PointOfService.storeContent attribute.public java.util.Map<Language,java.lang.String> getAllStoreContent(SessionContext ctx)
PointOfService.storeContent attribute.public java.util.Map<Language,java.lang.String> getAllStoreContent()
PointOfService.storeContent attribute.public void setStoreContent(SessionContext ctx, java.lang.String value)
PointOfService.storeContent attribute.value - the storeContent - It is a localized attribute that contains informational store content text.public void setStoreContent(java.lang.String value)
PointOfService.storeContent attribute.value - the storeContent - It is a localized attribute that contains informational store content text.public void setAllStoreContent(SessionContext ctx, java.util.Map<Language,java.lang.String> value)
PointOfService.storeContent attribute.value - the storeContent - It is a localized attribute that contains informational store content text.public void setAllStoreContent(java.util.Map<Language,java.lang.String> value)
PointOfService.storeContent attribute.value - the storeContent - It is a localized attribute that contains informational store content text.public MediaContainer getStoreImage(SessionContext ctx)
PointOfService.storeImage attribute.public MediaContainer getStoreImage()
PointOfService.storeImage attribute.public void setStoreImage(SessionContext ctx, MediaContainer value)
PointOfService.storeImage attribute.value - the storeImage - It is a media container with additional images of the store.public void setStoreImage(MediaContainer value)
PointOfService.storeImage attribute.value - the storeImage - It is a media container with additional images of the store.public EnumerationValue getType(SessionContext ctx)
PointOfService.type attribute.public EnumerationValue getType()
PointOfService.type attribute.public void setType(SessionContext ctx, EnumerationValue value)
PointOfService.type attribute.value - the typepublic void setType(EnumerationValue value)
PointOfService.type attribute.value - the typeCopyright © 2018 SAP SE. All Rights Reserved.