public final class MandatoryField extends Field implements IMandatoryField, ISizer, ITrackedField
| Constructor and Description |
|---|
MandatoryField(FieldIdentifier id,
String currentvalue,
HashMap metainfo,
Locale locale,
boolean required)
Deprecated.
As of NetWeaver 7.1
|
MandatoryField(FieldIdentifier id,
String currentvalue,
HashMap metainfo,
Locale locale,
boolean readonly,
boolean required,
ICondition condition,
boolean requiresTextEdit)
Deprecated.
As of NetWeaver 7.1
|
MandatoryField(FieldIdentifier id,
String currentvalue,
HashMap metainfo,
Locale locale,
boolean required,
ICondition condition)
Deprecated.
As of NetWeaver 7.1
|
MandatoryField(FieldIdentifier id,
String currentvalue,
HashMap metainfo,
Locale locale,
boolean required,
ICondition condition,
boolean requiresTextEdit)
Deprecated.
As of NetWeaver 7.1
|
MandatoryField(FieldIdentifier id,
String currentvalue,
HashMap metainfo,
Locale locale,
boolean required,
ICondition condition,
ISizer sizer)
Deprecated.
As of NetWeaver 7.1
|
| Modifier and Type | Method and Description |
|---|---|
int |
getColumns()
Deprecated.
As of NetWeaver 7.1
|
int |
getRows()
Deprecated.
As of NetWeaver 7.1
|
boolean |
isModified()
Deprecated.
As of NetWeaver 7.1
|
boolean |
isRequired()
Deprecated.
As of NetWeaver 7.1
|
boolean |
requiresMultiLine()
Deprecated.
As of NetWeaver 7.1
|
void |
resetOriginalValue(String value)
Deprecated.
As of NetWeaver 7.1
|
void |
setColumns(int columns)
Deprecated.
As of NetWeaver 7.1
|
void |
setRequired(boolean b)
Deprecated.
As of NetWeaver 7.1
|
void |
setRows(int rows)
Deprecated.
As of NetWeaver 7.1
|
getCurrentValue, getIdentifier, getInitialValue, getMetaInfo, getStatusInformation, isReadOnly, setCurrentValueclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCurrentValue, getIdentifier, getMetaInfo, getStatusInformation, isReadOnly, setCurrentValuepublic MandatoryField(FieldIdentifier id, String currentvalue, HashMap metainfo, Locale locale, boolean required)
id - the field identifiercurrentvalue - the current string valuemetainfo - the meta informationlocale - the localerequired - a boolean value to indicate if the field is required or notpublic MandatoryField(FieldIdentifier id, String currentvalue, HashMap metainfo, Locale locale, boolean required, ICondition condition)
id - the field identifiercurrentvalue - the current string valuemetainfo - the meta informationlocale - the localerequired - a boolean value to indicate if the field is required or notcondition - the conditionpublic MandatoryField(FieldIdentifier id, String currentvalue, HashMap metainfo, Locale locale, boolean required, ICondition condition, boolean requiresTextEdit)
id - the field identifiercurrentvalue - the current string valuemetainfo - the meta informationlocale - the localerequired - a boolean value to indicate if the field is required or notcondition - the conditionrequiresTextEdit - a boolean to be set as a value for requires multiline in the sizerpublic MandatoryField(FieldIdentifier id, String currentvalue, HashMap metainfo, Locale locale, boolean readonly, boolean required, ICondition condition, boolean requiresTextEdit)
id - the field identifiercurrentvalue - the current string valuemetainfo - the meta informationlocale - the localereadonly - required - a boolean value to indicate if the field is required or notcondition - the conditionrequiresTextEdit - a boolean to be set as a value for requires multiline in the sizerpublic MandatoryField(FieldIdentifier id, String currentvalue, HashMap metainfo, Locale locale, boolean required, ICondition condition, ISizer sizer)
id - the field identifiercurrentvalue - the current string valuemetainfo - the meta informationlocale - the localerequired - a boolean value to indicate if the field is required or notcondition - the conditionsizer - the sizerpublic boolean isRequired()
true if required, false otherwise.isRequired in interface IMandatoryFieldtrue if required, false otherwise.public void setRequired(boolean b)
setRequired in interface IMandatoryFieldb - value to be assignedpublic boolean requiresMultiLine()
requiresMultiLine in interface ISizerpublic int getRows()
public void setRows(int rows)
public int getColumns()
getColumns in interface ISizerpublic void setColumns(int columns)
setColumns in interface ISizercolumns - the number of columnspublic boolean isModified()
isModified in interface ITrackedFieldtrue if value has been modified, false otherwisepublic void resetOriginalValue(String value)
resetOriginalValue in interface ITrackedFieldvalue - the value to be set as an original value| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
[sap.com] KMC-CM
|
[sap.com]
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2021 SAP SE Complete Copyright Notice