public class

EntityReferenceCollection

extends Object
implements Serializable
java.lang.Object
   ↳ com.microsoft.schemas.xrm._2011.contracts.EntityReferenceCollection

Class Overview

Java class for EntityReferenceCollection complex type.

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

 <complexType name="EntityReferenceCollection">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="EntityReference" type="{http://schemas.microsoft.com/xrm/2011/Contracts}EntityReference" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

Summary

Constants
long serialVersionUID
Fields
protected List<EntityReference> entityReferences
Public Constructors
EntityReferenceCollection()
Public Methods
List<EntityReference> getEntityReferences()
Gets the value of the entityReferences property.
[Expand]
Inherited Methods
From class java.lang.Object

Constants

private static final long serialVersionUID

Constant Value: 1 (0x0000000000000001)

Fields

protected List<EntityReference> entityReferences

Public Constructors

public EntityReferenceCollection ()

Public Methods

public List<EntityReference> getEntityReferences ()

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

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

    getEntityReferences().add(newItem);
 

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