Class FormField

java.lang.Object
oracle.iam.provisioning.vo.FormField
All Implemented Interfaces:
Serializable

public class FormField extends Object implements Serializable
This value object represents the process form field. This value object represents an entry in SDC table and form field properties (SDP) associated to SDC entry.
Since:
11.1.2.0.0
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final long
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    FormField(String name, long key, String label, String type, String defaultValue, boolean isEncrypted)
    This constructor represents an entry that in SDC table.
    FormField(String name, String label, String type, String defaultValue, boolean isEncrypted)
    This constructor represents an entry that needs to be added in SDC table.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addProperty(String paramName, Object paramVal)
    This method adds a property for a form field
    This method gets the type of the form field (SDC_DEFAULT_VALUE).
    long
    This method gets the primary key of the form field (SDC_KEY).
    This method gets the label of the form field (SDC_LABEL).
    long
    This method gets the length of the form field.
    This method gets the name of the form field (SDC_NAME)
    This method gets the form field properties for a form field (SDP entries for SDC)
    getProperty(String paramName)
    This method gets property for a form field
    This method gets the type of the form field (SDC_FIELD_TYPE).
    This method gets the variant type for the form field.
    boolean
    This method returns if the form field is encrypted.
    void
    setDefaultValue(String defaultValue)
    This method sets the type of the form field (SDC_DEFAULT_VALUE).
    void
    setEncrypted(boolean encryptedFlag)
    This method sets if the form field is encrypted.
    void
    setFldKey(long key)
    This method sets the primary key of the form field (SDC_KEY).
    void
    This method sets the label of the form field (SDC_LABEL).
    void
    setLength(long length)
    This method sets the length of the form field.
    void
    This method sets the name of the form field (SDC_NAME)
    void
    This method sets the form field properties for a form field (SDP entries for SDC)
    void
    This method sets the type of the form field (SDC_FIELD_TYPE).
    void
    setVariantType(String variantType)
    This method sets the variant type for the form field.
     

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

  • Constructor Details

    • FormField

      public FormField()
    • FormField

      public FormField(String name, String label, String type, String defaultValue, boolean isEncrypted)
      This constructor represents an entry that needs to be added in SDC table.
      Parameters:
      name - form field name (SDC_NAME)
      label - form field label (SDC_LABEL)
      type - form field type (SDC_FIELD_TYPE)
      defaultValue - the default value of the form field. (SDC_DEFAULT_VALUE)
      isEncrypted - if the value for the form field is encrypted (SDC_ENCRYPTED).
    • FormField

      public FormField(String name, long key, String label, String type, String defaultValue, boolean isEncrypted)
      This constructor represents an entry that in SDC table.
      Parameters:
      name - form field name (SDC_NAME)
      key - the primary key of the form field (SDC_KEY)
      label - form field label (SDC_LABEL)
      type - form field type (SDC_FIELD_TYPE)
      defaultValue - the default value of the form field. (SDC_DEFAULT_VALUE)
      isEncrypted - if the value for the form field is encrypted (SDC_ENCRYPTED).
  • Method Details

    • getName

      public String getName()
      This method gets the name of the form field (SDC_NAME)
      Returns:
      the name of the form field (SDC_NAME)
    • setName

      public void setName(String name)
      This method sets the name of the form field (SDC_NAME)
      Parameters:
      name - the name of the form field (SDC_NAME)
    • getFldKey

      public long getFldKey()
      This method gets the primary key of the form field (SDC_KEY).
      Returns:
      the primary key of the form field (SDC_KEY).
    • setFldKey

      public void setFldKey(long key)
      This method sets the primary key of the form field (SDC_KEY).
      Parameters:
      key - the primary key of the form field (SDC_KEY).
    • getLabel

      public String getLabel()
      This method gets the label of the form field (SDC_LABEL).
      Returns:
      the label of the form field (SDC_LABEL).
    • setLabel

      public void setLabel(String label)
      This method sets the label of the form field (SDC_LABEL).
      Parameters:
      label - the label of the form field (SDC_LABEL).
    • getType

      public String getType()
      This method gets the type of the form field (SDC_FIELD_TYPE).
      Returns:
      the type of the form field (SDC_FIELD_TYPE).
    • setType

      public void setType(String type)
      This method sets the type of the form field (SDC_FIELD_TYPE).
      Parameters:
      type - the type of the form field (SDC_FIELD_TYPE).
    • getDefaultValue

      public String getDefaultValue()
      This method gets the type of the form field (SDC_DEFAULT_VALUE).
      Returns:
      the type of the form field (SDC_DEFAULT_VALUE).
    • setDefaultValue

      public void setDefaultValue(String defaultValue)
      This method sets the type of the form field (SDC_DEFAULT_VALUE).
      Parameters:
      defaultValue - the type of the form field (SDC_DEFAULT_VALUE).
    • getProperties

      public HashMap<String,Object> getProperties()
      This method gets the form field properties for a form field (SDP entries for SDC)
      Returns:
      the form field properties for a form field (SDP entries for SDC)
    • setProperties

      public void setProperties(HashMap<String,Object> properties)
      This method sets the form field properties for a form field (SDP entries for SDC)
      Parameters:
      properties - the form field properties for a form field (SDP entries for SDC)
    • addProperty

      public void addProperty(String paramName, Object paramVal)
      This method adds a property for a form field
      Parameters:
      paramName - :Entitlement Valid To Visible Field Required Lookup Column Name ITResource AccountName Lookup Code Entitlement Lookup Query Entitlement Valid From Visible Field
      paramVal - true/false
    • getProperty

      public Object getProperty(String paramName)
      This method gets property for a form field
      Parameters:
      paramName - the name of the propert
      Returns:
      property value
    • isEncrypted

      public boolean isEncrypted()
      This method returns if the form field is encrypted.
      Returns:
      true if the form field is encrypted.
    • setEncrypted

      public void setEncrypted(boolean encryptedFlag)
      This method sets if the form field is encrypted.
      Parameters:
      encryptedFlag - true if the form field is set to be encrypted.
    • getVariantType

      public String getVariantType()
      This method gets the variant type for the form field. like Date, short, long, Timestamp, String, int, boolean
      Returns:
      the variant type for the form field. like Date, short, long, Timestamp, String, int, boolean
    • setVariantType

      public void setVariantType(String variantType)
      This method sets the variant type for the form field. The variant type can be Date, short, long, Timestamp, String, int, boolean
      Parameters:
      variantType - the variant type can be "Date", "short", "long", "Timestamp", "String", "int", "boolean"
    • getLength

      public long getLength()
      This method gets the length of the form field.
      Returns:
      the length of the form field.
    • setLength

      public void setLength(long length)
      This method sets the length of the form field.
      Parameters:
      length - the length of the form field.
    • toString

      public String toString()
      Overrides:
      toString in class Object