public class AbstractLocationItemModel extends ItemModel
Generic location item to be used for being extended into City and District item types.
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static String |
_TYPECODE
Generated model type code constant.
|
static String |
ACTIVE
Generated constant - Attribute key of
AbstractLocationItem.active attribute defined at extension chinaacceleratorservices. |
static String |
CODE
Generated constant - Attribute key of
AbstractLocationItem.code attribute defined at extension chinaacceleratorservices. |
static String |
LATITUDE
Generated constant - Attribute key of
AbstractLocationItem.latitude attribute defined at extension chinaacceleratorservices. |
static String |
LONGITUDE
Generated constant - Attribute key of
AbstractLocationItem.longitude attribute defined at extension chinaacceleratorservices. |
static String |
NAME
Generated constant - Attribute key of
AbstractLocationItem.name attribute defined at extension chinaacceleratorservices. |
static String |
SORTORDER
Generated constant - Attribute key of
AbstractLocationItem.sortOrder attribute defined at extension chinaacceleratorservices. |
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PKLANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY| Constructor and Description |
|---|
AbstractLocationItemModel()
Generated constructor - Default constructor for generic creation.
|
AbstractLocationItemModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
|
AbstractLocationItemModel(String _code)
Deprecated.
Since 4.1.1 Please use the default constructor without parameters
|
AbstractLocationItemModel(String _code,
ItemModel _owner)
Deprecated.
Since 4.1.1 Please use the default constructor without parameters
|
| Modifier and Type | Method and Description |
|---|---|
Boolean |
getActive()
Generated method - Getter of the
AbstractLocationItem.active attribute defined at extension chinaacceleratorservices. |
String |
getCode()
Generated method - Getter of the
AbstractLocationItem.code attribute defined at extension chinaacceleratorservices. |
Double |
getLatitude()
Generated method - Getter of the
AbstractLocationItem.latitude attribute defined at extension chinaacceleratorservices. |
Double |
getLongitude()
Generated method - Getter of the
AbstractLocationItem.longitude attribute defined at extension chinaacceleratorservices. |
String |
getName()
Generated method - Getter of the
AbstractLocationItem.name attribute defined at extension chinaacceleratorservices. |
String |
getName(Locale loc)
Generated method - Getter of the
AbstractLocationItem.name attribute defined at extension chinaacceleratorservices. |
Integer |
getSortOrder()
Generated method - Getter of the
AbstractLocationItem.sortOrder attribute defined at extension chinaacceleratorservices. |
void |
setActive(Boolean value)
Generated method - Setter of
AbstractLocationItem.active attribute defined at extension chinaacceleratorservices. |
void |
setCode(String value)
Generated method - Setter of
AbstractLocationItem.code attribute defined at extension chinaacceleratorservices. |
void |
setLatitude(Double value)
Generated method - Setter of
AbstractLocationItem.latitude attribute defined at extension chinaacceleratorservices. |
void |
setLongitude(Double value)
Generated method - Setter of
AbstractLocationItem.longitude attribute defined at extension chinaacceleratorservices. |
void |
setName(String value)
Generated method - Setter of
AbstractLocationItem.name attribute defined at extension chinaacceleratorservices. |
void |
setName(String value,
Locale loc)
Generated method - Setter of
AbstractLocationItem.name attribute defined at extension chinaacceleratorservices. |
void |
setSortOrder(Integer value)
Generated method - Setter of
AbstractLocationItem.sortOrder attribute defined at extension chinaacceleratorservices. |
getComments, getCreationtime, getModifiedtime, getOwner, setComments, setCreationtime, setModifiedtime, setOwnerequals, getItemModelContext, getItemtype, getPersistenceContext, getPk, getProperty, getProperty, getTenantId, hashCode, readResolve, setProperty, setProperty, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toString, writeReplacepublic static final String _TYPECODE
public static final String CODE
AbstractLocationItem.code attribute defined at extension chinaacceleratorservices.public static final String NAME
AbstractLocationItem.name attribute defined at extension chinaacceleratorservices.public static final String SORTORDER
AbstractLocationItem.sortOrder attribute defined at extension chinaacceleratorservices.public static final String LATITUDE
AbstractLocationItem.latitude attribute defined at extension chinaacceleratorservices.public static final String LONGITUDE
AbstractLocationItem.longitude attribute defined at extension chinaacceleratorservices.public static final String ACTIVE
AbstractLocationItem.active attribute defined at extension chinaacceleratorservices.public AbstractLocationItemModel()
public AbstractLocationItemModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated public AbstractLocationItemModel(String _code)
_code - initial attribute declared by type AbstractLocationItem at extension chinaacceleratorservices@Deprecated public AbstractLocationItemModel(String _code, ItemModel _owner)
_code - initial attribute declared by type AbstractLocationItem at extension chinaacceleratorservices_owner - initial attribute declared by type Item at extension core@Accessor(qualifier="active", type=GETTER) public Boolean getActive()
AbstractLocationItem.active attribute defined at extension chinaacceleratorservices.@Accessor(qualifier="code", type=GETTER) public String getCode()
AbstractLocationItem.code attribute defined at extension chinaacceleratorservices.@Accessor(qualifier="latitude", type=GETTER) public Double getLatitude()
AbstractLocationItem.latitude attribute defined at extension chinaacceleratorservices.@Accessor(qualifier="longitude", type=GETTER) public Double getLongitude()
AbstractLocationItem.longitude attribute defined at extension chinaacceleratorservices.@Accessor(qualifier="name", type=GETTER) public String getName()
AbstractLocationItem.name attribute defined at extension chinaacceleratorservices.@Accessor(qualifier="name", type=GETTER) public String getName(Locale loc)
AbstractLocationItem.name attribute defined at extension chinaacceleratorservices.loc - the value localization keyIllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="sortOrder", type=GETTER) public Integer getSortOrder()
AbstractLocationItem.sortOrder attribute defined at extension chinaacceleratorservices.@Accessor(qualifier="active", type=SETTER) public void setActive(Boolean value)
AbstractLocationItem.active attribute defined at extension chinaacceleratorservices.value - the active - Flags if the location item is active or not. Usable as condition.@Accessor(qualifier="code", type=SETTER) public void setCode(String value)
AbstractLocationItem.code attribute defined at extension chinaacceleratorservices.value - the code - Unique identifier.@Accessor(qualifier="latitude", type=SETTER) public void setLatitude(Double value)
AbstractLocationItem.latitude attribute defined at extension chinaacceleratorservices.value - the latitude - Latitude of the location item.@Accessor(qualifier="longitude", type=SETTER) public void setLongitude(Double value)
AbstractLocationItem.longitude attribute defined at extension chinaacceleratorservices.value - the longitude - Longitude of the location item.@Accessor(qualifier="name", type=SETTER) public void setName(String value)
AbstractLocationItem.name attribute defined at extension chinaacceleratorservices.value - the name - Name of the location.@Accessor(qualifier="name", type=SETTER) public void setName(String value, Locale loc)
AbstractLocationItem.name attribute defined at extension chinaacceleratorservices.value - the name - Name of the location.loc - the value localization keyIllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="sortOrder", type=SETTER) public void setSortOrder(Integer value)
AbstractLocationItem.sortOrder attribute defined at extension chinaacceleratorservices.value - the sortOrder - SortOrder allows for defining an ordering. For example used on StoreLocator page
displaying cities in specific order.Copyright © 2000-2016 SAP SE. All Rights Reserved.