public class BaseRefType extends Object implements Serializable
This class is used as an auxiliary class for each of Netsuite BaseRef
type. The default value for the type is ReferenceEnum.RECORD_REF.
The specificFields Map contains all the none common fields that can be specified according to the type. This table shows the fields.
Field Name | RecordRef | InitializeAuxRef | CustomizationRef | InitializeRef | CustomRecordRef |
---|---|---|---|---|---|
type | X See RecordType |
X See InitializeAuxRefType |
X See RecordType |
X See InitializeRefType |
|
scriptId | X | ||||
typeId | X |
Constructor and Description |
---|
BaseRefType() |
Modifier and Type | Method and Description |
---|---|
void |
addSpecificField(String key,
Object value) |
String |
getExternalId() |
String |
getInternalId() |
String |
getName() |
Object |
getSpecificField(String key,
Object value) |
Map<String,Object> |
getSpecificFields() |
ReferenceEnum |
getType() |
void |
setExternalId(String externalId) |
void |
setInternalId(String internalId) |
void |
setName(String name) |
void |
setSpecificFields(Map<String,Object> specificFields) |
void |
setType(ReferenceEnum type) |
BaseRef |
toBaseRef() |
public ReferenceEnum getType()
public void setType(ReferenceEnum type)
public String getName()
public void setName(String name)
public String getInternalId()
public void setInternalId(String internalId)
public String getExternalId()
public void setExternalId(String externalId)
public BaseRef toBaseRef()
Copyright © 2010–2017. All rights reserved.