public class ClassificationAttributeUnitModel extends ItemModel
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static String |
_TYPECODE
Generated model type code constant.
|
static String |
CODE
Generated constant - Attribute key of
ClassificationAttributeUnit.code attribute defined at extension catalog. |
static String |
CONVERSIONFACTOR
Generated constant - Attribute key of
ClassificationAttributeUnit.conversionFactor attribute defined at extension catalog. |
static String |
CONVERTIBLEUNITS
Generated constant - Attribute key of
ClassificationAttributeUnit.convertibleUnits attribute defined at extension catalog. |
static String |
EXTERNALID
Generated constant - Attribute key of
ClassificationAttributeUnit.externalID attribute defined at extension catalog. |
static String |
NAME
Generated constant - Attribute key of
ClassificationAttributeUnit.name attribute defined at extension catalog. |
static String |
SAPCODE
Generated constant - Attribute key of
ClassificationAttributeUnit.sapCode attribute defined at extension sapmodel. |
static String |
SYMBOL
Generated constant - Attribute key of
ClassificationAttributeUnit.symbol attribute defined at extension catalog. |
static String |
SYSTEMVERSION
Generated constant - Attribute key of
ClassificationAttributeUnit.systemVersion attribute defined at extension catalog. |
static String |
UNITTYPE
Generated constant - Attribute key of
ClassificationAttributeUnit.unitType attribute defined at extension catalog. |
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PKLANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY| Constructor and Description |
|---|
ClassificationAttributeUnitModel()
Generated constructor - Default constructor for generic creation.
|
ClassificationAttributeUnitModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
|
ClassificationAttributeUnitModel(String _code,
ItemModel _owner,
String _symbol,
ClassificationSystemVersionModel _systemVersion)
Deprecated.
Since 4.1.1 Please use the default constructor without parameters
|
ClassificationAttributeUnitModel(String _code,
String _symbol,
ClassificationSystemVersionModel _systemVersion)
Deprecated.
Since 4.1.1 Please use the default constructor without parameters
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCode()
Generated method - Getter of the
ClassificationAttributeUnit.code attribute defined at extension catalog. |
Double |
getConversionFactor()
Generated method - Getter of the
ClassificationAttributeUnit.conversionFactor attribute defined at extension catalog. |
Set<ClassificationAttributeUnitModel> |
getConvertibleUnits()
Generated method - Getter of the
ClassificationAttributeUnit.convertibleUnits attribute defined at extension catalog. |
String |
getExternalID()
Generated method - Getter of the
ClassificationAttributeUnit.externalID attribute defined at extension catalog. |
String |
getName()
Generated method - Getter of the
ClassificationAttributeUnit.name attribute defined at extension catalog. |
String |
getName(Locale loc)
Generated method - Getter of the
ClassificationAttributeUnit.name attribute defined at extension catalog. |
String |
getSapCode()
Generated method - Getter of the
ClassificationAttributeUnit.sapCode attribute defined at extension sapmodel. |
String |
getSymbol()
Generated method - Getter of the
ClassificationAttributeUnit.symbol attribute defined at extension catalog. |
ClassificationSystemVersionModel |
getSystemVersion()
Generated method - Getter of the
ClassificationAttributeUnit.systemVersion attribute defined at extension catalog. |
String |
getUnitType()
Generated method - Getter of the
ClassificationAttributeUnit.unitType attribute defined at extension catalog. |
void |
setCode(String value)
Generated method - Setter of
ClassificationAttributeUnit.code attribute defined at extension catalog. |
void |
setConversionFactor(Double value)
Generated method - Setter of
ClassificationAttributeUnit.conversionFactor attribute defined at extension catalog. |
void |
setExternalID(String value)
Generated method - Setter of
ClassificationAttributeUnit.externalID attribute defined at extension catalog. |
void |
setName(String value)
Generated method - Setter of
ClassificationAttributeUnit.name attribute defined at extension catalog. |
void |
setName(String value,
Locale loc)
Generated method - Setter of
ClassificationAttributeUnit.name attribute defined at extension catalog. |
void |
setSapCode(String value)
Generated method - Setter of
ClassificationAttributeUnit.sapCode attribute defined at extension sapmodel. |
void |
setSymbol(String value)
Generated method - Setter of
ClassificationAttributeUnit.symbol attribute defined at extension catalog. |
void |
setSystemVersion(ClassificationSystemVersionModel value)
Generated method - Initial setter of
ClassificationAttributeUnit.systemVersion attribute defined at extension catalog. |
void |
setUnitType(String value)
Generated method - Setter of
ClassificationAttributeUnit.unitType attribute defined at extension catalog. |
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 SYSTEMVERSION
ClassificationAttributeUnit.systemVersion attribute defined at extension catalog.public static final String CODE
ClassificationAttributeUnit.code attribute defined at extension catalog.public static final String NAME
ClassificationAttributeUnit.name attribute defined at extension catalog.public static final String EXTERNALID
ClassificationAttributeUnit.externalID attribute defined at extension catalog.public static final String SYMBOL
ClassificationAttributeUnit.symbol attribute defined at extension catalog.public static final String UNITTYPE
ClassificationAttributeUnit.unitType attribute defined at extension catalog.public static final String CONVERSIONFACTOR
ClassificationAttributeUnit.conversionFactor attribute defined at extension catalog.public static final String CONVERTIBLEUNITS
ClassificationAttributeUnit.convertibleUnits attribute defined at extension catalog.public static final String SAPCODE
ClassificationAttributeUnit.sapCode attribute defined at extension sapmodel.public ClassificationAttributeUnitModel()
public ClassificationAttributeUnitModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated public ClassificationAttributeUnitModel(String _code, String _symbol, ClassificationSystemVersionModel _systemVersion)
_code - initial attribute declared by type ClassificationAttributeUnit at extension catalog_symbol - initial attribute declared by type ClassificationAttributeUnit at extension catalog_systemVersion - initial attribute declared by type ClassificationAttributeUnit at extension catalog@Deprecated public ClassificationAttributeUnitModel(String _code, ItemModel _owner, String _symbol, ClassificationSystemVersionModel _systemVersion)
_code - initial attribute declared by type ClassificationAttributeUnit at extension catalog_owner - initial attribute declared by type Item at extension core_symbol - initial attribute declared by type ClassificationAttributeUnit at extension catalog_systemVersion - initial attribute declared by type ClassificationAttributeUnit at extension catalog@Accessor(qualifier="code", type=GETTER) public String getCode()
ClassificationAttributeUnit.code attribute defined at extension catalog.@Accessor(qualifier="conversionFactor", type=GETTER) public Double getConversionFactor()
ClassificationAttributeUnit.conversionFactor attribute defined at extension catalog.@Accessor(qualifier="convertibleUnits", type=GETTER) public Set<ClassificationAttributeUnitModel> getConvertibleUnits()
ClassificationAttributeUnit.convertibleUnits attribute defined at extension catalog.
Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.@Accessor(qualifier="externalID", type=GETTER) public String getExternalID()
ClassificationAttributeUnit.externalID attribute defined at extension catalog.@Accessor(qualifier="name", type=GETTER) public String getName()
ClassificationAttributeUnit.name attribute defined at extension catalog.@Accessor(qualifier="name", type=GETTER) public String getName(Locale loc)
ClassificationAttributeUnit.name attribute defined at extension catalog.loc - the value localization keyIllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="sapCode", type=GETTER) public String getSapCode()
ClassificationAttributeUnit.sapCode attribute defined at extension sapmodel.@Accessor(qualifier="symbol", type=GETTER) public String getSymbol()
ClassificationAttributeUnit.symbol attribute defined at extension catalog.@Accessor(qualifier="systemVersion", type=GETTER) public ClassificationSystemVersionModel getSystemVersion()
ClassificationAttributeUnit.systemVersion attribute defined at extension catalog.@Accessor(qualifier="unitType", type=GETTER) public String getUnitType()
ClassificationAttributeUnit.unitType attribute defined at extension catalog.@Accessor(qualifier="code", type=SETTER) public void setCode(String value)
ClassificationAttributeUnit.code attribute defined at extension catalog.value - the code - external identifier refering to the actual classification system definition@Accessor(qualifier="conversionFactor", type=SETTER) public void setConversionFactor(Double value)
ClassificationAttributeUnit.conversionFactor attribute defined at extension catalog.value - the conversionFactor - Conversion factor@Accessor(qualifier="externalID", type=SETTER) public void setExternalID(String value)
ClassificationAttributeUnit.externalID attribute defined at extension catalog.value - the externalID - external identifier refering to the actual classification system definition@Accessor(qualifier="name", type=SETTER) public void setName(String value)
ClassificationAttributeUnit.name attribute defined at extension catalog.value - the name - optional localized name of this class@Accessor(qualifier="name", type=SETTER) public void setName(String value, Locale loc)
ClassificationAttributeUnit.name attribute defined at extension catalog.value - the name - optional localized name of this classloc - the value localization keyIllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="sapCode", type=SETTER) public void setSapCode(String value)
ClassificationAttributeUnit.sapCode attribute defined at extension sapmodel.value - the sapCode - SAP Code (ERP Table T006 field MSEHI)@Accessor(qualifier="symbol", type=SETTER) public void setSymbol(String value)
ClassificationAttributeUnit.symbol attribute defined at extension catalog.value - the symbol - Symbol@Accessor(qualifier="systemVersion", type=SETTER) public void setSystemVersion(ClassificationSystemVersionModel value)
ClassificationAttributeUnit.systemVersion attribute defined at extension catalog. Can only be used at creation of model - before first save.value - the systemVersionCopyright © 2017 SAP SE. All Rights Reserved.