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 String |
ADDRESS
Qualifier of the
PointOfService.address attribute |
static 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. |
protected static Map<String,Item.AttributeMode> |
DEFAULT_INITIAL_ATTRIBUTES |
static String |
DESCRIPTION
Qualifier of the
PointOfService.description attribute |
static String |
GEOCODETIMESTAMP
Qualifier of the
PointOfService.geocodeTimestamp attribute |
static String |
LATITUDE
Qualifier of the
PointOfService.latitude attribute |
static String |
LONGITUDE
Qualifier of the
PointOfService.longitude attribute |
static String |
MAPICON
Qualifier of the
PointOfService.mapIcon attribute |
static String |
NAME
Qualifier of the
PointOfService.name attribute |
static String |
OPENINGSCHEDULE
Qualifier of the
PointOfService.openingSchedule attribute |
static String |
STORECONTENT
Qualifier of the
PointOfService.storeContent attribute |
static String |
STOREIMAGE
Qualifier of the
PointOfService.storeImage attribute |
static 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. |
Map<Language,String> |
getAllStoreContent()
Generated method - Getter of the
PointOfService.storeContent attribute. |
Map<Language,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. |
protected Map<String,Item.AttributeMode> |
getDefaultAttributeModes() |
String |
getDescription()
Generated method - Getter of the
PointOfService.description attribute. |
String |
getDescription(SessionContext ctx)
Generated method - Getter of the
PointOfService.description attribute. |
Date |
getGeocodeTimestamp()
Generated method - Getter of the
PointOfService.geocodeTimestamp attribute. |
Date |
getGeocodeTimestamp(SessionContext ctx)
Generated method - Getter of the
PointOfService.geocodeTimestamp attribute. |
Double |
getLatitude()
Generated method - Getter of the
PointOfService.latitude attribute. |
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. |
Double |
getLongitude()
Generated method - Getter of the
PointOfService.longitude attribute. |
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. |
String |
getName()
Generated method - Getter of the
PointOfService.name attribute. |
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. |
String |
getStoreContent()
Generated method - Getter of the
PointOfService.storeContent attribute. |
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(Map<Language,String> value)
Generated method - Setter of the
PointOfService.storeContent attribute. |
void |
setAllStoreContent(SessionContext ctx,
Map<Language,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 |
setDescription(SessionContext ctx,
String value)
Generated method - Setter of the
PointOfService.description attribute. |
void |
setDescription(String value)
Generated method - Setter of the
PointOfService.description attribute. |
void |
setGeocodeTimestamp(Date value)
Generated method - Setter of the
PointOfService.geocodeTimestamp attribute. |
void |
setGeocodeTimestamp(SessionContext ctx,
Date value)
Generated method - Setter of the
PointOfService.geocodeTimestamp attribute. |
void |
setLatitude(double value)
Generated method - Setter of the
PointOfService.latitude attribute. |
void |
setLatitude(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,
Double value)
Generated method - Setter of the
PointOfService.latitude attribute. |
void |
setLongitude(double value)
Generated method - Setter of the
PointOfService.longitude attribute. |
void |
setLongitude(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,
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,
String value)
Generated method - Setter of the
PointOfService.name attribute. |
protected void |
setName(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,
String value)
Generated method - Setter of the
PointOfService.storeContent attribute. |
void |
setStoreContent(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, 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, isRelationLocalizationFallbackEnabled, newInstance, notifyExtensionsAfterItemCreation, notifyExtensionsBeforeItemCreation, notifyItemRemoval, readResolve, refreshRemote, 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, writeReplacegetImplementation, setTenantpublic static final String NAME
PointOfService.name attributepublic static final String ADDRESS
PointOfService.address attributepublic static final String DESCRIPTION
PointOfService.description attributepublic static final String TYPE
PointOfService.type attributepublic static final String MAPICON
PointOfService.mapIcon attributepublic static final String LATITUDE
PointOfService.latitude attributepublic static final String LONGITUDE
PointOfService.longitude attributepublic static final String GEOCODETIMESTAMP
PointOfService.geocodeTimestamp attributepublic static final String OPENINGSCHEDULE
PointOfService.openingSchedule attributepublic static final String STORECONTENT
PointOfService.storeContent attributepublic static final String STOREIMAGE
PointOfService.storeImage attributepublic static final 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 Map<String,Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
protected Map<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 baseStoreprotected 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 String getDescription(SessionContext ctx)
PointOfService.description attribute.public String getDescription()
PointOfService.description attribute.public void setDescription(SessionContext ctx, String value)
PointOfService.description attribute.value - the descriptionpublic void setDescription(String value)
PointOfService.description attribute.value - the descriptionpublic Date getGeocodeTimestamp(SessionContext ctx)
PointOfService.geocodeTimestamp attribute.public Date getGeocodeTimestamp()
PointOfService.geocodeTimestamp attribute.public void setGeocodeTimestamp(SessionContext ctx, Date value)
PointOfService.geocodeTimestamp attribute.value - the geocodeTimestamppublic void setGeocodeTimestamp(Date value)
PointOfService.geocodeTimestamp attribute.value - the geocodeTimestamppublic Double getLatitude(SessionContext ctx)
PointOfService.latitude attribute.public Double getLatitude()
PointOfService.latitude attribute.public double getLatitudeAsPrimitive(SessionContext ctx)
PointOfService.latitude attribute.public double getLatitudeAsPrimitive()
PointOfService.latitude attribute.public void setLatitude(SessionContext ctx, Double value)
PointOfService.latitude attribute.value - the latitudepublic void setLatitude(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 Double getLongitude(SessionContext ctx)
PointOfService.longitude attribute.public Double getLongitude()
PointOfService.longitude attribute.public double getLongitudeAsPrimitive(SessionContext ctx)
PointOfService.longitude attribute.public double getLongitudeAsPrimitive()
PointOfService.longitude attribute.public void setLongitude(SessionContext ctx, Double value)
PointOfService.longitude attribute.value - the longitudepublic void setLongitude(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 String getName(SessionContext ctx)
PointOfService.name attribute.public String getName()
PointOfService.name attribute.protected void setName(SessionContext ctx, String value)
PointOfService.name attribute.value - the nameprotected void setName(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 String getStoreContent(SessionContext ctx)
PointOfService.storeContent attribute.public String getStoreContent()
PointOfService.storeContent attribute.public Map<Language,String> getAllStoreContent(SessionContext ctx)
PointOfService.storeContent attribute.public Map<Language,String> getAllStoreContent()
PointOfService.storeContent attribute.public void setStoreContent(SessionContext ctx, String value)
PointOfService.storeContent attribute.value - the storeContent - It is a localized attribute that contains informational store content text.public void setStoreContent(String value)
PointOfService.storeContent attribute.value - the storeContent - It is a localized attribute that contains informational store content text.public void setAllStoreContent(SessionContext ctx, Map<Language,String> value)
PointOfService.storeContent attribute.value - the storeContent - It is a localized attribute that contains informational store content text.public void setAllStoreContent(Map<Language,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 © 2017 SAP SE. All Rights Reserved.