AR System Java API

com.bmc.arsys.api
Class SetFieldsFromForm

java.lang.Object
  extended by com.bmc.arsys.api.Action
      extended by com.bmc.arsys.api.SetFieldsAction
          extended by com.bmc.arsys.api.SetFieldsFromForm
All Implemented Interfaces:
ActiveLinkAction, FilterAction, Serializable, Cloneable

public class SetFieldsFromForm
extends SetFieldsAction
implements ActiveLinkAction, FilterAction, Cloneable, Serializable

This class represents another type of setFields. The datasource for setfield is form.

See Also:
Serialized Form

Constructor Summary
SetFieldsFromForm()
           
SetFieldsFromForm(List<FieldAssignInfo> fieldList)
           
SetFieldsFromForm(String fromServer, String fromForm, List<FieldAssignInfo> fieldList)
           
SetFieldsFromForm(String fromServer, String fromForm, String sampleServer, String sampleForm, List<FieldAssignInfo> fieldList)
           
 
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)
           
 int getMultiMatchOption()
           
 int getNoMatchOption()
           
 QualifierInfo getSetIfQualification()
           
 String getSetIfQualificationAsString()
           
 int hashCode()
          Returns the hash code value for this instance of the current class.
 boolean isAssignmentByMatchingIds()
           
 boolean isAssignmentToDefaults()
           
 void setAssignmentByMatchingIds(boolean byMatchingIds)
          sets the assignments to be by matching ids
 void setAssignmentToDefaults(boolean isSetToDefaults)
           
 void setMultiMatchOption(int multiMatchOption)
           
 void setNoMatchOption(int noMatchOption)
           
 void setSetIfQualification(QualifierInfo setIfQualification)
           
 void setSetIfQualification(String setIfQualification)
           
 String toString()
          Returns a string description of the object.
 
Methods inherited from class com.bmc.arsys.api.SetFieldsAction
getFromServer, getReadValuesFrom, getSampleForm, getSampleServer, getSetFieldsList, setFromServer, setReadValuesFrom, setSampleForm, setSampleServer, setSetFieldsList
 
Methods inherited from class com.bmc.arsys.api.Action
getActionType
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SetFieldsFromForm

public SetFieldsFromForm()

SetFieldsFromForm

public SetFieldsFromForm(List<FieldAssignInfo> fieldList)

SetFieldsFromForm

public SetFieldsFromForm(String fromServer,
                         String fromForm,
                         List<FieldAssignInfo> fieldList)

SetFieldsFromForm

public SetFieldsFromForm(String fromServer,
                         String fromForm,
                         String sampleServer,
                         String sampleForm,
                         List<FieldAssignInfo> fieldList)
Method Detail

getMultiMatchOption

public int getMultiMatchOption()
Returns:
the multiMatchOption

setMultiMatchOption

public void setMultiMatchOption(int multiMatchOption)
Parameters:
multiMatchOption - the multiMatchOption to set

getNoMatchOption

public int getNoMatchOption()
Returns:
the noMatchOption

setNoMatchOption

public void setNoMatchOption(int noMatchOption)
Parameters:
noMatchOption - the noMatchOption to set

getSetIfQualificationAsString

public String getSetIfQualificationAsString()
Returns:
the setIfQualification

setSetIfQualification

public void setSetIfQualification(String setIfQualification)
Parameters:
setIfQualification - the setIfQualification to set

clone

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

Overrides:
clone in class SetFieldsAction
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 SetFieldsAction
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 SetFieldsAction

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 SetFieldsAction
Returns:
returns the hash code for this instance

toString

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

Overrides:
toString in class SetFieldsAction

isAssignmentByMatchingIds

public boolean isAssignmentByMatchingIds()
Returns:
the byMatchingIds

setAssignmentByMatchingIds

public void setAssignmentByMatchingIds(boolean byMatchingIds)
sets the assignments to be by matching ids

Parameters:
byMatchingIds - whether to set by matching ids or not (true/false)

isAssignmentToDefaults

public boolean isAssignmentToDefaults()
Returns:
the isSetToDefaults

setAssignmentToDefaults

public void setAssignmentToDefaults(boolean isSetToDefaults)
Parameters:
isSetToDefaults - the isSetToDefaults to set

getSetIfQualification

public QualifierInfo getSetIfQualification()
Returns:
the setIfQualification

setSetIfQualification

public void setSetIfQualification(QualifierInfo setIfQualification)
Parameters:
setIfQualification - the setIfQualification to set

AR System Java API

© Copyright 2006, 2007 BMC Software, Inc.