com.sap.mdm.schema.fields
Class MeasurementFieldProperties

java.lang.Object
  extended bycom.sap.mdm.schema.FieldProperties
      extended bycom.sap.mdm.schema.fields.MeasurementFieldProperties
All Implemented Interfaces:
Cloneable, NamedRepositoryItem, RepositoryItem

public class MeasurementFieldProperties
extends FieldProperties

MeasurementFieldProperties specifies a real field with an associated unit of measure.


Field Summary
 
Fields inherited from class com.sap.mdm.schema.FieldProperties
AUTOID_FIELD, BOOLEAN_FIELD, CODE_FIELD, COPY_BLOCK_FIELD, CRC_FIELD, CREATESTAMP_FIELD, CROP_TYPE_FIELD, CURRENCY_FIELD, DATAGROUP_FIELD, DATAID_FIELD, DATE_FIELD, EXPRESSION_FIELD, EXTERNAL_OBJECT_FIELD, EXTERNAL_SOURCE_FIELD, FIXED_WIDTH_TEXT_FIELD, FLAT_LOOKUP_FIELD, FLAT_MULTIVALUE_LOOKUP_FIELD, GM_TIME_FIELD, HIER_LOOKUP_FIELD, HIER_MULTIVALUE_LOOKUP_FIELD, HTML_OBJECT_FIELD, IMAGE_FIELD, INTEGER_FIELD, INTERNAL_TREE_FIELD, KEYWORD_FIELD, LARGE_TEXT_FIELD, LAYOUT_HEIGHT_FIELD, LOG_FIELD, MAIN_LOOKUP_FIELD, MASK_FIELD, MEASUREMENT_FIELD, MULTIVALUE_COPY_BLOCK_FIELD, MULTIVALUE_EXTERNAL_OBJECT_FIELD, MULTIVALUE_HTML_OBJECT_FIELD, MULTIVALUE_IMAGE_FIELD, MULTIVALUE_MAIN_LOOKUP_FIELD, MULTIVALUE_MEASUREMENT_FIELD, MULTIVALUE_PDF_OBJECT_FIELD, MULTIVALUE_SOUND_FIELD, MULTIVALUE_TEXT_FIELD, MULTIVALUE_TUPLE_FIELD, MULTIVALUE_VIDEO_FIELD, NAME_FIELD, NORMALIZED_TEXT_FIELD, ORIGINAL_LOCATION_FIELD, PDF_OBJECT_FIELD, QUALIFIED_FLAT_LOOKUP_FIELD, QUALIFIED_HIER_LOOKUP_FIELD, QUALIFIED_TAXONOMY_LOOKUP_FIELD, RC_FIELD, REAL4_FIELD, ROTATION_TYPE_FIELD, SOUND_FIELD, TABLE_ID_FIELD, TAXONOMY_LOOKUP_FIELD, TEXT_FIELD, TIME_FIELD, TIMESTAMP_FIELD, TUPLE_FIELD, USERSTAMP_FIELD, VIDEO_FIELD, WORKFLOW_FIELD
 
Constructor Summary
MeasurementFieldProperties()
           
 
Method Summary
 boolean equals(Object obj)
           
 int getDecimalPlaces()
          Returns the decimal places.
 UnitId getDefaultUnitId()
           
 DimensionId getDimensionId()
           
 int hashCode()
           
 boolean isMultiValued()
          Returns whether the field is a multi-valued field.
 boolean isShowFractions()
          Returns the "show fractions".
 void setDecimalPlaces(int decimalPlaces)
          Sets the decimal places for the measurement field.
 void setDefaultUnitId(UnitId defaultUnitId)
           
 void setDimensionId(DimensionId dimensionId)
           
 void setMultiValued(boolean multiValued)
           
 void setShowFractions(boolean showFractions)
          Sets the "show fractions" for the measurement field.
 
Methods inherited from class com.sap.mdm.schema.FieldProperties
clone, getCalculationId, getCode, getContainerId, getDescription, getId, getName, getPosition, getSortIndex, getTableId, getType, getTypeName, isCalculated, isEditable, isFreeFormSearchable, isHierarchyLookup, isKeywordIndexable, isLargeObjectLookup, isLookup, isModifyOnce, isMultiLingual, isPicklistSearchable, isQualified, isQualifier, isQualifierCached, isRequired, isSearchable, isShowInSearchTab, isSortable, isTaxonomyLookup, isTuple, setCalculated, setCalculationId, setCode, setContainerId, setDescription, setId, setModifyOnce, setMultiLingual, setName, setPosition, setQualifier, setQualifierCached, setRequired, setShowInSearchTab, setSortIndex, setTableId, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MeasurementFieldProperties

public MeasurementFieldProperties()
Method Detail

isMultiValued

public boolean isMultiValued()
Description copied from class: FieldProperties
Returns whether the field is a multi-valued field.

Overrides:
isMultiValued in class FieldProperties
Returns:
Returns the multiValued.

setMultiValued

public void setMultiValued(boolean multiValued)
Parameters:
multiValued - The multiValued to set.

getDecimalPlaces

public int getDecimalPlaces()
Returns the decimal places.

Returns:
decimal places

setDecimalPlaces

public void setDecimalPlaces(int decimalPlaces)
Sets the decimal places for the measurement field.

Parameters:
decimalPlaces - a decimal places

getDefaultUnitId

public UnitId getDefaultUnitId()
Returns:
Returns the defaultUnitId.

setDefaultUnitId

public void setDefaultUnitId(UnitId defaultUnitId)
Parameters:
defaultUnitId - The defaultUnitId to set.

getDimensionId

public DimensionId getDimensionId()
Returns:
Returns the dimensionId.

setDimensionId

public void setDimensionId(DimensionId dimensionId)
Parameters:
dimensionId - The dimensionId to set.

isShowFractions

public boolean isShowFractions()
Returns the "show fractions".

Returns:
show fractions

setShowFractions

public void setShowFractions(boolean showFractions)
Sets the "show fractions" for the measurement field.

Parameters:
showFractions - a show fractions

hashCode

public int hashCode()
Overrides:
hashCode in class FieldProperties

equals

public boolean equals(Object obj)
Overrides:
equals in class FieldProperties


Copyright 2004-2007 by SAP AG. All Rights Reserved.

SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary.

These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies (SAP Group) for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.