com.sap.dictionary.runtime
Interface ISimpleTypeModifiable

All Superinterfaces:
java.lang.Cloneable, IDataType, ISimpleType

public interface ISimpleTypeModifiable
extends ISimpleType


Fields inherited from interface com.sap.dictionary.runtime.ISimpleType
TYPE_BINARY, TYPE_BOOLEAN, TYPE_DATE, TYPE_DECIMAL, TYPE_DOUBLE, TYPE_FLOAT, TYPE_INTEGER, TYPE_LONG, TYPE_SHORT, TYPE_STRING, TYPE_TIME, TYPE_TIMESTAMP
 
Method Summary
 void setColumnLabel(java.lang.String columnLabel)
          Sets the columnLabel.
 void setDefaultValue(java.lang.Object defaultValue)
          Sets the defaultValue.
 void setDescription(java.lang.String description)
          Sets the description.
 void setEnumeration(java.util.Set enumeration)
          Sets the enumeration.
 void setEnumerationTexts(java.util.Map enumerationTexts)
          Sets the enumerationTexts. enumerationTexts contains a description for each enumeration value.
 void setFieldLabel(java.lang.String fieldLabel)
          Sets the fieldLabel.
 void setFormat(java.lang.String format)
          Sets the format. format is the string the format- and parse- methods are based onto.
 void setFractionDigits(int fractionDigits)
          Sets fractionDigits. totalDigits is the maximum number of digits in the fractional part of values of type decimal.
 void setLength(int length)
          Sets the length.
 void setLocale(java.util.Locale locale)
           
 void setMaxExclusive(java.lang.Object maxExclusive)
          Sets maxExclusive. maxExclusive is the exclusive upper bound of the value space for a datatype which ca be ordered.
 void setMaxExternalLength(int maxExternalLength)
          Sets the maxExternalLength. maxExternalLength is the maximum length of values of this types on the screen.
 void setMaxInclusive(java.lang.Object maxInclusive)
          Sets maxInclusive. maxInclusive is the inclusive upper bound of the value space for a datatype which ca be ordered.
 void setMaxLength(int maxLength)
          Sets the maximal length. maxLength is the maximal number of units of length, where units of length varies depending on the type.
 void setMinExclusive(java.lang.Object minExclusive)
          Sets minExclusive. minExclusive is the exclusive lower bound of the value space for a datatype which ca be ordered.
 void setMinInclusive(java.lang.Object minInclusive)
          Sets minInclusive. minInclusive is the inclusive lower bound of the value space for a datatype which ca be ordered.
 void setMinLength(int minLength)
          Sets the minimal length. minLength is the minumum number of units of length, where units of length varies depending on the type.
 void setPattern(java.lang.String pattern)
          Gets pattern. pattern is a constraint on the value space of a datatype which is achieved by constraining the lexical space to literals which match a specific pattern.
 void setQuickInfo(java.lang.String quickInfo)
          Sets the quickInfo.
 void setReadOnly(boolean readOnly)
          Sets readOnly.
 void setSVServices(com.sap.typeservices.ISimpleValueServices svservices)
          Sets the valueservices.
 void setTextLocale(java.lang.String textLocale)
          Deprecated. the value for textLocale is not used
 void setTextServices(com.sap.typeservices.ITextServices textservices)
          Sets the textservices.
 void setTotalDigits(int totalDigits)
          Sets totalDigits. totalDigits is the maximum number of digits in values of type decimal.
 void setUppercase(boolean uppercase)
          Sets Uppercase.
 
Methods inherited from interface com.sap.dictionary.runtime.ISimpleType
checkValid, cloneType, cloneType, format, format, format, format, format, format, format, format, format, format, format, format, format, format, format, format, format, format, format, format, format, formatOfDefaultValue, getAttributeClass, getBuiltInType, getBuiltInTypeEnum, getColumnLabel, getDefaultValue, getDescription, getEnumeration, getEnumerationTexts, getFieldLabel, getFormat, getFormatTemplate, getFractionDigits, getLength, getMaxExclusive, getMaxExternalLength, getMaxInclusive, getMaxLength, getMinExclusive, getMinInclusive, getMinLength, getPattern, getProvider, getQuickInfo, getReadOnly, getSVServices, getTextLocale, getTextServices, getTotalDigits, getTranslateFlag, getUppercase, hasSVService, isNumeric, isValid, isValid, isValid, isValid, isValid, isValid, isValid, isValid, isValid, isValid, isValid, parse, parseBigInteger, parseBoolean, parseBooleanObject, parseByte, parseByteObject, parseDate, parseDecimal, parseDouble, parseDoubleObject, parseFloat, parseFloatObject, parseInt, parseInteger, parseLong, parseLongObject, parseShort, parseShortObject, parseString, parseTime, parseTimestamp, parseUtilDate, resolveLength, toString, valueOf
 
Methods inherited from interface com.sap.dictionary.runtime.IDataType
getAssociatedClass, getBackendConversionRule, getBackendName, getLocale, getLocalName, getName, getPrefix, getQualifiedName, isModifyAllowed, isSimpleType, isStructure
 

Method Detail

setLocale

public void setLocale(java.util.Locale locale)

setLength

public void setLength(int length)
Sets the length. Length is the number of units of length, where units of length varies depending on the type. The value of length must be a non negative Integer
Parameters:
length - - the length of this SimpleTypes builtIn

