public abstract class

CdmBase

extends Object
java.lang.Object
   ↳ org.mule.modules.quickbooks.online.schema.CdmBase
Known Direct Subclasses
Known Indirect Subclasses

Class Overview

Specifies the CdmBase type which can be used as base type for all Intuit CDM objects that can be identified and modified as a top level CDM, example for top level CDMs are Party, Customer, Vendor in case of CMO these can extend from CdmBase. Though Physical Address, EmailAddress belong to a Party it can be manipulated as a independent object hence these also can be a "extension" of CdmBase. However CustomFields, Money is always associated with another top level CDM and will not be manipulated as independent object hence these CDMs are not considered as extension of CdmBase

Java class for CdmBase complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="CdmBase">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="Id" type="{http://www.intuit.com/sb/cdm/v2}IdType" minOccurs="0"/>
         <element name="SyncToken" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="MetaData" type="{http://www.intuit.com/sb/cdm/v2}ModificationMetaData" minOccurs="0"/>
         <element name="ExternalKey" type="{http://www.intuit.com/sb/cdm/v2}IdType" minOccurs="0"/>
         <element name="Synchronized" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
         <element name="AlternateId" type="{http://www.intuit.com/sb/cdm/v2}NameValue" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

Summary

Fields
protected Boolean _synchronized
protected List<NameValue> alternateId
protected IdType externalKey
protected IdType id
protected ModificationMetaData metaData
protected String syncToken
Public Constructors
CdmBase()
Public Methods
List<NameValue> getAlternateId()
Gets the value of the alternateId property.
IdType getExternalKey()
Gets the value of the externalKey property.
IdType getId()
Gets the value of the id property.
ModificationMetaData getMetaData()
Gets the value of the metaData property.
String getSyncToken()
Gets the value of the syncToken property.
Boolean isSynchronized()
Gets the value of the synchronized property.
void setExternalKey(IdType value)
Sets the value of the externalKey property.
void setId(IdType value)
Sets the value of the id property.
void setMetaData(ModificationMetaData value)
Sets the value of the metaData property.
void setSyncToken(String value)
Sets the value of the syncToken property.
void setSynchronized(Boolean value)
Sets the value of the synchronized property.
[Expand]
Inherited Methods
From class java.lang.Object

Fields

protected Boolean _synchronized

protected List<NameValue> alternateId

protected IdType externalKey

protected IdType id

protected ModificationMetaData metaData

protected String syncToken

Public Constructors

public CdmBase ()

Public Methods

public List<NameValue> getAlternateId ()

Gets the value of the alternateId property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the alternateId property.

For example, to add a new item, do as follows:

    getAlternateId().add(newItem);
 

Objects of the following type(s) are allowed in the list NameValue

public IdType getExternalKey ()

Gets the value of the externalKey property.

Returns

public IdType getId ()

Gets the value of the id property.

Returns

public ModificationMetaData getMetaData ()

Gets the value of the metaData property.

Returns

public String getSyncToken ()

Gets the value of the syncToken property.

Returns
  • possible object is String

public Boolean isSynchronized ()

Gets the value of the synchronized property.

Returns
  • possible object is Boolean

public void setExternalKey (IdType value)

Sets the value of the externalKey property.

Parameters
value Allowed object is IdType

public void setId (IdType value)

Sets the value of the id property.

Parameters
value Allowed object is IdType

public void setMetaData (ModificationMetaData value)

Sets the value of the metaData property.

Parameters
value Allowed object is ModificationMetaData

public void setSyncToken (String value)

Sets the value of the syncToken property.

Parameters
value Allowed object is String

public void setSynchronized (Boolean value)

Sets the value of the synchronized property.

Parameters
value Allowed object is Boolean