public class

BaseRefType

extends Object
implements Serializable
java.lang.Object
   ↳ org.mule.module.netsuite.api.BaseRefType

Class Overview

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
X: applies to entity type. The map values can either be the string value, or the enum type. Check the corresponding type to see the allowed values for each type.

Summary

Constants
long serialVersionUID
Fields
private String externalId
private String internalId
private String name
private Map<String, Object> specificFields
private ReferenceEnum type
Public Constructors
BaseRefType()
Public Methods
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()
[Expand]
Inherited Methods
From class java.lang.Object

Constants

private static final long serialVersionUID

Constant Value: 1 (0x0000000000000001)

Fields

private String externalId

private String internalId

private String name

private Map<String, Object> specificFields

private ReferenceEnum type

Public Constructors

public BaseRefType ()

Public Methods

public void addSpecificField (String key, Object value)

Parameters
key
value

public String getExternalId ()

public String getInternalId ()

public String getName ()

public Object getSpecificField (String key, Object value)

Parameters
key
value

public Map<String, Object> getSpecificFields ()

public ReferenceEnum getType ()

public void setExternalId (String externalId)

Parameters
externalId

public void setInternalId (String internalId)

Parameters
internalId

public void setName (String name)

Parameters
name

public void setSpecificFields (Map<String, Object> specificFields)

Parameters
specificFields

public void setType (ReferenceEnum type)

Parameters
type

public BaseRef toBaseRef ()