public class Field extends Object implements IField
Constructor and Description |
---|
Field(FieldIdentifier id,
String currentvalue,
HashMap metainfo,
boolean readonly,
ICondition condition,
Locale locale) |
Field(FieldIdentifier id,
String currentvalue,
HashMap metainfo,
Locale locale)
shortened Constructor, which will set the following values for the dropped
parameters readonly will be set to
false condition will be set
to null |
Modifier and Type | Method and Description |
---|---|
String |
getCurrentValue()
returns the current value defined for this field
|
FieldIdentifier |
getIdentifier()
returns the identifier set when constructing the implementing class.
|
String |
getInitialValue() |
String |
getMetaInfo(MetaInfo info)
returns a localized message to render or an URL-style string that points to
a resource to load.
|
StatusInformation |
getStatusInformation()
returns the status information for this field.
|
boolean |
isReadOnly()
flag to tell, if the value of the implementing class can be updated
|
void |
setCurrentValue(String value)
allows to update the current value for this field.
|
public Field(FieldIdentifier id, String currentvalue, HashMap metainfo, boolean readonly, ICondition condition, Locale locale)
public Field(FieldIdentifier id, String currentvalue, HashMap metainfo, Locale locale)
false
condition will be set
to null
id
- TBD: Description of the incoming method parametercurrentvalue
- TBD: Description of the incoming method parametermetainfo
- TBD: Description of the incoming method parameterlocale
- TBD: Description of the incoming method parameterpublic FieldIdentifier getIdentifier()
IField
IControlStatus
.getIdentifier
in interface IField
public boolean isReadOnly()
IField
isReadOnly
in interface IField
public String getCurrentValue()
IField
getCurrentValue
in interface IField
public String getInitialValue()
public String getMetaInfo(MetaInfo info)
IField
getMetaInfo
in interface IField
info
- TBD: Description of the incoming method parameterpublic void setCurrentValue(String value)
IField
setCurrentValue
in interface IField
value
- currentValue to be setpublic StatusInformation getStatusInformation()
IField
getStatusInformation
in interface IField
Access Rights |
---|
SC | DC | Public Part | ACH |
---|---|---|---|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
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