AR System Java API

com.bmc.arsys.api
Class FieldAssignInfo

java.lang.Object
  extended by com.bmc.arsys.api.FieldAssignInfo
All Implemented Interfaces:
Serializable, Cloneable

public class FieldAssignInfo
extends Object
implements Cloneable, Serializable

The FieldAssignInfo class represents the field/value pair used in the field list in the workflow Set Fields action (AssignInfo).

See Also:
Serialized Form

Constructor Summary
FieldAssignInfo()
          constructor
FieldAssignInfo(int fieldId, AssignInfo assign)
           
 
Method Summary
static void buildFieldAssignmentList(ARServerUser ctx, String localForm, String remoteForm, OutputInteger isByMatchingIds, OutputInteger isSetToDefaults, List<FieldAssignInfo> fieldAssignList)
           
 Object clone()
          Clone implementation that returns an Object with data cloned from self.
 boolean equals(Object obj)
          Use this method for checking equality.
 boolean equals(Object anObject, String lhsServer, String lhsForm, String rhsServer, String rhsForm)
           
 AssignInfo getAssignment()
          Returns value of field.
 String getAssignmentAsString()
           
 int getAssignmentType()
           
 int getFieldId()
          Returns field ID.
 int hashCode()
          Returns the hash code value for this instance of the current class.
 void setAssignment(AssignInfo assignment)
          Sets value of field.
 void setAssignmentAsString(String assignmentAsString)
           
 void setFieldId(int fieldId)
          Sets field ID.
 String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FieldAssignInfo

public FieldAssignInfo()
constructor


FieldAssignInfo

public FieldAssignInfo(int fieldId,
                       AssignInfo assign)
Method Detail

getAssignmentAsString

public String getAssignmentAsString()
Returns:
the assignmentAsString

setAssignmentAsString

public void setAssignmentAsString(String assignmentAsString)
Parameters:
assignmentAsString - the assignmentAsString to set

getAssignmentType

public int getAssignmentType()
Returns:
the assignmentType

getFieldId

public int getFieldId()
Returns field ID.


setFieldId

public void setFieldId(int fieldId)
Sets field ID.


getAssignment

public AssignInfo getAssignment()
Returns value of field.


setAssignment

public void setAssignment(AssignInfo assignment)
Sets value of field.


clone

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

Overrides:
clone in class Object
Throws:
CloneNotSupportedException

equals

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

Overrides:
equals in class Object

equals

public boolean equals(Object anObject,
                      String lhsServer,
                      String lhsForm,
                      String rhsServer,
                      String rhsForm)

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 Object

toString

public String toString()
Overrides:
toString in class Object

buildFieldAssignmentList

public static void buildFieldAssignmentList(ARServerUser ctx,
                                            String localForm,
                                            String remoteForm,
                                            OutputInteger isByMatchingIds,
                                            OutputInteger isSetToDefaults,
                                            List<FieldAssignInfo> fieldAssignList)
                                     throws ARException
Throws:
ARException

AR System Java API

? Copyright 2006, 2007 BMC Software, Inc.