javax.microedition.ipdr.configuration
Interface FieldConfig


public interface FieldConfig

This interface provides a configuration of a field in a template. ETA defines that at least one implementation must be implemented by the ETA implementer. The required implementation takes all the information from the JAD/manifest

Version:
1.0
Author:
Shai Gotlib

Method Summary
 int getId()
          Returns field id
 java.lang.String getName()
          Returns field name
 int getTypeId()
          Returns field type id
 boolean isEnabledForOutput()
          Indicates if the field is a part of the output (true if the field is enabled for output)
 void setEnabledForOutput(boolean enabled)
          Sets the field to be enabled to be a part of the output (true for enable)
 

Method Detail

getId

public int getId()
Returns field id

Returns:
field id (int)

getTypeId

public int getTypeId()
Returns field type id

Returns:
field type id (int)

getName

public java.lang.String getName()
Returns field name

Returns:
field name (String)

isEnabledForOutput

public boolean isEnabledForOutput()
Indicates if the field is a part of the output (true if the field is enabled for output)

Returns:
true if the field is enabled for output false otherwise (boolean)

setEnabledForOutput

public void setEnabledForOutput(boolean enabled)
Sets the field to be enabled to be a part of the output (true for enable)

Parameters:
enabled - true if the field enabled false otherwise (boolean)
Returns:
void