public abstract class GeneratedUnit extends GenericItem
Unit.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 |
CODE
Qualifier of the
Unit.code attribute |
static String |
CONVERSION
Qualifier of the
Unit.conversion attribute |
protected static Map<String,Item.AttributeMode> |
DEFAULT_INITIAL_ATTRIBUTES |
static String |
NAME
Qualifier of the
Unit.name attribute |
static String |
UNITTYPE
Qualifier of the
Unit.unitType 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, staticTransientObjects, TYPEimpl, tenant| Constructor and Description |
|---|
GeneratedUnit() |
| Modifier and Type | Method and Description |
|---|---|
Map<Language,String> |
getAllName()
Generated method - Getter of the
Unit.name attribute. |
Map<Language,String> |
getAllName(SessionContext ctx)
Generated method - Getter of the
Unit.name attribute. |
String |
getCode()
Generated method - Getter of the
Unit.code attribute. |
String |
getCode(SessionContext ctx)
Generated method - Getter of the
Unit.code attribute. |
Double |
getConversion()
Generated method - Getter of the
Unit.conversion attribute. |
Double |
getConversion(SessionContext ctx)
Generated method - Getter of the
Unit.conversion attribute. |
double |
getConversionAsPrimitive()
Generated method - Getter of the
Unit.conversion attribute. |
double |
getConversionAsPrimitive(SessionContext ctx)
Generated method - Getter of the
Unit.conversion attribute. |
protected Map<String,Item.AttributeMode> |
getDefaultAttributeModes() |
String |
getName()
Generated method - Getter of the
Unit.name attribute. |
String |
getName(SessionContext ctx)
Generated method - Getter of the
Unit.name attribute. |
String |
getUnitType()
Generated method - Getter of the
Unit.unitType attribute. |
String |
getUnitType(SessionContext ctx)
Generated method - Getter of the
Unit.unitType attribute. |
void |
setAllName(Map<Language,String> value)
Generated method - Setter of the
Unit.name attribute. |
void |
setAllName(SessionContext ctx,
Map<Language,String> value)
Generated method - Setter of the
Unit.name attribute. |
void |
setCode(SessionContext ctx,
String value)
Generated method - Setter of the
Unit.code attribute. |
void |
setCode(String value)
Generated method - Setter of the
Unit.code attribute. |
void |
setConversion(double value)
Generated method - Setter of the
Unit.conversion attribute. |
void |
setConversion(Double value)
Generated method - Setter of the
Unit.conversion attribute. |
void |
setConversion(SessionContext ctx,
double value)
Generated method - Setter of the
Unit.conversion attribute. |
void |
setConversion(SessionContext ctx,
Double value)
Generated method - Setter of the
Unit.conversion attribute. |
void |
setName(SessionContext ctx,
String value)
Generated method - Setter of the
Unit.name attribute. |
void |
setName(String value)
Generated method - Setter of the
Unit.name attribute. |
void |
setUnitType(SessionContext ctx,
String value)
Generated method - Setter of the
Unit.unitType attribute. |
void |
setUnitType(String value)
Generated method - Setter of the
Unit.unitType attribute. |
createItem, 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 CODE
Unit.code attributepublic static final String CONVERSION
Unit.conversion attributepublic static final String NAME
Unit.name attributepublic static final String UNITTYPE
Unit.unitType attributeprotected static final Map<String,Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
protected Map<String,Item.AttributeMode> getDefaultAttributeModes()
getDefaultAttributeModes in class Itempublic String getCode(SessionContext ctx)
Unit.code attribute.public String getCode()
Unit.code attribute.public void setCode(SessionContext ctx, String value)
Unit.code attribute.value - the codepublic void setCode(String value)
Unit.code attribute.value - the codepublic Double getConversion(SessionContext ctx)
Unit.conversion attribute.public Double getConversion()
Unit.conversion attribute.public double getConversionAsPrimitive(SessionContext ctx)
Unit.conversion attribute.public double getConversionAsPrimitive()
Unit.conversion attribute.public void setConversion(SessionContext ctx, Double value)
Unit.conversion attribute.value - the conversionpublic void setConversion(Double value)
Unit.conversion attribute.value - the conversionpublic void setConversion(SessionContext ctx, double value)
Unit.conversion attribute.value - the conversionpublic void setConversion(double value)
Unit.conversion attribute.value - the conversionpublic String getName(SessionContext ctx)
Unit.name attribute.public String getName()
Unit.name attribute.public Map<Language,String> getAllName(SessionContext ctx)
Unit.name attribute.public Map<Language,String> getAllName()
Unit.name attribute.public void setName(SessionContext ctx, String value)
Unit.name attribute.value - the namepublic void setName(String value)
Unit.name attribute.value - the namepublic void setAllName(SessionContext ctx, Map<Language,String> value)
Unit.name attribute.value - the namepublic void setAllName(Map<Language,String> value)
Unit.name attribute.value - the namepublic String getUnitType(SessionContext ctx)
Unit.unitType attribute.public String getUnitType()
Unit.unitType attribute.public void setUnitType(SessionContext ctx, String value)
Unit.unitType attribute.value - the unitTypepublic void setUnitType(String value)
Unit.unitType attribute.value - the unitTypeCopyright © 2017 SAP SE. All Rights Reserved.