public abstract class

CdmBase

extends CdmObject
implements Serializable
java.lang.Object
   ↳ org.mule.modules.quickbooks.windows.schema.CdmObject
     ↳ org.mule.modules.quickbooks.windows.schema.CdmBase
Known Direct Subclasses
Known Indirect Subclasses

Class Overview

Product: ALL Description: 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>
     <extension base="{http://www.intuit.com/sb/cdm/v2}CdmObject">
       <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"/>
         <element name="CustomField" type="{http://www.intuit.com/sb/cdm/v2}CustomField" maxOccurs="unbounded" minOccurs="0"/>
         <element name="Draft" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
         <element name="ObjectState" type="{http://www.intuit.com/sb/cdm/v2}objectStateEnum" minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 

Summary

Constants
long serialVersionUID
[Expand]
Inherited Constants
From class org.mule.modules.quickbooks.windows.schema.CdmObject
Fields
protected Boolean _synchronized
protected List<NameValue> alternateId
protected List<CustomField> customField
protected Boolean draft
protected IdType externalKey
protected IdType id
protected ModificationMetaData metaData
protected ObjectStateEnum objectState
protected String syncToken
Public Constructors
CdmBase()
Public Methods
List<NameValue> getAlternateId()
Gets the value of the alternateId property.
List<CustomField> getCustomField()
Gets the value of the customField property.
Boolean getDraft()
Gets the value of the draft 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.
ObjectStateEnum getObjectState()
Gets the value of the objectState property.
String getSyncToken()
Gets the value of the syncToken property.
Boolean getSynchronized()
Gets the value of the synchronized property.
void setAlternateId(List<NameValue> alternateId)
Sets the value of the alternateId property.
void setCustomField(List<CustomField> customField)
Sets the value of the customField property.
void setDraft(Boolean value)
Sets the value of the draft 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 setObjectState(ObjectStateEnum value)
Sets the value of the objectState 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

Constants

private static final long serialVersionUID

Constant Value: 1 (0x0000000000000001)

Fields

protected Boolean _synchronized

protected List<NameValue> alternateId

protected List<CustomField> customField

protected Boolean draft

protected IdType externalKey

protected IdType id

protected ModificationMetaData metaData

protected ObjectStateEnum objectState

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 List<CustomField> getCustomField ()

Gets the value of the customField 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 customField property.

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

    getCustomField().add(newItem);
 

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

public Boolean getDraft ()

Gets the value of the draft property.

Returns
  • possible object is Boolean

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 ObjectStateEnum getObjectState ()

Gets the value of the objectState property.

Returns

public String getSyncToken ()

Gets the value of the syncToken property.

Returns
  • possible object is String

public Boolean getSynchronized ()

Gets the value of the synchronized property.

Returns
  • possible object is Boolean

public void setAlternateId (List<NameValue> alternateId)

Sets the value of the alternateId property.

Parameters
alternateId Allowed object is NameValue

public void setCustomField (List<CustomField> customField)

Sets the value of the customField property.

Parameters
customField Allowed object is CustomField

public void setDraft (Boolean value)

Sets the value of the draft property.

Parameters
value Allowed 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 setObjectState (ObjectStateEnum value)

Sets the value of the objectState property.

Parameters
value Allowed object is ObjectStateEnum

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