public class

Entity

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

Class Overview

Java class for Entity complex type.

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

 <complexType name="Entity">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="Attributes" type="{http://schemas.microsoft.com/xrm/2011/Contracts}AttributeCollection" minOccurs="0"/>
         <element name="EntityState" type="{http://schemas.microsoft.com/xrm/2011/Contracts}EntityState" minOccurs="0"/>
         <element name="FormattedValues" type="{http://schemas.microsoft.com/xrm/2011/Contracts}FormattedValueCollection" minOccurs="0"/>
         <element name="Id" type="{http://schemas.microsoft.com/2003/10/Serialization/}guid" minOccurs="0"/>
         <element name="LogicalName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="RelatedEntities" type="{http://schemas.microsoft.com/xrm/2011/Contracts}RelatedEntityCollection" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

Summary

Constants
long serialVersionUID
Fields
protected AttributeCollection attributes
protected EntityState entityState
protected FormattedValueCollection formattedValues
protected Guid id
protected String logicalName
protected RelatedEntityCollection relatedEntities
Public Constructors
Entity()
Public Methods
AttributeCollection getAttributes()
Gets the value of the attributes property.
EntityState getEntityState()
Gets the value of the entityState property.
FormattedValueCollection getFormattedValues()
Gets the value of the formattedValues property.
Guid getId()
Gets the value of the id property.
String getLogicalName()
Gets the value of the logicalName property.
RelatedEntityCollection getRelatedEntities()
Gets the value of the relatedEntities property.
void setAttributes(AttributeCollection value)
Sets the value of the attributes property.
void setEntityState(EntityState value)
Sets the value of the entityState property.
void setFormattedValues(FormattedValueCollection value)
Sets the value of the formattedValues property.
void setId(Guid value)
Sets the value of the id property.
void setLogicalName(String value)
Sets the value of the logicalName property.
void setRelatedEntities(RelatedEntityCollection value)
Sets the value of the relatedEntities property.
[Expand]
Inherited Methods
From class java.lang.Object

Constants

private static final long serialVersionUID

Constant Value: 1 (0x0000000000000001)

Fields

protected AttributeCollection attributes

protected EntityState entityState

protected FormattedValueCollection formattedValues

protected Guid id

protected String logicalName

protected RelatedEntityCollection relatedEntities

Public Constructors

public Entity ()

Public Methods

public AttributeCollection getAttributes ()

Gets the value of the attributes property.

Returns

public EntityState getEntityState ()

Gets the value of the entityState property.

Returns

public FormattedValueCollection getFormattedValues ()

Gets the value of the formattedValues property.

Returns

public Guid getId ()

Gets the value of the id property.

Returns
  • possible object is Guid

public String getLogicalName ()

Gets the value of the logicalName property.

Returns
  • possible object is String

public RelatedEntityCollection getRelatedEntities ()

Gets the value of the relatedEntities property.

Returns

public void setAttributes (AttributeCollection value)

Sets the value of the attributes property.

Parameters
value Allowed object is AttributeCollection

public void setEntityState (EntityState value)

Sets the value of the entityState property.

Parameters
value Allowed object is EntityState

public void setFormattedValues (FormattedValueCollection value)

Sets the value of the formattedValues property.

Parameters
value Allowed object is FormattedValueCollection

public void setId (Guid value)

Sets the value of the id property.

Parameters
value Allowed object is Guid

public void setLogicalName (String value)

Sets the value of the logicalName property.

Parameters
value Allowed object is String

public void setRelatedEntities (RelatedEntityCollection value)

Sets the value of the relatedEntities property.

Parameters
value Allowed object is RelatedEntityCollection