setMinLength

public void setMinLength(int minLength)
Sets the minimal length. minLength is the minumum number of units of length, where units of length varies depending on the type. The value of minLength must be a non negative Integer.
Parameters:
minLength - - the minimal length of this SimpleTypes builtIn

setMaxLength

public void setMaxLength(int maxLength)
Sets the maximal length. maxLength is the maximal number of units of length, where units of length varies depending on the type. The value of maxLength must be a non negative Integer.
Parameters:
maxLength - - the maximal length of this SimpleTypes builtIn

setMinInclusive

public void setMinInclusive(java.lang.Object minInclusive)
Sets minInclusive. minInclusive is the inclusive lower bound of the value space for a datatype which ca be ordered. The value of minInclusive must be in the value space of the base type.
Parameters:
minInclusive - - the value for minInclusive

setMaxInclusive

public void setMaxInclusive(java.lang.Object maxInclusive)
Sets maxInclusive. maxInclusive is the inclusive upper bound of the value space for a datatype which ca be ordered. The value of maxInclusive must be in the value space of the base type.
Parameters:
maxInclusive - - the value for maxInclusive

setMinExclusive

public void setMinExclusive(java.lang.Object minExclusive)
Sets minExclusive. minExclusive is the exclusive lower bound of the value space for a datatype which ca be ordered. The value of minExclusive must be in the value space of the base type.
Parameters:
minExclusive - - the value for minExclusive

setMaxExclusive

public void setMaxExclusive(java.lang.Object maxExclusive)
Sets maxExclusive. maxExclusive is the exclusive upper bound of the value space for a datatype which ca be ordered. The value of maxExclusive must be in the value space of the base type.
Parameters:
maxExclusive - - the value for maxExclusive

setTotalDigits

public void setTotalDigits(int totalDigits)
Sets totalDigits. totalDigits is the maximum number of digits in values of type decimal. The value of totalDigits must be a positive integer.
Parameters:
totalDigits - - the totalDigits of this types decimal builtIn

setFractionDigits

public void setFractionDigits(int fractionDigits)
Sets fractionDigits. totalDigits is the maximum number of digits in the fractional part of values of type decimal. The value of totalDigits must be a positive integer.
Parameters:
fractionDigits - - the fractionDigits of this types decimal builtIn

setPattern

public void setPattern(java.lang.String pattern)
Gets pattern. pattern is a constraint on the value space of a datatype which is achieved by constraining the lexical space to literals which match a specific pattern.
Parameters:
pattern - - the pattern of this SimpleType

setReadOnly

public void setReadOnly(boolean readOnly)
Sets readOnly. Expresses if a value in a field based on this type can only be shown or also modified.
Parameters:
readOnly - - true, if type has readOnly property, false otherwise

setUppercase

public void setUppercase(boolean uppercase)
Sets Uppercase. Expresses if a value in a field based on this type has to be shown in uppercase letters.
Parameters:
uppercase - - true, if type has uppercase property, false otherwise

setMaxExternalLength

public void setMaxExternalLength(int maxExternalLength)
Sets the maxExternalLength. maxExternalLength is the maximum length of values of this types on the screen.
Parameters:
maxExternalLength - - the output length of this type

setDefaultValue

public void setDefaultValue(java.lang.Object defaultValue)
Sets the defaultValue. The default value is the default send to screen for fields of this type.
Parameters:
defaultValue - - the screen default value

setFormat

public void setFormat(java.lang.String format)
Sets the format. format is the string the format- and parse- methods are based onto.
Parameters:
format - - the format template

setDescription

public void setDescription(java.lang.String description)
Sets the description. A short description of the types semantic.
Parameters:
description - - The description

setFieldLabel

public void setFieldLabel(java.lang.String fieldLabel)
Sets the fieldLabel. A keyword to use for a field with this type
Parameters:
fieldLabel - - the field keyword

setColumnLabel

public void setColumnLabel(java.lang.String columnLabel)
Sets the columnLabel. A keyword to use as column-title if column is of this type
Parameters:
columnLabel - - the column-title keyword

setQuickInfo

public void setQuickInfo(java.lang.String quickInfo)
Sets the quickInfo. A keyword which expresses the meaning of the type. Will be used as quickInfo on a screen.
Parameters:
quickInfo - - the quick info for screen

setTextLocale

public void setTextLocale(java.lang.String textLocale)
Deprecated. the value for textLocale is not used

Sets the textLocale.

setEnumeration

public void setEnumeration(java.util.Set enumeration)
Sets the enumeration. Enumeration contains the value space to a specified set of values. Setting here means to replace the former enumeration.
Parameters:
enumeration - - the enumeration values to set

setEnumerationTexts

public void setEnumerationTexts(java.util.Map enumerationTexts)
Sets the enumerationTexts. enumerationTexts contains a description for each enumeration value. Setting here means to replace the former enumeration. The enumeration descriptions can not be redefined yet.
Parameters:
enumerationTexts - - the enumeration including the description

setTextServices

public void setTextServices(com.sap.typeservices.ITextServices textservices)
Sets the textservices.
Parameters:
textservices - - the textservices to set

setSVServices

public void setSVServices(com.sap.typeservices.ISimpleValueServices svservices)
Sets the valueservices.
Parameters:
valueservices - - the valueservices to set


Copyright © 2005 SAP AG. All Rights Reserved.