public class SalesRep extends JDBCObject<SalesRep>
Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID
The class' serialization version id.
|
static java.lang.String |
TYPE_CSR
The type code for a customer service rep.
|
static java.lang.String |
TYPE_SR
The type code for a sales rep, sales group, sales territory etc.
|
LOWVAL_RPG_DATE, LOWVAL_RPG_TIME, STATUS_ACTIVE, STATUS_BLANK, STATUS_CANCELED, STATUS_DELETED, STATUS_INACTIVE, STATUS_PENDING
ivHashCode, ivHashFlds, ivObjAttrs
Constructor and Description |
---|
SalesRep()
Constructs a
SalesRep object with all field values set to
null . |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCode()
Returns the unique code for the sales rep.
|
java.lang.String |
getName()
Returns the name or description.
|
java.lang.String |
getType()
Returns the type code (S=SFI, C=CSR).
|
boolean |
isCSR()
Answers if the sales rep is a customer service rep (CSR).
|
void |
setCode(java.lang.String value)
Sets the unique code for the sales rep.
|
void |
setName(java.lang.String value)
Sets the name or description.
|
void |
setType(java.lang.String value)
Sets the type code (S=SFI, C=CSR).
|
after, before, compareTo, equals, fmtStatus, fmtStatus, getObjectStatus, hashKey, setObjectStatus
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
public static final java.lang.String TYPE_CSR
public static final java.lang.String TYPE_SR
public SalesRep()
SalesRep
object with all field values set to
null
.public java.lang.String getCode()
public void setCode(java.lang.String value)
value
- (String) The unique code for the sales rep.public java.lang.String getName()
public void setName(java.lang.String value)
value
- (String) The name or description.public java.lang.String getType()
public void setType(java.lang.String value)
value
- (String) The type code.public boolean isCSR()
true
if the sales rep is a CSR,
otherwise false
.