AR System Java API

com.bmc.arsys.api
Class BulkEntryReturn

java.lang.Object
  extended by com.bmc.arsys.api.BulkEntryReturn
All Implemented Interfaces:
Serializable, Cloneable
Direct Known Subclasses:
EntryReturn, XMLEntryReturn

public class BulkEntryReturn
extends Object
implements Cloneable, Serializable

The BulkEntryReturn class defines the return values for bulk entry calls.

See Also:
Serialized Form

Constructor Summary
BulkEntryReturn()
          Constructs a new BulkEntryReturn object
BulkEntryReturn(int callType, List<StatusInfo> statusList)
          Populate the result for a bulk API return
 
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.
 int getCallType()
          Returns the call type.
 List<StatusInfo> getStatusList()
          Returns the status list.
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BulkEntryReturn

public BulkEntryReturn()
Constructs a new BulkEntryReturn object


BulkEntryReturn

public BulkEntryReturn(int callType,
                       List<StatusInfo> statusList)
Populate the result for a bulk API return

Parameters:
callType - the type of bulk API call performed
statusList - the status info array
Method Detail

getCallType

public int getCallType()
Returns the call type. The type can be: Constants.AR_BULK_ENTRY_CREATE or Constants.AR_BULK_ENTRY_SET or Constants.AR_BULK_ENTRY_DELETE or Constants.AR_BULK_ENTRY_MERGE or Constants.AR_BULK_ENTRY_XMLCREATE or Constants.AR_BULK_ENTRY_XMLSET or Constants.AR_BULK_ENTRY_XMLDELETE


getStatusList

public List<StatusInfo> getStatusList()
Returns the status list.


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

AR System Java API

© Copyright 2006, 2007 BMC Software, Inc.