public abstract class ERPInterfaceBogus extends MappedAttributesObject implements ERPInterface
Modifier and Type | Field and Description |
---|---|
protected java.util.Properties |
ivConfig
A subset of
Profile that contains only the keys and values
which specifically pertain to the implementing class. |
private static long |
serialVersionUID
The class' serialization version id.
|
ivHashCode, ivHashFlds, ivObjAttrs
ERROR_CONNECT, ERROR_NONE, ERROR_PROGRAM, WARN_DUPLICATE, WARN_NONE
Modifier | Constructor and Description |
---|---|
protected |
ERPInterfaceBogus()
The constructor for the abstract bogus interface.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Compares the given object to this object and determines if the two are
equal.
|
FlashServletContext |
getContext()
Returns the ERP interface's servlet context (i.e.
|
int |
getErrorType()
Returns the type of error encountered during processing.
|
protected byte[] |
getQueueKey()
Returns the data queue key.
|
int |
getWarningType()
Returns the type of warning encountered during processing.
|
void |
setContext(FlashServletContext ctx)
Sets the ERP interface's servlet context (i.e.
|
void |
setErrorType(int type)
Sets the type of error encountered during processing.
|
protected void |
setQueueKey(java.lang.String seed)
Sets the data queue key.
|
void |
setWarningType(int type)
Sets the type of warning encountered during processing.
|
cloneMapAttributes, formatValue, formatValue, getHashFields, getMapArrayList, getMapAttributes, getMapBigDecimal, getMapBoolean, getMapDate, getMapDouble, getMapInteger, getMapLong, getMapMapped, getMapObject, getMapShort, getMapString, getMapString, getMapStringBuffer, getMapStringBuilder, getMapTime, getMapTimestamp, getMapVector, hashCode, setHashFields, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMapAttributes, setMapObject, setMapTime, setMapTimestamp, toStringArray
private static final long serialVersionUID
protected java.util.Properties ivConfig
Profile
that contains only the keys and values
which specifically pertain to the implementing class. The subset keys
do not include the implementing class' prefix. Example:
In Profile:
erp.CustomerMaintenance.pcml
erp.CustomerMaintenance.prepay.default
erp.CustomerMaintenance.useMixedCaseUtility
erp.CustomerMaintenance.forceUpperCase.send
In ivConfig:
pcml
prepay.default
useMixedCaseUtility
forceUpperCase.send
protected ERPInterfaceBogus()
public FlashServletContext getContext()
getContext
in ERPInterface
.getContext
in interface ERPInterface
public void setContext(FlashServletContext ctx)
setContext
in ERPInterface
.setContext
in interface ERPInterface
ctx
- (FlashServletContext) The current servlet or thread context.public int getErrorType()
getErrorType
in ERPInterface
.getErrorType
in interface ERPInterface
public void setErrorType(int type)
setErrorType
in ERPInterface
.setErrorType
in interface ERPInterface
type
- (int) The error type.public int getWarningType()
getWarningType
in ERPInterface
.getWarningType
in interface ERPInterface
public void setWarningType(int type)
setWarningType
in ERPInterface
.setWarningType
in interface ERPInterface
type
- (int) The warning type.public boolean equals(java.lang.Object obj)
equals
in MappedAttributesObject
.equals
in class MappedAttributesObject
obj
- (Object) The object to compare with this object.true
if the specified object is equal to
this object, otherwise false
.protected byte[] getQueueKey()
protected void setQueueKey(java.lang.String seed)
seed
- (String) The value on which to base the key.