7.0 Action Request System Java API

com.remedy.arsys.api
Class AssignFieldInfo

java.lang.Object
  extended bycom.remedy.arsys.api.AssignFieldInfo
All Implemented Interfaces:
java.lang.Cloneable

public class AssignFieldInfo
extends java.lang.Object
implements java.lang.Cloneable

The AssignFieldInfo class identifies a schema field value to assign in a Set Fields or Push Fields action. You can specify a value from any entry in any schema on a particular server.


Field Summary
static int AR_CURRENCY_FLD
          AR_CURRENCY_FLD is a value from the CurrencyPart field to compare in a relational operation.
static int AR_FIELD
          AR_FIELD is a schema field value to compare in a relational operation.
static int AR_STAT_HISTORY
          AR_STAT_HISTORY is a value from the Status-History core field to compare in a relational operation.
 
Constructor Summary
AssignFieldInfo()
          constructor
AssignFieldInfo(java.lang.String server, java.lang.String schema, QualifierInfo qualifier, int tag, long fieldId, StatusHistoryValue statHistory, long noMatchOption, long multiMatchOption)
          This constructor is deprecated.
AssignFieldInfo(java.lang.String server, java.lang.String schema, QualifierInfo qualifier, int tag, java.lang.Object object, long noMatchOption, long multiMatchOption)
           
 
Method Summary
 java.lang.Object clone()
          Clone implementation that returns an Object with data cloned from self
 boolean equals(java.lang.Object anObject)
          Use this method for checking equality.
 boolean equals(java.lang.Object anObject, java.lang.String lhsServer, java.lang.String lhsSchema, java.lang.String rhsServer, java.lang.String rhsSchema)
           
 CurrencyPartInfo getCurrencyPart()
          Returns Currency part field value.
 long getFieldId()
          Returns field ID value.
 long getMultiMatchOption()
          Returns option integer value indicating the action to take if multiple entries match the search criteria (Set Fields) or if any entry matches the search criteria (Push Fields).
 long getNoMatchOption()
          Returns integer value indicating the action to take if no entries match the search criteria.
 QualifierInfo getQualifier()
          Returns the qualification that identifies the entries to retrieve.
 NameID getSchema()
          Returns the name of the schema containing the field value to assign.
 java.lang.String getServer()
          Returns the name of the server where the schema is located.
 StatusHistoryValue getStatHistory()
          Returns Status History field value.
 int getTag()
          Returns integer value indicating the type of field value to retrieve
 int hashCode()
          Returns the hash code value for this instance of the current class.
 void setCurrencyPart(CurrencyPartInfo currencyPart)
          Sets Currency part field value.
 void setFieldId(long fieldId)
          Sets field ID value.
 void setMultiMatchOption(long multiMatchOption)
          Sets option integer value indicating the action to take if multiple entries match the search criteria (Set Fields) or if any entry matches the search criteria (Push Fields).
 void setNoMatchOption(long noMatchOption)
          Sets integer value indicating the action to take if no entries match the search criteria.
 void setQualifier(QualifierInfo qualifier)
          Sets the qualification that identifies the entries to set (optional).
 void setSchema(NameID schema)
          Sets the name of the schema containing the field value to assign.
 void setServer(java.lang.String server)
          Sets the name of the server where the schema is located.
 void setStatHistory(StatusHistoryValue statHistory)
          Sets Status History field value.
 void setTag(int tag)
          Sets integer value indicating the type of field value to set with the following constant values:
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

AR_FIELD

public static final int AR_FIELD
AR_FIELD is a schema field value to compare in a relational operation.

See Also:
Constant Field Values

AR_STAT_HISTORY

public static final int AR_STAT_HISTORY
AR_STAT_HISTORY is a value from the Status-History core field to compare in a relational operation.

See Also:
Constant Field Values

AR_CURRENCY_FLD

public static final int AR_CURRENCY_FLD
AR_CURRENCY_FLD is a value from the CurrencyPart field to compare in a relational operation.

See Also:
Constant Field Values
Constructor Detail

AssignFieldInfo

public AssignFieldInfo()
constructor


AssignFieldInfo

public AssignFieldInfo(java.lang.String server,
                       java.lang.String schema,
                       QualifierInfo qualifier,
                       int tag,
                       long fieldId,
                       StatusHistoryValue statHistory,
                       long noMatchOption,
                       long multiMatchOption)
This constructor is deprecated.


AssignFieldInfo

public AssignFieldInfo(java.lang.String server,
                       java.lang.String schema,
                       QualifierInfo qualifier,
                       int tag,
                       java.lang.Object object,
                       long noMatchOption,
                       long multiMatchOption)
Method Detail

getFieldId

public long getFieldId()
Returns field ID value.


setFieldId

public void setFieldId(long fieldId)
Sets field ID value.


getStatHistory

public StatusHistoryValue getStatHistory()
Returns Status History field value.


setStatHistory

public void setStatHistory(StatusHistoryValue statHistory)
Sets Status History field value.


getCurrencyPart

public CurrencyPartInfo getCurrencyPart()
Returns Currency part field value. Currency fields consist of several parts that combine to represent a complete currency value.


setCurrencyPart

public void setCurrencyPart(CurrencyPartInfo currencyPart)
Sets Currency part field value. Currency fields consist of several parts that combine to represent a complete currency value.


getServer

public java.lang.String getServer()
Returns the name of the server where the schema is located.


setServer

public void setServer(java.lang.String server)
Sets the name of the server where the schema is located.


getSchema

public NameID getSchema()
Returns the name of the schema containing the field value to assign.


setSchema

public void setSchema(NameID schema)
Sets the name of the schema containing the field value to assign.
  • For filters and escalations, specify @ to set the value from the current transaction.
  • For active links, specify * to set the value from the current window.


  • getQualifier

    public QualifierInfo getQualifier()
    Returns the qualification that identifies the entries to retrieve.


    setQualifier

    public void setQualifier(QualifierInfo qualifier)
    Sets the qualification that identifies the entries to set (optional).


    getTag

    public int getTag()
    Returns integer value indicating the type of field value to retrieve


    setTag

    public void setTag(int tag)
    Sets integer value indicating the type of field value to set with the following constant values:

    Parameters:
    tag - Use these values:AR_FIELD, AR_STAT_HISTORY, AR_CURRENCY_FLD

    getNoMatchOption

    public long getNoMatchOption()
    Returns integer value indicating the action to take if no entries match the search criteria.


    setNoMatchOption

    public void setNoMatchOption(long noMatchOption)
    Sets integer value indicating the action to take if no entries match the search criteria. Use the following constant values:

    Parameters:
    noMatchOption - Use these values: AR_NO_MATCH_ERROR, AR_NO_MATCH_SET_NULL, AR_NO_MATCH_NO_ACTION, AR_NO_MATCH_SUBMIT

    getMultiMatchOption

    public long getMultiMatchOption()
    Returns option integer value indicating the action to take if multiple entries match the search criteria (Set Fields) or if any entry matches the search criteria (Push Fields).


    setMultiMatchOption

    public void setMultiMatchOption(long multiMatchOption)
    Sets option integer value indicating the action to take if multiple entries match the search criteria (Set Fields) or if any entry matches the search criteria (Push Fields). Use the following constant values:


    clone

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

    Throws:
    java.lang.CloneNotSupportedException

    equals

    public boolean equals(java.lang.Object anObject)
    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.


    equals

    public boolean equals(java.lang.Object anObject,
                          java.lang.String lhsServer,
                          java.lang.String lhsSchema,
                          java.lang.String rhsServer,
                          java.lang.String rhsSchema)

    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.


    7.0 Action Request System Java API