AR System Java API

com.bmc.arsys.api
Class FieldMapping

java.lang.Object
  extended by com.bmc.arsys.api.FieldMapping
All Implemented Interfaces:
Serializable, Cloneable
Direct Known Subclasses:
JoinFieldMapping, RegularFieldMapping, VendorFieldMapping, ViewFieldMapping

public abstract class FieldMapping
extends Object
implements Cloneable, Serializable

The FieldMapping class is the superclass that represents the information for all field mappings. Because compound forms are logical objects instead of actual data tables, you must map each field in a compound form to a field in an underlying AR System base form or some other external data source.

See Also:
Serialized Form

Constructor Summary
FieldMapping()
           
 
Method Summary
 Object clone()
          Makes a copy of the object.
static FieldMapping createInstance(Object[] rawData, ARServerUser ctx)
          Reserved for internal use.
 boolean equals(Object obj)
          Use this method for checking equality between the current object and the provided one.
 int getMappingType()
           
 int hashCode()
          Returns the hash code value for this instance of the current class.
 String toString()
          Returns a string description of the object.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FieldMapping

public FieldMapping()
Method Detail

clone

public Object clone()
             throws CloneNotSupportedException
Makes a copy of the object.

Overrides:
clone in class Object
Throws:
CloneNotSupportedException

getMappingType

public int getMappingType()

createInstance

public static FieldMapping createInstance(Object[] rawData,
                                          ARServerUser ctx)
Reserved for internal use.

Parameters:
rawData -
ctx -
Returns:
a populated object of type FieldMapping

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 Object
Parameters:
obj - the object that we are comparing to
Returns:
returns a boolean that tells if the two objects equal

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

toString

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

Overrides:
toString in class Object

AR System Java API

© Copyright 2006, 2007 BMC Software, Inc.