public abstract class ERPObject<ERPOBJ extends MappedAttributesObject> extends MappedAttributesObject implements java.lang.Comparable<ERPOBJ>
Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID
The class' serialization version id.
|
ivHashCode, ivHashFlds, ivObjAttrs
Modifier | Constructor and Description |
---|---|
protected |
ERPObject()
The constructor for the abstract object.
|
protected |
ERPObject(java.lang.String[] hashflds)
The constructor for the abstract object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
after(ERPOBJ obj)
Answers if this object is greater than the given object based on the
object's
compareTo method results. |
boolean |
before(ERPOBJ obj)
Answers if this object is less than the given object based on the
object's
compareTo method results. |
int |
compareTo(ERPOBJ obj)
Compares this object to the given object and determines if this object is
less than, equal to or greater than the given object.
|
boolean |
equals(java.lang.Object obj)
Compares the given object to this object and determines if the two are
equal.
|
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 ERPObject()
null
. The object's hash code is zero.protected ERPObject(java.lang.String[] hashflds)
null
.hashflds
- (String[]) The set of field names used to determine
the object's hash code. The field names supplied should match
the fields referenced in the object's equals
method. If
no fields names are supplied, the object's hash code is zero.public int compareTo(ERPOBJ obj)
compareTo
in interface java.lang.Comparable<ERPOBJ extends MappedAttributesObject>
obj
- (ERPOBJ) The object to compare with this object.public boolean equals(java.lang.Object obj)
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
.public boolean after(ERPOBJ obj)
compareTo
method results.obj
- (ERPOBJ) The object to compare to this object to.true
if this object is greater than the given
object, otherwise false
.public boolean before(ERPOBJ obj)
compareTo
method results.obj
- (ERPOBJ) The object to compare to this object to.true
if this object is less than the given
object, otherwise false
.