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, setCurrentValue
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCurrentValue, getIdentifier, getMetaInfo, getStatusInformation, isReadOnly, setCurrentValue
public 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 IMandatoryField
true
if required, false
otherwise.public void setRequired(boolean b)
setRequired
in interface IMandatoryField
b
- value to be assignedpublic boolean requiresMultiLine()
requiresMultiLine
in interface ISizer
public int getRows()
public void setRows(int rows)
public int getColumns()
getColumns
in interface ISizer
public void setColumns(int columns)
setColumns
in interface ISizer
columns
- the number of columnspublic boolean isModified()
isModified
in interface ITrackedField
true
if value has been modified, false
otherwisepublic void resetOriginalValue(String value)
resetOriginalValue
in interface ITrackedField
value
- the value to be set as an original valueAccess 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 2018 SAP AG Complete Copyright Notice