Package microsoft.dynamics.crm.entity
Class Entity
- java.lang.Object
-
- microsoft.dynamics.crm.entity.Crmbaseentity
-
- microsoft.dynamics.crm.entity.Entity
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class Entity extends Crmbaseentity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEntity.Builder
-
Field Summary
Fields Modifier and Type Field Description protected Stringaddresstablenameprotected Stringbasetablenameprotected Stringcollectionnameprotected Integercomponentstateprotected Stringentityidprotected Stringentitysetnameprotected Stringextensiontablenameprotected Stringexternalcollectionnameprotected Stringexternalnameprotected Stringlogicalcollectionnameprotected Stringlogicalnameprotected Stringnameprotected Stringoriginallocalizedcollectionnameprotected Stringoriginallocalizednameprotected OffsetDateTimeoverwritetimeprotected Stringparentcontrollingattributenameprotected Stringphysicalnameprotected Stringreportviewnameprotected Stringsolutionid-
Fields inherited from class microsoft.dynamics.crm.entity.Crmbaseentity
changedFields, contextPath, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedEntity()
-
Method Summary
-
-
-
Field Detail
-
logicalcollectionname
protected String logicalcollectionname
-
parentcontrollingattributename
protected String parentcontrollingattributename
-
externalcollectionname
protected String externalcollectionname
-
extensiontablename
protected String extensiontablename
-
basetablename
protected String basetablename
-
overwritetime
protected OffsetDateTime overwritetime
-
entityid
protected String entityid
-
physicalname
protected String physicalname
-
entitysetname
protected String entitysetname
-
originallocalizedcollectionname
protected String originallocalizedcollectionname
-
collectionname
protected String collectionname
-
externalname
protected String externalname
-
reportviewname
protected String reportviewname
-
addresstablename
protected String addresstablename
-
solutionid
protected String solutionid
-
componentstate
protected Integer componentstate
-
name
protected String name
-
logicalname
protected String logicalname
-
originallocalizedname
protected String originallocalizedname
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classCrmbaseentity
-
builderEntity
public static Entity.Builder builderEntity()
Returns a builder which is used to create a new instance of this class (given that this class is immutable).- Returns:
- a new Builder for this class
-
getChangedFields
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
- Specified by:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classCrmbaseentity
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classCrmbaseentity
-
withParentcontrollingattributename
public Entity withParentcontrollingattributename(String parentcontrollingattributename)
-
getOverwritetime
public Optional<OffsetDateTime> getOverwritetime()
-
withOverwritetime
public Entity withOverwritetime(OffsetDateTime overwritetime)
-
withOriginallocalizedcollectionname
public Entity withOriginallocalizedcollectionname(String originallocalizedcollectionname)
-
withUnmappedField
public Entity withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classCrmbaseentity
-
getEntity_solutioncomponentconfiguration
public SolutioncomponentconfigurationCollectionRequest getEntity_solutioncomponentconfiguration()
-
getEntity_entityanalyticsconfig
public EntityanalyticsconfigCollectionRequest getEntity_entityanalyticsconfig()
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classCrmbaseentity
-
patch
public Entity patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.- Overrides:
patchin classCrmbaseentity- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
put
public Entity put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).- Overrides:
putin classCrmbaseentity- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
toString
public String toString()
- Overrides:
toStringin classCrmbaseentity
-
-