Package microsoft.dynamics.crm.entity
Class Attribute
- java.lang.Object
-
- microsoft.dynamics.crm.entity.Crmbaseentity
-
- microsoft.dynamics.crm.entity.Attribute
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class Attribute extends Crmbaseentity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAttribute.Builder
-
Field Summary
Fields Modifier and Type Field Description protected UUIDattributeidprotected Integercomponentstateprotected Stringexternalnameprotected Stringlogicalnameprotected Stringmanagedpropertylogicalnameprotected Stringmanagedpropertyparentattributenameprotected Stringnameprotected OffsetDateTimeoverwritetimeprotected Stringphysicalnameprotected UUIDsolutionidprotected Stringtablecolumnname-
Fields inherited from class microsoft.dynamics.crm.entity.Crmbaseentity
changedFields, contextPath, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAttribute()
-
Method Summary
-
-
-
Field Detail
-
componentstate
protected Integer componentstate
-
overwritetime
protected OffsetDateTime overwritetime
-
externalname
protected String externalname
-
logicalname
protected String logicalname
-
managedpropertyparentattributename
protected String managedpropertyparentattributename
-
name
protected String name
-
managedpropertylogicalname
protected String managedpropertylogicalname
-
attributeid
protected UUID attributeid
-
physicalname
protected String physicalname
-
solutionid
protected UUID solutionid
-
tablecolumnname
protected String tablecolumnname
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classCrmbaseentity
-
builderAttribute
public static Attribute.Builder builderAttribute()
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
-
getOverwritetime
public Optional<OffsetDateTime> getOverwritetime()
-
withOverwritetime
public Attribute withOverwritetime(OffsetDateTime overwritetime)
-
getManagedpropertyparentattributename
public Optional<String> getManagedpropertyparentattributename()
-
withManagedpropertyparentattributename
public Attribute withManagedpropertyparentattributename(String managedpropertyparentattributename)
-
withManagedpropertylogicalname
public Attribute withManagedpropertylogicalname(String managedpropertylogicalname)
-
withUnmappedField
public Attribute withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classCrmbaseentity
-
getAttribute_solutioncomponentattrconfig
public SolutioncomponentattributeconfigurationCollectionRequest getAttribute_solutioncomponentattrconfig()
-
getReferencingdattribute_relationshipattribute
public RelationshipattributeCollectionRequest getReferencingdattribute_relationshipattribute()
-
getReferencedattribute_relationshipattribute
public RelationshipattributeCollectionRequest getReferencedattribute_relationshipattribute()
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classCrmbaseentity
-
patch
public Attribute 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 Attribute 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
-
-