AR System Java API

com.bmc.arsys.api
Class VendorForm

java.lang.Object
  extended by com.bmc.arsys.api.ObjectBase
      extended by com.bmc.arsys.api.Form
          extended by com.bmc.arsys.api.VendorForm
All Implemented Interfaces:
IARPersistentObject, Serializable, Cloneable

public class VendorForm
extends Form
implements Cloneable, Serializable

The VendorForm class represents a type of "external" form that is created from a non-database source (for example, an XML file).

See Also:
Serialized Form

Constructor Summary
VendorForm()
           
VendorForm(String vendor, String table)
           
 
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.
 String getTableName()
          Returns the name of table in the vendor's namespace.
 String getVendorName()
          Returns the name of the external vendor source.
 int hashCode()
          Returns the hash code value for this instance of the current class.
 void setTableName(String tableName)
           
 void setVendorName(String vendorName)
           
 String toString()
          Returns a string description of the object.
 
Methods inherited from class com.bmc.arsys.api.Form
getAdminGrpList, getArchiveInfo, getAssignedGroup, getAuditInfo, getDefaultVUI, getEntryListFieldInfo, getFormType, getIndexInfo, getKey, getProperties, getSortInfo, setAdminGrpList, setArchiveInfo, setAuditInfo, setDefaultVUI, setDeleteOption, setEntryListFieldInfo, setIndexInfo, setKey, setPermissions, setProperties, setSortInfo
 
Methods inherited from class com.bmc.arsys.api.ObjectBase
appendDiaryText, clear, getChangeFlags, getDiary, getHelpText, getLastChangedBy, getLastUpdateTime, getName, getNewName, getOwner, getPermissions, setChangeFlags, setDiary, setDiary, setHelpText, setLastChangedBy, setName, setNewName, setOwner
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VendorForm

public VendorForm()

VendorForm

public VendorForm(String vendor,
                  String table)
Method Detail

clone

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

Overrides:
clone in class Form
Throws:
CloneNotSupportedException

getVendorName

public String getVendorName()
Returns the name of the external vendor source.


getTableName

public String getTableName()
Returns the name of table in the vendor's namespace. Its size is defined by Constants.AR_MAX_TABLENAME_SIZE.


toString

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

Overrides:
toString in class Form

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

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

setTableName

public void setTableName(String tableName)

setVendorName

public void setVendorName(String vendorName)

AR System Java API

© Copyright 2006, 2007 BMC Software, Inc.