AR System Java API

com.bmc.arsys.api
Class SetFieldsAction

java.lang.Object
  extended by com.bmc.arsys.api.Action
      extended by com.bmc.arsys.api.SetFieldsAction
All Implemented Interfaces:
ActiveLinkAction, FilterAction, Serializable, Cloneable
Direct Known Subclasses:
SetFieldsFromCurrentScreen, SetFieldsFromCurrentTransaction, SetFieldsFromFilterAPI, SetFieldsFromForm, SetFieldsFromSQL

public abstract class SetFieldsAction
extends Action
implements ActiveLinkAction, FilterAction, Cloneable, Serializable

The SetFieldsAction class is used to change the values of fields during a transaction.

See Also:
Serialized Form

Method Summary
 Object clone()
          Clone implementation that returns an Object with data cloned from self
 boolean equals(Object obj)
          Use this method for checking equality between the current object and the provided one.
 boolean equals(Object anObject, String lhsServer, String lhsForm, String rhsServer, String rhsForm)
           
 String getFromServer()
           
 String getReadValuesFrom()
           
 String getSampleForm()
          Returns name of the sample form.
 String getSampleServer()
          Returns name of the sample server.
 List<FieldAssignInfo> getSetFieldsList()
          Returns the field list.
 int hashCode()
          Returns the hash code value for this instance of the current class.
 void setFromServer(String fromServer)
           
 void setReadValuesFrom(String readValuesFrom)
           
 void setSampleForm(String sampleForm)
          Sets the name of the sample form.
 void setSampleServer(String sampleServer)
          Sets the name of the sample server.
 void setSetFieldsList(List<FieldAssignInfo> fieldList)
          Sets the field list.
 String toString()
          Returns a string description of the object.
 
Methods inherited from class com.bmc.arsys.api.Action
getActionType
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

getSetFieldsList

public List<FieldAssignInfo> getSetFieldsList()
Returns the field list.


setSetFieldsList

public void setSetFieldsList(List<FieldAssignInfo> fieldList)
Sets the field list.


clone

public Object clone()
             throws CloneNotSupportedException
Clone implementation that returns an Object with data cloned from self

Overrides:
clone in class Action
Throws:
CloneNotSupportedException

equals

public boolean equals(Object obj)
Use this method for checking equality between the current object and the provided one. The result is true only if the argument is not null, is of the same type and represents the same content.

Overrides:
equals in class Action
Parameters:
obj - the object that we are comparing to
Returns:
returns a boolean that tells if the two objects equal

equals

public boolean equals(Object anObject,
                      String lhsServer,
                      String lhsForm,
                      String rhsServer,
                      String rhsForm)
Overrides:
equals in class Action

hashCode

public int hashCode()
Returns the hash code value for this instance of the current class. This method is supported as required by the general contract of Object.hashCode, for the benefit of hash tables such as those provided by java.util.Hashtable.

Overrides:
hashCode in class Action
Returns:
returns the hash code for this instance

toString

public String toString()
Returns a string description of the object.

Overrides:
toString in class Action

getFromServer

public String getFromServer()
Returns:
the fromServer

getSampleForm

public String getSampleForm()
Returns name of the sample form.


setSampleForm

public void setSampleForm(String sampleForm)
Sets the name of the sample form.


getSampleServer

public String getSampleServer()
Returns name of the sample server.


setSampleServer

public void setSampleServer(String sampleServer)
Sets the name of the sample server.


setFromServer

public void setFromServer(String fromServer)
Parameters:
fromServer - the fromServer to set

getReadValuesFrom

public String getReadValuesFrom()
Returns:
the readValuesFrom

setReadValuesFrom

public void setReadValuesFrom(String readValuesFrom)
Parameters:
readValuesFrom - the readValuesFrom to set

AR System Java API

© Copyright 2006, 2007 BMC Software, Inc.